Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resolver ¶
type Resolver struct { // Type of resolver e.g path, domain Type string // a function which returns the namespace of the request Namespace func(req *http.Request) string // selector to find services Selector selector.Selector }
func (*Resolver) Info ¶
Info checks whether this is a web request. It returns host, namespace and whether its internal
Click to show internal directories.
Click to hide internal directories.