handler

package
v0.0.0-...-bd4735d Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GrpcHealthCheck

func GrpcHealthCheck() gin.HandlerFunc

func V2KeysHandle

func V2KeysHandle(etcdClient *clientv3.Client) gin.HandlerFunc

Types

type TargetAddr

type TargetAddr struct {
	Addr string `uri:"addr" binding:"required"`
}

type V2KeysRequest

type V2KeysRequest struct {
	Wait      string `form:"wait"`
	WaitIndex int64  `form:"waitIndex"`
	// contains filtered or unexported fields
}

type V2KeysUri

type V2KeysUri struct {
	Key string `uri:"key" binding:"required"`
}

Jump to

Keyboard shortcuts

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