Documentation ¶
Index ¶
- Constants
- type BeTheLeaderArgs
- type BeTheLeaderArgsCache
- type BeTheLeaderReply
- type BeTheLeaderReplyCache
- type Beacon
- type BeaconCache
- type BeaconReply
- type BeaconReplyCache
- type PingArgs
- type PingArgsCache
- type PingReply
- type PingReplyCache
- type Propose
- type ProposeAndRead
- type ProposeAndReadCache
- type ProposeAndReadReply
- type ProposeAndReadReplyCache
- type ProposeCache
- type ProposeReply
- type ProposeReplyCache
- type ProposeReplyTS
- type ProposeReplyTSCache
- type Read
- type ReadCache
- type ReadReply
- type ReadReplyCache
Constants ¶
View Source
const ( PROPOSE uint8 = iota PROPOSE_REPLY READ READ_REPLY PROPOSE_AND_READ PROPOSE_AND_READ_REPLY GENERIC_SMR_BEACON GENERIC_SMR_BEACON_REPLY )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BeTheLeaderArgs ¶
type BeTheLeaderArgs struct { }
func (*BeTheLeaderArgs) BinarySize ¶
func (t *BeTheLeaderArgs) BinarySize() (nbytes int, sizeKnown bool)
func (*BeTheLeaderArgs) Marshal ¶
func (t *BeTheLeaderArgs) Marshal(wire io.Writer)
type BeTheLeaderArgsCache ¶
type BeTheLeaderArgsCache struct {
// contains filtered or unexported fields
}
func NewBeTheLeaderArgsCache ¶
func NewBeTheLeaderArgsCache() *BeTheLeaderArgsCache
func (*BeTheLeaderArgsCache) Get ¶
func (p *BeTheLeaderArgsCache) Get() *BeTheLeaderArgs
func (*BeTheLeaderArgsCache) Put ¶
func (p *BeTheLeaderArgsCache) Put(t *BeTheLeaderArgs)
type BeTheLeaderReply ¶
type BeTheLeaderReply struct { }
func (*BeTheLeaderReply) BinarySize ¶
func (t *BeTheLeaderReply) BinarySize() (nbytes int, sizeKnown bool)
func (*BeTheLeaderReply) Marshal ¶
func (t *BeTheLeaderReply) Marshal(wire io.Writer)
type BeTheLeaderReplyCache ¶
type BeTheLeaderReplyCache struct {
// contains filtered or unexported fields
}
func NewBeTheLeaderReplyCache ¶
func NewBeTheLeaderReplyCache() *BeTheLeaderReplyCache
func (*BeTheLeaderReplyCache) Get ¶
func (p *BeTheLeaderReplyCache) Get() *BeTheLeaderReply
func (*BeTheLeaderReplyCache) Put ¶
func (p *BeTheLeaderReplyCache) Put(t *BeTheLeaderReply)
type BeaconCache ¶
type BeaconCache struct {
// contains filtered or unexported fields
}
func NewBeaconCache ¶
func NewBeaconCache() *BeaconCache
func (*BeaconCache) Get ¶
func (p *BeaconCache) Get() *Beacon
func (*BeaconCache) Put ¶
func (p *BeaconCache) Put(t *Beacon)
type BeaconReply ¶
type BeaconReply struct {
Timestamp uint64
}
func (*BeaconReply) BinarySize ¶
func (t *BeaconReply) BinarySize() (nbytes int, sizeKnown bool)
func (*BeaconReply) Marshal ¶
func (t *BeaconReply) Marshal(wire io.Writer)
type BeaconReplyCache ¶
type BeaconReplyCache struct {
// contains filtered or unexported fields
}
func NewBeaconReplyCache ¶
func NewBeaconReplyCache() *BeaconReplyCache
func (*BeaconReplyCache) Get ¶
func (p *BeaconReplyCache) Get() *BeaconReply
func (*BeaconReplyCache) Put ¶
func (p *BeaconReplyCache) Put(t *BeaconReply)
type PingArgsCache ¶
type PingArgsCache struct {
// contains filtered or unexported fields
}
func NewPingArgsCache ¶
func NewPingArgsCache() *PingArgsCache
func (*PingArgsCache) Get ¶
func (p *PingArgsCache) Get() *PingArgs
func (*PingArgsCache) Put ¶
func (p *PingArgsCache) Put(t *PingArgs)
type PingReplyCache ¶
type PingReplyCache struct {
// contains filtered or unexported fields
}
func NewPingReplyCache ¶
func NewPingReplyCache() *PingReplyCache
func (*PingReplyCache) Get ¶
func (p *PingReplyCache) Get() *PingReply
func (*PingReplyCache) Put ¶
func (p *PingReplyCache) Put(t *PingReply)
type Propose ¶
func (*Propose) BinarySize ¶
type ProposeAndRead ¶
func (*ProposeAndRead) BinarySize ¶
func (t *ProposeAndRead) BinarySize() (nbytes int, sizeKnown bool)
func (*ProposeAndRead) Marshal ¶
func (t *ProposeAndRead) Marshal(wire io.Writer)
type ProposeAndReadCache ¶
type ProposeAndReadCache struct {
// contains filtered or unexported fields
}
func NewProposeAndReadCache ¶
func NewProposeAndReadCache() *ProposeAndReadCache
func (*ProposeAndReadCache) Get ¶
func (p *ProposeAndReadCache) Get() *ProposeAndRead
func (*ProposeAndReadCache) Put ¶
func (p *ProposeAndReadCache) Put(t *ProposeAndRead)
type ProposeAndReadReply ¶
func (*ProposeAndReadReply) BinarySize ¶
func (t *ProposeAndReadReply) BinarySize() (nbytes int, sizeKnown bool)
func (*ProposeAndReadReply) Marshal ¶
func (t *ProposeAndReadReply) Marshal(wire io.Writer)
type ProposeAndReadReplyCache ¶
type ProposeAndReadReplyCache struct {
// contains filtered or unexported fields
}
func NewProposeAndReadReplyCache ¶
func NewProposeAndReadReplyCache() *ProposeAndReadReplyCache
func (*ProposeAndReadReplyCache) Get ¶
func (p *ProposeAndReadReplyCache) Get() *ProposeAndReadReply
func (*ProposeAndReadReplyCache) Put ¶
func (p *ProposeAndReadReplyCache) Put(t *ProposeAndReadReply)
type ProposeCache ¶
type ProposeCache struct {
// contains filtered or unexported fields
}
func NewProposeCache ¶
func NewProposeCache() *ProposeCache
func (*ProposeCache) Get ¶
func (p *ProposeCache) Get() *Propose
func (*ProposeCache) Put ¶
func (p *ProposeCache) Put(t *Propose)
type ProposeReply ¶
func (*ProposeReply) BinarySize ¶
func (t *ProposeReply) BinarySize() (nbytes int, sizeKnown bool)
func (*ProposeReply) Marshal ¶
func (t *ProposeReply) Marshal(wire io.Writer)
type ProposeReplyCache ¶
type ProposeReplyCache struct {
// contains filtered or unexported fields
}
func NewProposeReplyCache ¶
func NewProposeReplyCache() *ProposeReplyCache
func (*ProposeReplyCache) Get ¶
func (p *ProposeReplyCache) Get() *ProposeReply
func (*ProposeReplyCache) Put ¶
func (p *ProposeReplyCache) Put(t *ProposeReply)
type ProposeReplyTS ¶
func (*ProposeReplyTS) BinarySize ¶
func (t *ProposeReplyTS) BinarySize() (nbytes int, sizeKnown bool)
func (*ProposeReplyTS) Marshal ¶
func (t *ProposeReplyTS) Marshal(wire io.Writer)
type ProposeReplyTSCache ¶
type ProposeReplyTSCache struct {
// contains filtered or unexported fields
}
func NewProposeReplyTSCache ¶
func NewProposeReplyTSCache() *ProposeReplyTSCache
func (*ProposeReplyTSCache) Get ¶
func (p *ProposeReplyTSCache) Get() *ProposeReplyTS
func (*ProposeReplyTSCache) Put ¶
func (p *ProposeReplyTSCache) Put(t *ProposeReplyTS)
type Read ¶
func (*Read) BinarySize ¶
type ReadCache ¶
type ReadCache struct {
// contains filtered or unexported fields
}
func NewReadCache ¶
func NewReadCache() *ReadCache
type ReadReply ¶
func (*ReadReply) BinarySize ¶
type ReadReplyCache ¶
type ReadReplyCache struct {
// contains filtered or unexported fields
}
func NewReadReplyCache ¶
func NewReadReplyCache() *ReadReplyCache
func (*ReadReplyCache) Get ¶
func (p *ReadReplyCache) Get() *ReadReply
func (*ReadReplyCache) Put ¶
func (p *ReadReplyCache) Put(t *ReadReply)
Click to show internal directories.
Click to hide internal directories.