Discover Packages
github.com/cuihovah/sumeru
lib
common
package
Version:
v0.0.0-...-c817ce6
Opens a new window with list of versions in this module.
Published: Mar 9, 2020
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func (eh *Entries ) Pop() interface{}
func (eh *Entries ) Push(x interface{})
type Entry struct {
Id int64 `json:"id"`
Time string `json:"time"`
Term int `json:"term"`
Operate string `json:"operate"`
Preference string `json:"preference"`
Cmd string `json:"cmd"`
Value map[string ]string `json:"value"`
}
type RetValue struct {
Code int
Msg string
Data interface{}
}
type TopologyData struct {
Leader string `json:"leader"`
Cluster []string `json:"cluster"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.