snappb - ActiveState ActiveGo 1.8
...

Package snappb

import "github.com/coreos/etcd/snap/snappb"
Overview
Index

Overview ▾

Package snappb is a generated protocol buffer package.

It is generated from these files:

snap.proto

It has these top-level messages:

Snapshot

Variables

var (
    ErrInvalidLengthSnap = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowSnap   = fmt.Errorf("proto: integer overflow")
)

type Snapshot

type Snapshot struct {
    Crc              uint32 `protobuf:"varint,1,opt,name=crc" json:"crc"`
    Data             []byte `protobuf:"bytes,2,opt,name=data" json:"data,omitempty"`
    XXX_unrecognized []byte `json:"-"`
}

func (*Snapshot) Descriptor

func (*Snapshot) Descriptor() ([]byte, []int)

func (*Snapshot) Marshal

func (m *Snapshot) Marshal() (dAtA []byte, err error)

func (*Snapshot) MarshalTo

func (m *Snapshot) MarshalTo(dAtA []byte) (int, error)

func (*Snapshot) ProtoMessage

func (*Snapshot) ProtoMessage()

func (*Snapshot) Reset

func (m *Snapshot) Reset()

func (*Snapshot) Size

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

func (*Snapshot) String

func (m *Snapshot) String() string

func (*Snapshot) Unmarshal

func (m *Snapshot) Unmarshal(dAtA []byte) error