Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateJSONQueryHandler ¶
func CreateJSONQueryHandler( cmd cmds.Command, options ...QueryHandlerOption, ) gin.HandlerFunc
Types ¶
type QueryHandler ¶
type QueryHandler struct {
// contains filtered or unexported fields
}
func NewQueryHandler ¶
func NewQueryHandler(cmd cmds.Command, options ...QueryHandlerOption) *QueryHandler
type QueryHandlerOption ¶
type QueryHandlerOption func(*QueryHandler)
func WithMiddlewares ¶ added in v0.5.0
func WithMiddlewares(middlewares ...middlewares.Middleware) QueryHandlerOption
Click to show internal directories.
Click to hide internal directories.