Documentation ¶
Overview ¶
Package resolver resolves a http request to an endpoint
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶
type Endpoint struct { // e.g greeter Name string // HTTP Host e.g example.com Host string // HTTP Methods e.g GET, POST Method string // HTTP Path e.g /greeter. Path string }
Endpoint is the endpoint for a http request
type Option ¶
type Option func(o *Options)
func WithNamespace ¶
WithNamespace sets the namespace being used
type Options ¶
func NewOptions ¶
NewOptions returns new initialised options
Click to show internal directories.
Click to hide internal directories.