nacos

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLocalIP

func GetLocalIP() string

GetLocalIP get local ip

func GetOneInstance

func GetOneInstance(urls string, nameSpace string, param vo.SelectOneHealthInstanceParam) (instance *model.Instance, err error)

func ResolveIPAndPort

func ResolveIPAndPort(addr string) (string, int, error)

func StartNacosClient

func StartNacosClient(logger log.Logger, urls string, namespace string, name string, externalAddr string)

StartNacosClient start nacos client and register rest service in nacos

Types

This section is empty.

Jump to

Keyboard shortcuts

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