Documentation ¶
Index ¶
- func Bool(key string, opts ...request.Option) func(middlewares *middlewares.Middlewares)
- func Float(key string, opts ...request.Option) func(middlewares *middlewares.Middlewares)
- func Integer(key string, opts ...request.Option) func(middlewares *middlewares.Middlewares)
- func String(key string, opts ...request.Option) func(middlewares *middlewares.Middlewares)
- func Time(key, layout string, opts ...request.Option) func(middlewares *middlewares.Middlewares)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bool ¶
func Bool(key string, opts ...request.Option) func(middlewares *middlewares.Middlewares)
Bool - mandatory boolean Parameter from request by 'key'.
Result can be retrieved from context using 'context.QueryParams.Bool'.
func Float ¶
func Float(key string, opts ...request.Option) func(middlewares *middlewares.Middlewares)
Float - mandatory floating point number Parameter from request by 'key'.
Result can be retrieved from context using 'context.QueryParams.Float'.
func Integer ¶
func Integer(key string, opts ...request.Option) func(middlewares *middlewares.Middlewares)
Integer - queries mandatory integer Parameter from request by 'key'.
Result can be retrieved from context using 'context.QueryParams.Integer'.
func String ¶
func String(key string, opts ...request.Option) func(middlewares *middlewares.Middlewares)
String - mandatory string Parameter from request by 'key'.
Result can be retrieved from context using 'context.QueryParams.String'.
func Time ¶
func Time(key, layout string, opts ...request.Option) func(middlewares *middlewares.Middlewares)
Time - mandatory time Parameter from request by 'key' using 'layout'.
Result can be retrieved from context using 'context.QueryParams.Time'.
Types ¶
This section is empty.