Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InputMessage ¶
func (InputMessage) Ack ¶
func (msg InputMessage) Ack(ctx context.Context)
type OutputMessage ¶
type RetryMiddle ¶
func (RetryMiddle) Warp ¶
func (middle RetryMiddle) Warp(handler Handler) Handler
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
func NewRouter ¶
func NewRouter(option RouterOption, subs ...Subscriber) (*Router, error)
type RouterOption ¶
type RouterOption struct {
Middles []Middle
}
type Subscriber ¶
type TimeOutMiddle ¶
func (TimeOutMiddle) Warp ¶
func (middle TimeOutMiddle) Warp(handler Handler) Handler
Click to show internal directories.
Click to hide internal directories.