Documentation
¶
Index ¶
- type CoderSort
- type Container
- func (c *Container) FirstHandler(sort CoderSort) (handler Handler, meta Meta, ctx *Context, err error)
- func (c *Container) Get(name string) (handler Handler, meta Meta, ctx *Context, err error)
- func (c Container) HasNext(meta Meta, sort CoderSort) bool
- func (c *Container) Next(currentMeta Meta, sort CoderSort) (handler Handler, meta Meta, ctx *Context, err error)
- func (c *Container) Register(handler Handler, meta ...Meta) (err error)
- func (c *Container) RegisterHandlers(handlers ...Handler) (err error)
- type Context
- type Handler
- type Meta
- type RxContainer
- type TxContainer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct {
// contains filtered or unexported fields
}
func NewContainer ¶
func NewContainer() (container *Container)
func (*Container) FirstHandler ¶
func (*Container) RegisterHandlers ¶
Click to show internal directories.
Click to hide internal directories.