clock

package
v1.19.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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) Equal

func (this *VectorClock) Equal(that interface{}) bool

func (*VectorClock) GetClock

func (m *VectorClock) GetClock() int64

func (*VectorClock) GetClusterId

func (m *VectorClock) GetClusterId() int64

func (*VectorClock) GetShardId

func (m *VectorClock) GetShardId() int32

func (*VectorClock) GoString

func (this *VectorClock) GoString() string

func (*VectorClock) Marshal

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

func (*VectorClock) MarshalTo

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

func (*VectorClock) MarshalToSizedBuffer

func (m *VectorClock) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VectorClock) ProtoMessage

func (*VectorClock) ProtoMessage()

func (*VectorClock) Reset

func (m *VectorClock) Reset()

func (*VectorClock) Size

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

func (*VectorClock) String

func (this *VectorClock) String() string

func (*VectorClock) Unmarshal

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

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_Merge

func (m *VectorClock) XXX_Merge(src proto.Message)

func (*VectorClock) XXX_Size

func (m *VectorClock) XXX_Size() int

func (*VectorClock) XXX_Unmarshal

func (m *VectorClock) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL