query

package
v0.0.0-...-a839d2f Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

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