Documentation ¶
Index ¶
- Variables
- type Duration
- func (m *Duration) CloneMessageVT() proto.Message
- func (m *Duration) CloneVT() *Duration
- func (*Duration) Descriptor() ([]byte, []int)deprecated
- func (x *Duration) GetNanos() int32
- func (x *Duration) GetSeconds() int64
- func (m *Duration) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Duration) MarshalToVT(dAtA []byte) (int, error)
- func (m *Duration) MarshalVT() (dAtA []byte, err error)
- func (*Duration) ProtoMessage()
- func (x *Duration) ProtoReflect() protoreflect.Message
- func (x *Duration) Reset()
- func (m *Duration) SizeVT() (n int)
- func (x *Duration) String() string
- func (m *Duration) UnmarshalVT(dAtA []byte) error
- type Time
- func (cached *Time) CachedSize(alloc bool) int64
- func (m *Time) CloneMessageVT() proto.Message
- func (m *Time) CloneVT() *Time
- func (*Time) Descriptor() ([]byte, []int)deprecated
- func (x *Time) GetNanoseconds() int32
- func (x *Time) GetSeconds() int64
- func (m *Time) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Time) MarshalToVT(dAtA []byte) (int, error)
- func (m *Time) MarshalVT() (dAtA []byte, err error)
- func (*Time) ProtoMessage()
- func (x *Time) ProtoReflect() protoreflect.Message
- func (x *Time) Reset()
- func (m *Time) SizeVT() (n int)
- func (x *Time) String() string
- func (m *Time) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
View Source
var File_vttime_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Duration ¶
type Duration struct { Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` Nanos int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"` // contains filtered or unexported fields }
func (*Duration) CloneMessageVT ¶
func (*Duration) Descriptor
deprecated
func (*Duration) GetSeconds ¶
func (*Duration) MarshalToSizedBufferVT ¶
func (*Duration) ProtoMessage ¶
func (*Duration) ProtoMessage()
func (*Duration) ProtoReflect ¶
func (x *Duration) ProtoReflect() protoreflect.Message
func (*Duration) UnmarshalVT ¶
type Time ¶
type Time struct { Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` Nanoseconds int32 `protobuf:"varint,2,opt,name=nanoseconds,proto3" json:"nanoseconds,omitempty"` // contains filtered or unexported fields }
Time represents a time stamp in nanoseconds. In go, use logutil library to convert times.
func (*Time) CachedSize ¶
func (*Time) CloneMessageVT ¶
func (*Time) Descriptor
deprecated
func (*Time) GetNanoseconds ¶
func (*Time) GetSeconds ¶
func (*Time) MarshalToSizedBufferVT ¶
func (*Time) ProtoMessage ¶
func (*Time) ProtoMessage()
func (*Time) ProtoReflect ¶
func (x *Time) ProtoReflect() protoreflect.Message
func (*Time) UnmarshalVT ¶
Click to show internal directories.
Click to hide internal directories.