Documentation ¶
Index ¶
- Constants
- Variables
- func Daemonize(args ...string) (pid int, err error)
- func GetPublicIP() (net.IP, error)
- func GetResolveIP() (net.IP, error)
- func GetResolveIPV2() (net.IP, error)
- func IPEqualSelf(ip string) string
- func Info() string
- func IsPublicIP(IP net.IP) bool
- func PublicIPValid() bool
- func Quit()
- func Run()
- func SelfPubIP() string
- type Chan
- type Event
- type IPType
Constants ¶
Variables ¶
View Source
var ( ResolveIp = net.IP{} PublicIp = net.IP{} )
Functions ¶
func GetPublicIP ¶ added in v0.5.39
func GetResolveIP ¶ added in v0.5.39
func GetResolveIPV2 ¶ added in v0.5.39
func IPEqualSelf ¶
func IsPublicIP ¶
func PublicIPValid ¶ added in v0.7.0
func PublicIPValid() bool
Types ¶
type Event ¶
type Event struct {
// contains filtered or unexported fields
}
Event represents a one-time event that may occur in the future.
func (*Event) Done ¶
func (e *Event) Done() <-chan struct{}
Done returns a channel that will be closed when Fire is called.
Click to show internal directories.
Click to hide internal directories.