Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DnsStore ¶
type DnsStore struct {
// contains filtered or unexported fields
}
func (*DnsStore) DeleteRecord ¶
func (*DnsStore) StoreRecord ¶
type MockDnsStore ¶
type MockDnsStore struct { StopFunc func() SetProxyFunc func(proxy string) StoreRecordFunc func(hostname, ip string) DeleteRecordFunc func(hostname string, ip string) }
func (MockDnsStore) DeleteRecord ¶
func (s MockDnsStore) DeleteRecord(hostname string, ip string)
func (MockDnsStore) SetProxy ¶
func (s MockDnsStore) SetProxy(proxy string)
func (MockDnsStore) Stop ¶
func (s MockDnsStore) Stop()
func (MockDnsStore) StoreRecord ¶
func (s MockDnsStore) StoreRecord(hostname, ip string)
Click to show internal directories.
Click to hide internal directories.