Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithValue ¶
WithValue add the given key-value pair into the existed value context, or create a new value context contains the pair. This Function should not be used along the official context.WithValue !! The following context topology will leads to existed pair {'foo':'bar'} NOT FOUND, cause recursive lookup for key-type=ContextKey is not supported by mosn.valueCtx.
topology: context.Background -> mosn.valueCtx{'foo':'bar'} -> context.valueCtx -> mosn.valueCtx{'hmm':'haa'}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.