Documentation
¶
Overview ¶
Package http implements the functions, types, and interfaces for the module.
Package http implements the functions, types, and interfaces for the module.
Index ¶
Constants ¶
View Source
const (
Scheme = "http"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶ added in v0.1.0
type Option struct {
Config *configv1.Service
ServiceName string
Discovery registry.Discovery
NodeFilters []selector.NodeFilter
Middlewares []middleware.Middleware
EndpointFunc func(scheme string, host string, addr string) (string, error)
}
type OptionSetting ¶ added in v0.1.0
type OptionSetting = func(o *Option)
func WithNodeFilter ¶ added in v0.1.0
func WithNodeFilter(filters ...selector.NodeFilter) OptionSetting
Click to show internal directories.
Click to hide internal directories.