go-micro: github.com/micro/go-micro/util/addr Index | Files

package addr

import "github.com/micro/go-micro/util/addr"

Index

Package Files

addr.go

func Extract Uses

func Extract(addr string) (string, error)

Extract returns a real ip

func IPs Uses

func IPs() []string

IPs returns all known ips

func IsLocal Uses

func IsLocal(addr string) bool

IsLocal tells us whether an ip is local

Package addr imports 2 packages (graph) and is imported by 45 packages. Updated 2020-01-30. Refresh now. Tools for package owners.