Documentation ¶
Overview ¶
Package events contains the internal events APi for the Console.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Component ¶
type Component interface { task.Starter Context() context.Context RateLimiter() ratelimit.Interface GetBaseConfig(context.Context) config.ServiceBase }
Component is the interface of the component to the events API handler.
type Option ¶
type Option func(*eventsHandler)
Option configures the events API handler.
func WithSubscriber ¶
func WithSubscriber(subscriber events.Subscriber) Option
WithSubscriber configures the Subscriber to use for events.
Directories ¶
Path | Synopsis |
---|---|
Package eventsmux implements the events mux.
|
Package eventsmux implements the events mux. |
Package middleware implements the events middleware.
|
Package middleware implements the events middleware. |
Package protocol implements the protocol for the events package.
|
Package protocol implements the protocol for the events package. |
Package subscriptions implements the events mux subscriptions.
|
Package subscriptions implements the events mux subscriptions. |
Click to show internal directories.
Click to hide internal directories.