nacos

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeRegisterServiceInstance

func DeRegisterServiceInstance(param vo.DeregisterInstanceParam)

func GetAllService

func GetAllService(param vo.GetAllServiceInfoParam) model.ServiceList

func GetService

func GetService(param vo.GetServiceParam)

func RegisterServiceInstance

func RegisterServiceInstance(param vo.RegisterInstanceParam)

func SelectAllInstances

func SelectAllInstances(param vo.SelectAllInstancesParam)

func SelectInstances

func SelectInstances(param vo.SelectInstancesParam)

func SelectOneHealthyInstance

func SelectOneHealthyInstance(param vo.SelectOneHealthInstanceParam) *model.Instance

func Subscribe

func Subscribe(param *vo.SubscribeParam)

func UnSubscribe

func UnSubscribe(param *vo.SubscribeParam)

Types

type Nacos

type Nacos struct {
}

func CreateNacos

func CreateNacos(node, contextPath, nameSpaceID, appName string, Port, appPort uint64) *Nacos

CreateNacos 初始化nacos 并将应用注册到nacos

Jump to

Keyboard shortcuts

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