Documentation ¶
Index ¶
- Constants
- Variables
- func Client(version Version, logger *zap.Logger) (res *client)
- func Cluster(outbox chan *outboxMessage, id uint16, name string, partitions uint32, ...) (res *cluster)
- func Partition() (res *partition)
- func Server(name string, logger *zap.Logger) (res *server)
- type DataSetStat
- type ICluster
- type Packet
- type Peer
- type PeerKey
- type ProtectedCommand
- type RecordInfo
- type SignedMessage
- type Version
Constants ¶
View Source
const (
ZeroVersion = Version(0)
)
Variables ¶
View Source
var ProtectedCommands *commandRegistry
Protected Encrypted ProtectedCommands over channels
Functions ¶
Types ¶
type Peer ¶
type Peer struct {
// contains filtered or unexported fields
}
func (*Peer) IsAccepted ¶
func (*Peer) UpdateMetrics ¶
type PeerKey ¶
type PeerKey [64]byte
func NewPeerKey ¶
func NewPeerKey(id crypto.Certificate, pub crypto.PublicKey) (res PeerKey)
func (PeerKey) ID ¶
func (pk PeerKey) ID() (res crypto.Certificate)
type ProtectedCommand ¶
type RecordInfo ¶
type SignedMessage ¶
type Version ¶
type Version uint32
func FromString ¶
func NewVersion ¶
func (Version) CompareByMinor ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.