Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateJSONQueryHandler ¶
func CreateJSONQueryHandler( cmd cmds.Command, parserOptions ...parser.ParserOption, ) 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 WithQueryHandlerContextMiddlewares ¶
func WithQueryHandlerContextMiddlewares(middlewares ...glazed.ContextMiddleware) QueryHandlerOption
func WithQueryHandlerParserOptions ¶
func WithQueryHandlerParserOptions(options ...parser.ParserOption) QueryHandlerOption
WithQueryHandlerParserOptions sets the parser options for the QueryHandler
Click to show internal directories.
Click to hide internal directories.