Back to godoc.org

Package ip

v0.3.3
Latest Go to latest

The latest major version is .

Published: Jan 20, 2020 | License: MIT | Module: github.com/bilibili/kratos

Index

func ExternalIP

func ExternalIP() (res []string)

ExternalIP get external ip.

func InternalIP

func InternalIP() string

InternalIP get internal ip.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier