Documentation ¶
Index ¶
- Constants
- type Store
- func (s *Store) Close()
- func (s *Store) Delete(ip string) error
- func (s *Store) Exists(ip string) bool
- func (s *Store) GetHostnames(ip string) string
- func (s *Store) Iterate(f func(ip string, hostnames []string, counter int))
- func (s *Store) New(ip, hostname string) error
- func (s *Store) Update(ip, hostname string) error
Constants ¶
View Source
const Megabyte = 1 << 20
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
Store is a storage for ip based wildcard removal
func (*Store) GetHostnames ¶
Get gets the meta-information for an IP address from the map.
Click to show internal directories.
Click to hide internal directories.