Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CurrentEndpointData ¶
type CurrentEndpointData struct {
Forward []byte
}
type HTTPProvider ¶
type HTTPProvider struct {
Config HTTPProviderConfig
Logger *zap.Logger
ForwardLookupFilter configtypes.EndpointFilterFunc
Mutex sync.RWMutex
CurrentEndpointData CurrentEndpointData
}
func NewHTTPProvider ¶
func NewHTTPProvider( providerConfig HTTPProviderConfig, forwardLookupFilter configtypes.EndpointFilterFunc, ) (*HTTPProvider, error)
func (*HTTPProvider) MakeHandleFunc ¶
func (p *HTTPProvider) MakeHandleFunc(getter func(*HTTPProvider) []byte) func(http.ResponseWriter, *http.Request)
func (*HTTPProvider) UpdateEndpoints ¶
type HTTPProviderConfig ¶
type HTTPProviderConfig struct{}
Click to show internal directories.
Click to hide internal directories.