 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package walpb is a generated protocol buffer package.
It is generated from these files:
record.proto
It has these top-level messages:
Record Snapshot
Index ¶
- Variables
- type Record
- func (m *Record) Marshal() (data []byte, err error)
- func (m *Record) MarshalTo(data []byte) (n int, err error)
- func (*Record) ProtoMessage()
- func (m *Record) Reset()
- func (m *Record) Size() (n int)
- func (m *Record) String() string
- func (m *Record) Unmarshal(data []byte) error
- func (rec *Record) Validate(crc uint32) error
 
- type Snapshot
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var (
	ErrCRCMismatch = errors.New("walpb: crc mismatch")
)
    Functions ¶
This section is empty.
Types ¶
type Record ¶
type Record struct {
	Type             int64  `protobuf:"varint,1,req,name=type" json:"type"`
	Crc              uint32 `protobuf:"varint,2,req,name=crc" json:"crc"`
	Data             []byte `protobuf:"bytes,3,opt,name=data" json:"data,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}
    func (*Record) ProtoMessage ¶
func (*Record) ProtoMessage()
 Click to show internal directories. 
   Click to hide internal directories.