kratos: github.com/bilibili/kratos/pkg/net/ip Index | Files

package ip

import "github.com/bilibili/kratos/pkg/net/ip"

Index

Package Files

ip.go

func ExternalIP Uses

func ExternalIP() (res []string)

ExternalIP get external ip.

func InternalIP Uses

func InternalIP() string

InternalIP get internal ip.

Package ip imports 2 packages (graph) and is imported by 2 packages. Updated 2019-10-23. Refresh now. Tools for package owners.