Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DNSRegServer ¶
type DNSRegServer struct {
// contains filtered or unexported fields
}
DNSRegServer provides an interface to forward DNS registration requests. Use a dns responder to receive requests and send responses.
func NewDNSRegServer ¶
func NewDNSRegServer(domain string, udpAddr string, privkey []byte, regprocessor *regprocessor.RegProcessor, latestClientConfGeneration uint32, logger log.FieldLogger, metrics *metrics.Metrics) (*DNSRegServer, error)
NewDNSRegServer creates a new DNSRegServer object.
func (*DNSRegServer) Close ¶
func (f *DNSRegServer) Close() error
Close closes the underlying dns responder.
func (*DNSRegServer) ListenAndServe ¶
func (s *DNSRegServer) ListenAndServe() error
func (*DNSRegServer) UpdateLatestCCGen ¶
func (f *DNSRegServer) UpdateLatestCCGen(gen uint32)
Close closes the underlying dns responder.
Click to show internal directories.
Click to hide internal directories.