hook

package
v0.0.0-...-8a25eb9 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2017 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(env map[string]string, dconfPath string)

func Disconnect

func Disconnect(env map[string]string)

func Down

func Down(env map[string]string)

func ReservedIPv4

func ReservedIPv4(ip net.IP) bool

func Up

func Up(env map[string]string)

func Verify

func Verify(env map[string]string, authPath string)

Types

type IP

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

func NewIP

func NewIP(ip net.IP) (*IP, error)

func (*IP) City

func (ip *IP) City() string

func (*IP) Country

func (ip *IP) Country() string

func (*IP) ISP

func (ip *IP) ISP() string

func (*IP) Province

func (ip *IP) Province() string

func (*IP) Same

func (ip *IP) Same(cmp *IP) bool

func (*IP) SameCity

func (ip *IP) SameCity(cmp *IP) bool

func (*IP) SameCountry

func (ip *IP) SameCountry(cmp *IP) bool

func (*IP) SameISP

func (ip *IP) SameISP(cmp *IP) bool

func (*IP) SameProvince

func (ip *IP) SameProvince(cmp *IP) bool

Jump to

Keyboard shortcuts

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