Documentation
¶
Index ¶
- Variables
- type Time
- func (*Time) Descriptor() ([]byte, []int)
- func (m *Time) GetTimestamp() int64
- func (m *Time) Marshal() (dAtA []byte, err error)
- func (m *Time) MarshalTo(dAtA []byte) (int, error)
- func (*Time) ProtoMessage()
- func (m *Time) Reset()
- func (m *Time) Size() (n int)
- func (m *Time) String() string
- func (m *Time) Unmarshal(dAtA []byte) error
- func (m *Time) XXX_DiscardUnknown()
- func (m *Time) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Time) XXX_Merge(src proto.Message)
- func (m *Time) XXX_Size() int
- func (m *Time) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthClock = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowClock = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Time ¶
type Time struct {
Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
The time message containing a Unix nano timestamp.
func (*Time) Descriptor ¶
func (*Time) GetTimestamp ¶
func (*Time) ProtoMessage ¶
func (*Time) ProtoMessage()
func (*Time) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *Time) XXX_DiscardUnknown()
func (*Time) XXX_Marshal ¶ added in v0.2.0
func (*Time) XXX_Unmarshal ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.