Documentation
¶
Index ¶
- func Connect(env map[string]string, dconfPath string)
- func Disconnect(env map[string]string)
- func Down(env map[string]string)
- func ReservedIPv4(ip net.IP) bool
- func Up(env map[string]string)
- func Verify(env map[string]string, authPath string)
- type IP
- func (ip *IP) City() string
- func (ip *IP) Country() string
- func (ip *IP) ISP() string
- func (ip *IP) Province() string
- func (ip *IP) Same(cmp *IP) bool
- func (ip *IP) SameCity(cmp *IP) bool
- func (ip *IP) SameCountry(cmp *IP) bool
- func (ip *IP) SameISP(cmp *IP) bool
- func (ip *IP) SameProvince(cmp *IP) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Disconnect ¶
func ReservedIPv4 ¶
Types ¶
type IP ¶
type IP struct {
// contains filtered or unexported fields
}
func (*IP) SameCountry ¶
func (*IP) SameProvince ¶
Click to show internal directories.
Click to hide internal directories.