Documentation ¶
Index ¶
- func CopyBuf(buf []byte) []byte
- func CopyIO(dst io.WriteCloser, src io.ReadCloser)
- func DecodeBase64(str string) (string, error)
- func EncodeBase64(str string) string
- func GetCurrentPath() string
- func IsDomain(host string) bool
- func IsIPv4(ip net.IP) bool
- func IsIPv6(ip net.IP) bool
- func IsValidHost(str string) bool
- func Lookup(host string, ipv6 bool) (net.IP, error)
- func RandomUint32() uint32
- func RandomUint32String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyIO ¶
func CopyIO(dst io.WriteCloser, src io.ReadCloser)
func GetCurrentPath ¶
func GetCurrentPath() string
GetCurrentPath return the path of the executable file.
func RandomUint32 ¶
func RandomUint32() uint32
func RandomUint32String ¶
func RandomUint32String() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.