package
Version:
v0.0.0-...-24cb8d0
Opens a new window with list of versions in this module.
Published: Jan 23, 2020
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func SwaggerJSONHandler(v string) (f func(ctx *routing.Context) error)
func WithJSON(ctx *routing.Context, code int, payload t.Payload)
func WithWrapErrJSON(ctx *routing.Context, code int, e Error, payload t.Payload)
Payload format: "where: from"
i.e. "request: json.Unmarshal"
Source Files
¶
Click to show internal directories.
Click to hide internal directories.