fltr

package
v0.0.0-...-0811b64 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2015 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FilterTag       = "fltr"
	ModifierDivider = "_"
)

Functions

func FromRequest

func FromRequest(req *restful.Request, raw interface{}) (bson.M, error)

func GetParams

func GetParams(ws *restful.WebService, raw interface{}) []*restful.Parameter

func GetQuery

func GetQuery(raw interface{}) bson.M

Types

type Converter

type Converter interface {
	Convert(string) (interface{}, error)
}

type EnumConverter

type EnumConverter interface {
	Enumer
	Converter
}

type Enumer

type Enumer interface {
	Enum() []interface{}
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL