Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Location ¶
type Location struct { ID string Host string Path string URLPath string Methods []string Upstream string Options LocationOptions Middlewares []middleware.Middleware }
func NewLocation ¶
func NewLocation(host string, methods []string, path, upstream string, middlewares []middleware.Middleware) *Location
type LocationOptions ¶
type LocationOptions struct {
FailoverPredicate string `json:"FailoverPredicate"`
}
func (LocationOptions) String ¶
func (o LocationOptions) String() string
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
func (*Registry) RegisterBackend ¶
func (*Registry) RegisterEndpoint ¶
func (*Registry) RegisterFrontend ¶
func (*Registry) RegisterLocation ¶
RegisterLocation registers a provided location in vulcan.
func (*Registry) RegisterServer ¶
Click to show internal directories.
Click to hide internal directories.