influxdb/mock/paging.go

14 lines
224 B
Go
Raw Normal View History

2018-12-09 14:49:10 +00:00
package mock
type PagingFilter struct {
Name string
Type []string
}
func (f PagingFilter) QueryParams() map[string][]string {
qp := map[string][]string{}
qp["name"] = []string{f.Name}
qp["type"] = f.Type
return qp
}