tsoutil

package
v0.0.0-...-da4b43a Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareTimestamp

func CompareTimestamp(tsoOne, tsoTwo *pdpb.Timestamp) int

CompareTimestamp is used to compare two timestamps. If tsoOne > tsoTwo, returns 1. If tsoOne = tsoTwo, returns 0. If tsoOne < tsoTwo, returns -1.

func TSLessEqual

func TSLessEqual(physical, logical, thatPhysical, thatLogical int64) bool

TSLessEqual returns true if (physical, logical) <= (thatPhysical, thatLogical).

Types

This section is empty.

Jump to

Keyboard shortcuts

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