Documentation ¶ Index ¶ type Metadata func NewMetadata(host string, lifetime time.Duration) (*Metadata, error) func (m *Metadata) Get(ip string) (string, error) func (m *Metadata) Set(ip, value string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Metadata ¶ type Metadata struct { // contains filtered or unexported fields } func NewMetadata ¶ func NewMetadata(host string, lifetime time.Duration) (*Metadata, error) func (*Metadata) Get ¶ func (m *Metadata) Get(ip string) (string, error) func (*Metadata) Set ¶ func (m *Metadata) Set(ip, value string) error Source Files ¶ View all Source files metadata.go Click to show internal directories. Click to hide internal directories.