Documentation ¶
Overview ¶
Package pb is a generated protocol buffer package.
It is generated from these files:
backup.proto
It has these top-level messages:
KVPair
Index ¶
- Variables
- type KVPair
- func (*KVPair) Descriptor() ([]byte, []int)
- func (m *KVPair) GetKey() []byte
- func (m *KVPair) GetTable() Table
- func (m *KVPair) GetValue() []byte
- func (m *KVPair) Marshal() (dAtA []byte, err error)
- func (m *KVPair) MarshalTo(dAtA []byte) (int, error)
- func (*KVPair) ProtoMessage()
- func (m *KVPair) Reset()
- func (m *KVPair) Size() (n int)
- func (m *KVPair) String() string
- func (m *KVPair) Unmarshal(dAtA []byte) error
- type Table
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthBackup = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowBackup = fmt.Errorf("proto: integer overflow") )
View Source
var Table_name = map[int32]string{
0: "DEFAULT",
1: "INDEX",
2: "HYPER",
3: "HISTORY",
4: "FSM",
}
View Source
var Table_value = map[string]int32{
"DEFAULT": 0,
"INDEX": 1,
"HYPER": 2,
"HISTORY": 3,
"FSM": 4,
}
Functions ¶
This section is empty.
Types ¶
type KVPair ¶
type KVPair struct { Table Table `protobuf:"varint,1,opt,name=table,proto3,enum=pb.Table" json:"table,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` }
func (*KVPair) Descriptor ¶
func (*KVPair) ProtoMessage ¶
func (*KVPair) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.