Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DNSExchanger ¶
type DNSExchanger struct {
// contains filtered or unexported fields
}
func NewDNSExchanger ¶
func NewDNSExchanger(addresses []string, opts *DNSExchangerOptions) (*DNSExchanger, error)
type DNSExchangerOptions ¶
type DNSExchangerOptions struct{}
type DNSHandler ¶
type DNSHandler struct {
// contains filtered or unexported fields
}
func NewDNSHandler ¶
func NewDNSHandler(ex Exchanger, opts *DNSHandlerOptions) (*DNSHandler, error)
func (*DNSHandler) Handle ¶
func (h *DNSHandler) Handle(w dns.ResponseWriter, r *dns.Msg)
type DNSHandlerOptions ¶
type DNSHandlerOptions struct{}
type HTTPExchanger ¶
type HTTPExchanger struct {
// contains filtered or unexported fields
}
func NewHTTPExchanger ¶
func NewHTTPExchanger(url string, opts *HTTPExchangerOptions) (*HTTPExchanger, error)
type HTTPExchangerOptions ¶
type HTTPExchangerOptions struct{}
type HTTPHandler ¶
type HTTPHandler struct {
// contains filtered or unexported fields
}
func NewHTTPHandler ¶
func NewHTTPHandler(ex Exchanger, opts *HTTPHandlerOptions) (*HTTPHandler, error)
func (*HTTPHandler) ServeHTTP ¶
func (h *HTTPHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type HTTPHandlerOptions ¶
type HTTPHandlerOptions struct{}
Click to show internal directories.
Click to hide internal directories.