Documentation ¶
Index ¶
- func AddToPropagateCtx(ctx context.Context, key string, val interface{}) context.Context
- func Decode(m []byte) (context.Context, error)
- func Encode(ctx context.Context) ([]byte, error)
- func FromMap(val map[string]interface{}) context.Context
- func GetFromPropagateCtx(ctx context.Context, key string) interface{}
- func ToMap(ctx context.Context) map[string]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddToPropagateCtx ¶
AddToPropagateCtx adds a key and value that will be propagated through RPC calls
func GetFromPropagateCtx ¶
GetFromPropagateCtx get a value from the propagate
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.