addr

package
v0.0.0-...-26b160e Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

@Time : 2019/5/13 11:00 @Author : kenny zhu @File : addr.go @Software: GoLand @Others:

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Extract

func Extract(addr string) (string, error)

Extract returns a real ip private ip first, and then public ip, all must be ipv4

func IPs

func IPs() []string

IPs returns all known ips

Types

This section is empty.

Jump to

Keyboard shortcuts

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