vttime

package
v0.21.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_vttime_proto protoreflect.FileDescriptor

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"`
	// contains filtered or unexported fields
}

func (*Duration) CloneMessageVT added in v0.18.0

func (m *Duration) CloneMessageVT() proto.Message

func (*Duration) CloneVT added in v0.18.0

func (m *Duration) CloneVT() *Duration

func (*Duration) Descriptor deprecated added in v0.10.0

func (*Duration) Descriptor() ([]byte, []int)

Deprecated: Use Duration.ProtoReflect.Descriptor instead.

func (*Duration) GetNanos added in v0.10.0

func (x *Duration) GetNanos() int32

func (*Duration) GetSeconds added in v0.10.0

func (x *Duration) GetSeconds() int64

func (*Duration) MarshalToSizedBufferVT added in v0.11.0

func (m *Duration) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Duration) MarshalToVT added in v0.11.0

func (m *Duration) MarshalToVT(dAtA []byte) (int, error)

func (*Duration) MarshalVT added in v0.11.0

func (m *Duration) MarshalVT() (dAtA []byte, err error)

func (*Duration) ProtoMessage added in v0.10.0

func (*Duration) ProtoMessage()

func (*Duration) ProtoReflect added in v0.11.0

func (x *Duration) ProtoReflect() protoreflect.Message

func (*Duration) Reset added in v0.10.0

func (x *Duration) Reset()

func (*Duration) SizeVT added in v0.11.0

func (m *Duration) SizeVT() (n int)

func (*Duration) String added in v0.10.0

func (x *Duration) String() string

func (*Duration) UnmarshalVT added in v0.11.0

func (m *Duration) UnmarshalVT(dAtA []byte) error

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 added in v0.18.0

func (cached *Time) CachedSize(alloc bool) int64

func (*Time) CloneMessageVT added in v0.18.0

func (m *Time) CloneMessageVT() proto.Message

func (*Time) CloneVT added in v0.18.0

func (m *Time) CloneVT() *Time

func (*Time) Descriptor deprecated

func (*Time) Descriptor() ([]byte, []int)

Deprecated: Use Time.ProtoReflect.Descriptor instead.

func (*Time) GetNanoseconds

func (x *Time) GetNanoseconds() int32

func (*Time) GetSeconds

func (x *Time) GetSeconds() int64

func (*Time) MarshalToSizedBufferVT added in v0.11.0

func (m *Time) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Time) MarshalToVT added in v0.11.0

func (m *Time) MarshalToVT(dAtA []byte) (int, error)

func (*Time) MarshalVT added in v0.11.0

func (m *Time) MarshalVT() (dAtA []byte, err error)

func (*Time) ProtoMessage

func (*Time) ProtoMessage()

func (*Time) ProtoReflect added in v0.11.0

func (x *Time) ProtoReflect() protoreflect.Message

func (*Time) Reset

func (x *Time) Reset()

func (*Time) SizeVT added in v0.11.0

func (m *Time) SizeVT() (n int)

func (*Time) String

func (x *Time) String() string

func (*Time) UnmarshalVT added in v0.11.0

func (m *Time) UnmarshalVT(dAtA []byte) error

Jump to

Keyboard shortcuts

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