Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func NewEtcdClient ¶
type EtcdClient ¶
func (EtcdClient) WatchForChanges ¶
func (c EtcdClient) WatchForChanges()
type EtcdResponse ¶
func (EtcdResponse) Value ¶
func (r EtcdResponse) Value() string
type ForwardingDNSClient ¶
type ForwardingDNSClient struct {
Address string
}
func (ForwardingDNSClient) GetAddress ¶
func (c ForwardingDNSClient) GetAddress() string
type HelixServer ¶
func ForwardingServer ¶
func ForwardingServer(port int, etcdurl, dnsServerUrl string) *HelixServer
func Server ¶
func Server(port int, etcdurl string) *HelixServer
func (HelixServer) Handler ¶
func (s HelixServer) Handler(w dns.ResponseWriter, req *dns.Msg)
func (HelixServer) Start ¶
func (s HelixServer) Start()
Click to show internal directories.
Click to hide internal directories.