protobuf

package
v2.1.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2015 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package protobuf is a generated protocol buffer package.

It is generated from these files:

log_entry.proto

It has these top-level messages:

LogEntry

Index

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 NewPopulatedLogEntry(r randyLogEntry, easy bool) *LogEntry

func (*LogEntry) Equal

func (this *LogEntry) Equal(that interface{}) bool

func (*LogEntry) GetCommand

func (m *LogEntry) GetCommand() []byte

func (*LogEntry) GetCommandName

func (m *LogEntry) GetCommandName() string

func (*LogEntry) GetIndex

func (m *LogEntry) GetIndex() uint64

func (*LogEntry) GetTerm

func (m *LogEntry) GetTerm() uint64

func (*LogEntry) GoString

func (this *LogEntry) GoString() string

func (*LogEntry) Marshal

func (m *LogEntry) Marshal() (data []byte, err error)

func (*LogEntry) MarshalTo

func (m *LogEntry) MarshalTo(data []byte) (n int, err error)

func (*LogEntry) ProtoMessage

func (*LogEntry) ProtoMessage()

func (*LogEntry) Reset

func (m *LogEntry) Reset()

func (*LogEntry) Size

func (m *LogEntry) Size() (n int)

func (*LogEntry) String

func (this *LogEntry) String() string

func (*LogEntry) Unmarshal

func (m *LogEntry) Unmarshal(data []byte) error

func (*LogEntry) VerboseEqual

func (this *LogEntry) VerboseEqual(that interface{}) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL