Documentation ¶
Index ¶
- func DecodeKtime(ktime int64, monotonic bool) (time.Time, error)
- func DiffKtime(start, end uint64) time.Duration
- func Monotonic() (time.Duration, error)
- func NanoTimeSince(ktime int64) (time.Duration, error)
- func ToProto(ktime uint64) *timestamppb.Timestamp
- func ToProtoOpt(ktime uint64, monotonic bool) *timestamppb.Timestamp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToProto ¶
func ToProto(ktime uint64) *timestamppb.Timestamp
func ToProtoOpt ¶
func ToProtoOpt(ktime uint64, monotonic bool) *timestamppb.Timestamp
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.