Versions in this module Expand all Collapse all v1 v1.1.5 Jan 29, 2018 Changes in this version + var ErrIntOverflowTimestamp = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthTimestamp = fmt.Errorf("proto: negative length found during unmarshaling") + var MaxTimestamp = Timestamp + var MinTimestamp = Timestamp + func UnixNano() int64 + type Clock struct + func NewClock(physicalClock func() int64, maxOffset time.Duration) *Clock + func (c *Clock) MaxOffset() time.Duration + func (c *Clock) Now() Timestamp + func (c *Clock) PhysicalNow() int64 + func (c *Clock) PhysicalTime() time.Time + func (c *Clock) Update(rt Timestamp) Timestamp + type ManualClock struct + func NewManualClock(nanos int64) *ManualClock + func (m *ManualClock) Increment(incr int64) + func (m *ManualClock) Set(nanos int64) + func (m *ManualClock) UnixNano() int64 + type Timestamp struct + Logical int32 + WallTime int64 + func NewPopulatedTimestamp(r randyTimestamp, easy bool) *Timestamp + func (*Timestamp) Descriptor() ([]byte, []int) + func (*Timestamp) ProtoMessage() + func (m *Timestamp) Marshal() (dAtA []byte, err error) + func (m *Timestamp) MarshalTo(dAtA []byte) (int, error) + func (m *Timestamp) Reset() + func (m *Timestamp) Size() (n int) + func (m *Timestamp) Unmarshal(dAtA []byte) error + func (t *Timestamp) Backward(s Timestamp) + func (t *Timestamp) Forward(s Timestamp) bool + func (t Timestamp) Add(wallTime int64, logical int32) Timestamp + func (t Timestamp) GoTime() time.Time + func (t Timestamp) Less(s Timestamp) bool + func (t Timestamp) Next() Timestamp + func (t Timestamp) Prev() Timestamp + func (t Timestamp) String() string + func (this *Timestamp) Equal(that interface{}) bool