v3

package
v0.0.0-...-ce54790 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const ETCD_V2 = "v2"

Variables

This section is empty.

Functions

func DelKeys

func DelKeys(request *restful.Request, response *restful.Response)

func History

func History(request *restful.Request, response *restful.Response)

func Init

func Init(ctx context.Context)

func Keys

func Keys(request *restful.Request, response *restful.Response)

func Leader

func Leader(request *restful.Request, response *restful.Response)

func PostKeys

func PostKeys(request *restful.Request, response *restful.Response)

func PutKeys

func PutKeys(request *restful.Request, response *restful.Response)

func Restore

func Restore(request *restful.Request, response *restful.Response)

Types

type Node

type Node struct {
	Key   string  `json:"key"`
	Value string  `json:"value,omitempty"`
	IsDir bool    `json:"dir,omitempty"`
	Nodes []*Node `json:"nodes,omitempty"`
}

Jump to

Keyboard shortcuts

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