Versions in this module Expand all Collapse all v0 v0.1.0 Jan 22, 2024 Changes in this version + type Hosts struct + func New() Hosts + func (h *Hosts) Add(ip netip.Addr, alias ...string) + func (h *Hosts) DelByAlias(alias string) + func (h *Hosts) DelByIP(ip netip.Addr) + func (h *Hosts) GetAlias(ip netip.Addr) []string + func (h *Hosts) GetIP(alias string) []netip.Addr + func (h *Hosts) Len() int + func (h *Hosts) Read(reader io.Reader) error + func (h *Hosts) String() string + func (h *Hosts) Write(writer io.Writer) error