Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrTargetKeyNotPresent = errors.New("target key not present in the context") ErrBrokerKeyNotPresent = errors.New("broker key not present in the context") )
Functions ¶
func GetBrokerKey ¶
GetBrokerKey gets the broker key from the context.
func GetTargetKey ¶ added in v0.15.0
GetTargetKey gets a target key from 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.