ip

package
v0.41.8 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLocalAddr added in v0.9.1

func GetLocalAddr() ([]string, error)

GetLocalAddr 获取本地地址,只限 ipv4

func ToString

func ToString(n uint32) string

ToString 将 整型 转为 ipv4(长度 11)

func ToUint32

func ToUint32(s string) uint32

ToUint32 将 IP 转为 整型

Types

This section is empty.

Jump to

Keyboard shortcuts

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