package walpb

import "github.com/coreos/etcd/wal/walpb"

Package walpb is a generated protocol buffer package.

It is generated from these files:

record.proto

It has these top-level messages:

Record

Index

Variables

var (
	ErrCRCMismatch = errors.New("walpb: crc mismatch")
)

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) Marshal

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

func (*Record) MarshalTo

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

func (*Record) ProtoMessage

func (*Record) ProtoMessage()

func (*Record) Reset

func (m *Record) Reset()

func (*Record) Size

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

func (*Record) String

func (m *Record) String() string

func (*Record) Unmarshal

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

func (*Record) Validate

func (rec *Record) Validate(crc uint32) error

Source Files

record.go record.pb.go

Version
v0.5.0-alpha.3
Published
Nov 15, 2014
Platform
windows/amd64
Imports
5 packages
Last checked
8 minutes ago

Tools for package owners.