package snappb
import "github.com/coreos/etcd/snap/snappb"
Package snappb is a generated protocol buffer package.
It is generated from these files:
snap.proto
It has these top-level messages:
Snapshot
Index ¶
- Variables
- type Snapshot
- func (*Snapshot) Descriptor() ([]byte, []int)
- func (m *Snapshot) Marshal() (data []byte, err error)
- func (m *Snapshot) MarshalTo(data []byte) (int, error)
- func (*Snapshot) ProtoMessage()
- func (m *Snapshot) Reset()
- func (m *Snapshot) Size() (n int)
- func (m *Snapshot) String() string
- func (m *Snapshot) Unmarshal(data []byte) error
Variables ¶
var ( ErrInvalidLengthSnap = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSnap = fmt.Errorf("proto: integer overflow") )
Types ¶
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) Marshal ¶
func (*Snapshot) MarshalTo ¶
func (*Snapshot) ProtoMessage ¶
func (*Snapshot) ProtoMessage()
func (*Snapshot) Reset ¶
func (m *Snapshot) Reset()
func (*Snapshot) Size ¶
func (*Snapshot) String ¶
func (*Snapshot) Unmarshal ¶
Source Files ¶
- Version
- v3.0.7+incompatible
- Published
- Aug 31, 2016
- Platform
- darwin/amd64
- Imports
- 4 packages
- Last checked
- 3 minutes ago –
Tools for package owners.