Documentation ¶
Index ¶
- type Behaviour
- type Builder
- type Mediator
- type Message
- type Next
- type Pipeline
- type PipelineBehaviour
- type PipelineContext
- func (p *PipelineContext) Build() (*Mediator, error)
- func (p *PipelineContext) RegisterHandler(req Message, h RequestHandler) Builder
- func (p *PipelineContext) Use(call func(context.Context, Message, Next) (interface{}, error)) Builder
- func (p *PipelineContext) UseBehaviour(behaviour PipelineBehaviour) Builder
- type RequestHandler
- type Sender
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PipelineBehaviour ¶
type PipelineContext ¶
type PipelineContext struct {
// contains filtered or unexported fields
}
func NewContext ¶
func NewContext() *PipelineContext
func (*PipelineContext) Build ¶
func (p *PipelineContext) Build() (*Mediator, error)
func (*PipelineContext) RegisterHandler ¶
func (p *PipelineContext) RegisterHandler(req Message, h RequestHandler) Builder
func (*PipelineContext) UseBehaviour ¶
func (p *PipelineContext) UseBehaviour(behaviour PipelineBehaviour) Builder
type RequestHandler ¶
Click to show internal directories.
Click to hide internal directories.