Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsElevated ¶
Types ¶
type HostsSection ¶ added in v0.15.0
type HostsSection struct {
// contains filtered or unexported fields
}
func NewHostsSection ¶ added in v0.15.0
func NewHostsSection(name string) (*HostsSection, error)
func (*HostsSection) Add ¶ added in v0.15.0
func (s *HostsSection) Add(address string, hosts ...string)
func (*HostsSection) Clear ¶ added in v0.15.0
func (s *HostsSection) Clear()
func (*HostsSection) Flush ¶ added in v0.15.0
func (s *HostsSection) Flush() error
func (*HostsSection) Remove ¶ added in v0.15.0
func (s *HostsSection) Remove(address string)
Click to show internal directories.
Click to hide internal directories.