Documentation
¶
Index ¶
- func GetInterfaceIP(name string, ipv4 bool) (string, error)
- func GetInterfaceIPs(name string) (ipv4s []string, ipv6s []string, err error)
- func GetInterfaceMAC(name string) (string, error)
- func TagsMatch(a, b []string) bool
- func UnwrapString(str *string) string
- func UnwrapUint32(n *uint32) uint32
- func WithTimeout(ctx context.Context, timeout time.Duration, do func(context.Context) error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInterfaceIPs ¶
func GetInterfaceMAC ¶ added in v0.0.10
func UnwrapString ¶ added in v0.0.10
func UnwrapUint32 ¶ added in v0.0.10
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.