Documentation ¶
Index ¶
- Variables
- type Duration
- func (*Duration) Descriptor() ([]byte, []int)
- func (m *Duration) GetNanos() int32
- func (m *Duration) GetSeconds() int64
- func (m *Duration) Marshal() (dAtA []byte, err error)
- func (m *Duration) MarshalTo(dAtA []byte) (int, error)
- func (m *Duration) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Duration) ProtoMessage()
- func (m *Duration) Reset()
- func (m *Duration) Size() (n int)
- func (m *Duration) String() string
- func (m *Duration) Unmarshal(dAtA []byte) error
- func (m *Duration) XXX_DiscardUnknown()
- func (m *Duration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Duration) XXX_Merge(src proto.Message)
- func (m *Duration) XXX_Size() int
- func (m *Duration) XXX_Unmarshal(b []byte) error
- type Time
- func (*Time) Descriptor() ([]byte, []int)
- func (m *Time) GetNanoseconds() int32
- func (m *Time) GetSeconds() int64
- func (m *Time) Marshal() (dAtA []byte, err error)
- func (m *Time) MarshalTo(dAtA []byte) (int, error)
- func (m *Time) MarshalToSizedBuffer(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 (m *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 ¶
Functions ¶
This section is empty.
Types ¶
type Duration ¶ added in v0.10.0
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Duration) Descriptor ¶ added in v0.10.0
func (*Duration) GetSeconds ¶ added in v0.10.0
func (*Duration) MarshalToSizedBuffer ¶ added in v0.10.0
func (*Duration) ProtoMessage ¶ added in v0.10.0
func (*Duration) ProtoMessage()
func (*Duration) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *Duration) XXX_DiscardUnknown()
func (*Duration) XXX_Marshal ¶ added in v0.10.0
func (*Duration) XXX_Unmarshal ¶ added in v0.10.0
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Time represents a time stamp in nanoseconds. In go, use logutil library to convert times.
func (*Time) Descriptor ¶
func (*Time) GetNanoseconds ¶
func (*Time) GetSeconds ¶
func (*Time) MarshalToSizedBuffer ¶ added in v0.10.0
func (*Time) ProtoMessage ¶
func (*Time) ProtoMessage()
func (*Time) XXX_DiscardUnknown ¶
func (m *Time) XXX_DiscardUnknown()
func (*Time) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.