linux

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2020 License: Apache-2.0 Imports: 2 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDefaultIP

func GetDefaultIP() (ip string, err error)

GetDefaultIP get a default non local ip, err is not nil, ip return 127.0.0.1

func IsValidHost

func IsValidHost(host string) bool

IsValidHost judge the host is a valid host or not.

Types

This section is empty.

Jump to

Keyboard shortcuts

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