Documentation
¶
Overview ¶
Package util provides common utility functions
Index ¶
- func Diff(a, b []string) []string
- func Execute(fn func())
- func GetDefault(key, fallback string) string
- func GetLeaseDuration(ttl interface{}, defaultTTL, maxTTL int) time.Duration
- func GetOutboundIP() net.IP
- func GetPublicIP() net.IP
- func IsIP(host string) bool
- func IsValidDomain(domain string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefault ¶
func GetLeaseDuration ¶
func GetOutboundIP ¶
func GetPublicIP ¶
func IsValidDomain ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.