Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultNamespace = "go.vine" // NamespaceKey is used to set/get the namespace from the context NamespaceKey = "Vine-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 ¶
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver determines the namespace for a request
func NewResolver ¶
Click to show internal directories.
Click to hide internal directories.