Versions in this module Expand all Collapse all v1 v1.0.0 Oct 16, 2017 Changes in this version + var ErrIntOverflowErrorpb = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthErrorpb = fmt.Errorf("proto: negative length found during unmarshaling") + type Error struct + KeyNotInRegion *KeyNotInRegion + Message *string + NotLeader *NotLeader + RaftEntryTooLarge *RaftEntryTooLarge + RegionNotFound *RegionNotFound + ServerIsBusy *ServerIsBusy + StaleCommand *StaleCommand + StaleEpoch *StaleEpoch + StoreNotMatch *StoreNotMatch + XXX_unrecognized []byte + func (*Error) Descriptor() ([]byte, []int) + func (*Error) ProtoMessage() + func (m *Error) GetKeyNotInRegion() *KeyNotInRegion + func (m *Error) GetMessage() string + func (m *Error) GetNotLeader() *NotLeader + func (m *Error) GetRaftEntryTooLarge() *RaftEntryTooLarge + func (m *Error) GetRegionNotFound() *RegionNotFound + func (m *Error) GetServerIsBusy() *ServerIsBusy + func (m *Error) GetStaleCommand() *StaleCommand + func (m *Error) GetStaleEpoch() *StaleEpoch + func (m *Error) GetStoreNotMatch() *StoreNotMatch + func (m *Error) Marshal() (dAtA []byte, err error) + func (m *Error) MarshalTo(dAtA []byte) (int, error) + func (m *Error) Reset() + func (m *Error) Size() (n int) + func (m *Error) String() string + func (m *Error) Unmarshal(dAtA []byte) error + type KeyNotInRegion struct + EndKey []byte + Key []byte + RegionId *uint64 + StartKey []byte + XXX_unrecognized []byte + func (*KeyNotInRegion) Descriptor() ([]byte, []int) + func (*KeyNotInRegion) ProtoMessage() + func (m *KeyNotInRegion) GetEndKey() []byte + func (m *KeyNotInRegion) GetKey() []byte + func (m *KeyNotInRegion) GetRegionId() uint64 + func (m *KeyNotInRegion) GetStartKey() []byte + func (m *KeyNotInRegion) Marshal() (dAtA []byte, err error) + func (m *KeyNotInRegion) MarshalTo(dAtA []byte) (int, error) + func (m *KeyNotInRegion) Reset() + func (m *KeyNotInRegion) Size() (n int) + func (m *KeyNotInRegion) String() string + func (m *KeyNotInRegion) Unmarshal(dAtA []byte) error + type NotLeader struct + Leader *metapb.Peer + RegionId *uint64 + XXX_unrecognized []byte + func (*NotLeader) Descriptor() ([]byte, []int) + func (*NotLeader) ProtoMessage() + func (m *NotLeader) GetLeader() *metapb.Peer + func (m *NotLeader) GetRegionId() uint64 + func (m *NotLeader) Marshal() (dAtA []byte, err error) + func (m *NotLeader) MarshalTo(dAtA []byte) (int, error) + func (m *NotLeader) Reset() + func (m *NotLeader) Size() (n int) + func (m *NotLeader) String() string + func (m *NotLeader) Unmarshal(dAtA []byte) error + type RaftEntryTooLarge struct + EntrySize *uint64 + RegionId *uint64 + XXX_unrecognized []byte + func (*RaftEntryTooLarge) Descriptor() ([]byte, []int) + func (*RaftEntryTooLarge) ProtoMessage() + func (m *RaftEntryTooLarge) GetEntrySize() uint64 + func (m *RaftEntryTooLarge) GetRegionId() uint64 + func (m *RaftEntryTooLarge) Marshal() (dAtA []byte, err error) + func (m *RaftEntryTooLarge) MarshalTo(dAtA []byte) (int, error) + func (m *RaftEntryTooLarge) Reset() + func (m *RaftEntryTooLarge) Size() (n int) + func (m *RaftEntryTooLarge) String() string + func (m *RaftEntryTooLarge) Unmarshal(dAtA []byte) error + type RegionNotFound struct + RegionId *uint64 + XXX_unrecognized []byte + func (*RegionNotFound) Descriptor() ([]byte, []int) + func (*RegionNotFound) ProtoMessage() + func (m *RegionNotFound) GetRegionId() uint64 + func (m *RegionNotFound) Marshal() (dAtA []byte, err error) + func (m *RegionNotFound) MarshalTo(dAtA []byte) (int, error) + func (m *RegionNotFound) Reset() + func (m *RegionNotFound) Size() (n int) + func (m *RegionNotFound) String() string + func (m *RegionNotFound) Unmarshal(dAtA []byte) error + type ServerIsBusy struct + Reason *string + XXX_unrecognized []byte + func (*ServerIsBusy) Descriptor() ([]byte, []int) + func (*ServerIsBusy) ProtoMessage() + func (m *ServerIsBusy) GetReason() string + func (m *ServerIsBusy) Marshal() (dAtA []byte, err error) + func (m *ServerIsBusy) MarshalTo(dAtA []byte) (int, error) + func (m *ServerIsBusy) Reset() + func (m *ServerIsBusy) Size() (n int) + func (m *ServerIsBusy) String() string + func (m *ServerIsBusy) Unmarshal(dAtA []byte) error + type StaleCommand struct + XXX_unrecognized []byte + func (*StaleCommand) Descriptor() ([]byte, []int) + func (*StaleCommand) ProtoMessage() + func (m *StaleCommand) Marshal() (dAtA []byte, err error) + func (m *StaleCommand) MarshalTo(dAtA []byte) (int, error) + func (m *StaleCommand) Reset() + func (m *StaleCommand) Size() (n int) + func (m *StaleCommand) String() string + func (m *StaleCommand) Unmarshal(dAtA []byte) error + type StaleEpoch struct + NewRegions []*metapb.Region + XXX_unrecognized []byte + func (*StaleEpoch) Descriptor() ([]byte, []int) + func (*StaleEpoch) ProtoMessage() + func (m *StaleEpoch) GetNewRegions() []*metapb.Region + func (m *StaleEpoch) Marshal() (dAtA []byte, err error) + func (m *StaleEpoch) MarshalTo(dAtA []byte) (int, error) + func (m *StaleEpoch) Reset() + func (m *StaleEpoch) Size() (n int) + func (m *StaleEpoch) String() string + func (m *StaleEpoch) Unmarshal(dAtA []byte) error + type StoreNotMatch struct + XXX_unrecognized []byte + func (*StoreNotMatch) Descriptor() ([]byte, []int) + func (*StoreNotMatch) ProtoMessage() + func (m *StoreNotMatch) Marshal() (dAtA []byte, err error) + func (m *StoreNotMatch) MarshalTo(dAtA []byte) (int, error) + func (m *StoreNotMatch) Reset() + func (m *StoreNotMatch) Size() (n int) + func (m *StoreNotMatch) String() string + func (m *StoreNotMatch) Unmarshal(dAtA []byte) error