Documentation ¶
Index ¶
- type AddressTable
- func (at *AddressTable) Add(hostnames []string, ip string)
- func (at *AddressTable) GetAllAddresses() map[string][]string
- func (at *AddressTable) IsWarm() bool
- func (at *AddressTable) Lookup(hostname string) []string
- func (at *AddressTable) PausePruning()
- func (at *AddressTable) Remove(hostnames []string, ip string)
- func (at *AddressTable) ResumePruning()
- func (at *AddressTable) SetWarm()
- func (at *AddressTable) Shutdown()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressTable ¶
type AddressTable struct {
// contains filtered or unexported fields
}
func NewAddressTable ¶
func (*AddressTable) Add ¶
func (at *AddressTable) Add(hostnames []string, ip string)
func (*AddressTable) GetAllAddresses ¶
func (at *AddressTable) GetAllAddresses() map[string][]string
func (*AddressTable) IsWarm ¶
func (at *AddressTable) IsWarm() bool
func (*AddressTable) Lookup ¶
func (at *AddressTable) Lookup(hostname string) []string
func (*AddressTable) PausePruning ¶
func (at *AddressTable) PausePruning()
func (*AddressTable) Remove ¶
func (at *AddressTable) Remove(hostnames []string, ip string)
func (*AddressTable) ResumePruning ¶
func (at *AddressTable) ResumePruning()
func (*AddressTable) SetWarm ¶
func (at *AddressTable) SetWarm()
func (*AddressTable) Shutdown ¶
func (at *AddressTable) Shutdown()
Click to show internal directories.
Click to hide internal directories.