Documentation ¶
Index ¶
- type LogEntry
- func (this *LogEntry) Equal(that interface{}) bool
- func (m *LogEntry) GetCommand() []byte
- func (m *LogEntry) GetCommandName() string
- func (m *LogEntry) GetIndex() uint64
- func (m *LogEntry) GetTerm() uint64
- func (this *LogEntry) GoString() string
- func (m *LogEntry) Marshal() (data []byte, err error)
- func (m *LogEntry) MarshalTo(data []byte) (n int, err error)
- func (*LogEntry) ProtoMessage()
- func (m *LogEntry) Reset()
- func (m *LogEntry) Size() (n int)
- func (this *LogEntry) String() string
- func (m *LogEntry) Unmarshal(data []byte) error
- func (this *LogEntry) VerboseEqual(that interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogEntry ¶
type LogEntry struct { Index *uint64 `protobuf:"varint,1,req" json:"Index,omitempty"` Term *uint64 `protobuf:"varint,2,req" json:"Term,omitempty"` CommandName *string `protobuf:"bytes,3,req" json:"CommandName,omitempty"` Command []byte `protobuf:"bytes,4,opt" json:"Command,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedLogEntry ¶
func (*LogEntry) GetCommand ¶
func (*LogEntry) GetCommandName ¶
func (*LogEntry) ProtoMessage ¶
func (*LogEntry) ProtoMessage()
func (*LogEntry) VerboseEqual ¶
Click to show internal directories.
Click to hide internal directories.