package
module
Version:
v0.0.0-...-6d938a6
Opens a new window with list of versions in this module.
Published: May 30, 2021
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Peer struct {
Node *string `json:"node"`
ID *string `json:"id"`
Address *string `json:"address"`
State string `json:"state"`
Voter *bool `json:"voter"`
RaftProtocol string `json:"raft-protocol"`
}
type RequestBody struct {
Token string `json:"token"`
Endpoint string `json:"endpoint"`
}
type Response struct {
Payload []Peer `json:"payload"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.