addr

package
v0.0.0-...-d9e9b57 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddrManager

type AddrManager struct {
	// contains filtered or unexported fields
}

func NewAddrManager

func NewAddrManager() *AddrManager

func (*AddrManager) AddAddress

func (m *AddrManager) AddAddress(addr string)

AddAddress add addr into manager if exists, convert it

func (*AddrManager) GetAddresses

func (addr *AddrManager) GetAddresses() []string

GetAddresses get all address in manager

func (*AddrManager) HasAddress

func (m *AddrManager) HasAddress(addr string) bool

HasAddress check is exists address

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL