Documentation ¶
Overview ¶
Package context provides a context for accessing services
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultContext is a context which can be used to access micro services DefaultContext = WithNamespace("micro") )
Functions ¶
func GetMetadata ¶
GetMetadata returns metadata from the context
func SetMetadata ¶
SetMetadata sets the metadata within the context
func SetNamespace ¶
SetNamespace sets the namespace for a context
func WithNamespace ¶
WithNamespace creates a new context with the given namespace
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.