Documentation
¶
Index ¶
- Variables
- type VectorClock
- func (*VectorClock) Descriptor() ([]byte, []int)
- func (this *VectorClock) Equal(that interface{}) bool
- func (m *VectorClock) GetClock() int64
- func (m *VectorClock) GetClusterId() int64
- func (m *VectorClock) GetShardId() int32
- func (this *VectorClock) GoString() string
- func (m *VectorClock) Marshal() (dAtA []byte, err error)
- func (m *VectorClock) MarshalTo(dAtA []byte) (int, error)
- func (m *VectorClock) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VectorClock) ProtoMessage()
- func (m *VectorClock) Reset()
- func (m *VectorClock) Size() (n int)
- func (this *VectorClock) String() string
- func (m *VectorClock) Unmarshal(dAtA []byte) error
- func (m *VectorClock) XXX_DiscardUnknown()
- func (m *VectorClock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VectorClock) XXX_Merge(src proto.Message)
- func (m *VectorClock) XXX_Size() int
- func (m *VectorClock) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidLengthMessage = fmt.Errorf("proto: negative length found during unmarshaling")
ErrIntOverflowMessage = fmt.Errorf("proto: integer overflow")
ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group")
)
Functions ¶
This section is empty.
Types ¶
type VectorClock ¶
type VectorClock struct {
ShardId int32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
Clock int64 `protobuf:"varint,2,opt,name=clock,proto3" json:"clock,omitempty"`
ClusterId int64 `protobuf:"varint,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
}
func (*VectorClock) Descriptor ¶
func (*VectorClock) Descriptor() ([]byte, []int)
func (*VectorClock) GetClusterId ¶
func (m *VectorClock) GetClusterId() int64
func (*VectorClock) GetShardId ¶
func (m *VectorClock) GetShardId() int32
func (*VectorClock) MarshalToSizedBuffer ¶
func (m *VectorClock) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VectorClock) ProtoMessage ¶
func (*VectorClock) ProtoMessage()
func (*VectorClock) XXX_DiscardUnknown ¶
func (m *VectorClock) XXX_DiscardUnknown()
func (*VectorClock) XXX_Marshal ¶
func (m *VectorClock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VectorClock) XXX_Unmarshal ¶
func (m *VectorClock) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.