consul

package
v0.0.0-...-4699a84 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindServiceList

func FindServiceList(searchConditionValue string) (map[string]*api.AgentService, error)

func GetClient

func GetClient() *api.Client

func Init

func Init(app *iris.Application)

func Register

func Register() string

func ServiceDeregister

func ServiceDeregister(serviceId string) error

Types

type Controller

type Controller struct {
	Ctx iris.Context
}

func NewController

func NewController() *Controller

func (*Controller) GetSerHealth

func (c *Controller) GetSerHealth() rest.Result

GetSerHealth * 服务健康检查

Jump to

Keyboard shortcuts

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