Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RouteNotFoundError ¶
type RouteNotFoundError struct {
// contains filtered or unexported fields
}
RouteNotFoundError is an error that includes the type that did not match any route
func (RouteNotFoundError) Error ¶
func (e RouteNotFoundError) Error() string
type Type ¶
type Type map[string]sqsconsumer.MessageHandlerFunc
Type is a router from type value to a handler func
func (Type) Add ¶
func (t Type) Add(route string, h sqsconsumer.MessageHandlerFunc)
Add registers a handler func for a specific message type
Click to show internal directories.
Click to hide internal directories.