Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var None = &noneHandler{}
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler interface { v1.HealthChecker Handle(*v1.RequestContext, v1.Message) (*v1.RawMessage, HandlerError) }
Handler handles queue messages.
func NewHttpHandler ¶
func NewHttpHandler(options *HttpHandlerOptions) Handler
type HandlerError ¶
type HandlerError interface { error Code() HandlerErrorCode }
func BadRequestError ¶
func BadRequestError(err error) HandlerError
func ServerError ¶
func ServerError(err error) HandlerError
type HandlerErrorCode ¶
type HandlerErrorCode int
Click to show internal directories.
Click to hide internal directories.