Documentation ¶
Index ¶
- func AddHandler(handler HandlerFunc)
- func AddListener(handler HandlerFunc)
- func Dispatch(ctx context.Context, msgs ...Msg) error
- func MustDispatch(ctx context.Context, msgs ...Msg)
- func Publish(ctx context.Context, msgs ...Msg)
- func Register(svc Service)
- func Reset()
- type HandlerFunc
- type Msg
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddHandler ¶
func AddHandler(handler HandlerFunc)
func AddListener ¶
func AddListener(handler HandlerFunc)
func MustDispatch ¶
Types ¶
type HandlerFunc ¶
type HandlerFunc interface{}
Click to show internal directories.
Click to hide internal directories.