Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultNamespace used by the server DefaultNamespace = "micro" // NamespaceKey is used to set/get the namespace from the context NamespaceKey = "Micro-Namespace" )
Variables ¶
This section is empty.
Functions ¶
func ContextWithNamespace ¶
ContextWithNamespace sets the namespace in the context
func FromContext ¶
FromContext gets the namespace from the context
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.