Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateQueryHandler ¶
func CreateQueryHandler( cmd cmds.Command, middlewares_ ...middlewares.Middleware, ) echo.HandlerFunc
Types ¶
type QueryHandler ¶
type QueryHandler struct {
// contains filtered or unexported fields
}
func NewQueryHandler ¶
func NewQueryHandler(cmd cmds.Command, options ...QueryHandlerOption) *QueryHandler
func (*QueryHandler) Handle ¶
func (h *QueryHandler) Handle(c echo.Context) error
type QueryHandlerOption ¶
type QueryHandlerOption func(*QueryHandler)
func WithMiddlewares ¶ added in v0.5.0
func WithMiddlewares(middlewares ...middlewares.Middleware) QueryHandlerOption
type SSEWriter ¶
type SSEWriter struct {
// contains filtered or unexported fields
}
SSEWriter implements io.Writer to emit written bytes as SSE over HTTP.
func NewSSEWriter ¶
func NewSSEWriter() *SSEWriter
Click to show internal directories.
Click to hide internal directories.