handler

package
v0.0.0-...-c037550 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func EndpointStat

func EndpointStat(c *gin.Context)

func Evict

func Evict(c *gin.Context)

func Fetch

func Fetch(c *gin.Context)

func Ping

func Ping(c *gin.Context)

func Register

func Register(c *gin.Context)

func RegistryDetail

func RegistryDetail(c *gin.Context)

func RegistryList

func RegistryList(c *gin.Context)

func RegistrySummary

func RegistrySummary(c *gin.Context)

func Sync

func Sync(c *gin.Context)

Types

type EvictInfo

type EvictInfo struct {
	Name string `json:"name"`
	Ip   string `json:"ip"`
	Port int    `json:"port"`
}

type RegisterInfo

type RegisterInfo struct {
	Name   string                 `json:"name"`
	Ip     string                 `json:"ip"`
	Port   int                    `json:"port"`
	Weight int                    `json:"weight"`
	Extra  map[string]interface{} `json:"extra"`
}

Jump to

Keyboard shortcuts

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