Documentation
¶
Index ¶
- func ClerkAuth(secret, token string) echo.MiddlewareFunc
- func New(log *zap.Logger) (*echo.Echo, error)
- func QueryDefaultInt(c echo.Context, name string, def int) (int, error)
- func QueryParamBool(c echo.Context, name string) bool
- func QueryParamBoolDefault(c echo.Context, name string, def string) bool
- func QueryParamFloatDefault(c echo.Context, name string, def string) float64
- func QueryParamInt(c echo.Context, name string) int
- func QueryParamIntDefault(c echo.Context, name string, def string) int
- func QueryParamString(c echo.Context, name string) string
- func QueryParamStringDefault(c echo.Context, name string, def string) string
- type H
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClerkAuth ¶
func ClerkAuth(secret, token string) echo.MiddlewareFunc
func QueryDefaultInt ¶
QueryDefaultInt retrieves an integer param from the gin request querystring defaults to def argument if not found
func QueryParamBool ¶
QueryBool retrieves a boolean param from the gin request querystring
func QueryParamBoolDefault ¶
func QueryParamFloatDefault ¶
func QueryParamInt ¶
QueryParamInt retrieves an integer param from the gin request querystring
func QueryParamString ¶
QueryParamString retrieves a string param from the gin request querystring
Types ¶
Click to show internal directories.
Click to hide internal directories.