Documentation ¶
Index ¶
- Variables
- func GetBroker(ctx context.Context) (*config.Broker, error)
- func GetBrokerKey(ctx context.Context) (string, error)
- func GetTarget(ctx context.Context) (*config.Target, error)
- func WithBroker(ctx context.Context, b *config.Broker) context.Context
- func WithBrokerKey(ctx context.Context, key string) context.Context
- func WithTarget(ctx context.Context, t *config.Target) context.Context
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GetBrokerKey ¶
GetBrokerKey gets the broker key from the context.
func WithBroker ¶
WithBroker sets a broker in the context.
func WithBrokerKey ¶
WithBrokerKey sets a broker key in the context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.