Documentation ¶
Overview ¶
Package eventtoken includes utility methods for event token handling.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fresher ¶
func Fresher(ev1, ev2 *querypb.EventToken) int
Fresher compares two event tokens. It returns a negative number if ev1<ev2, zero if they're equal, and a positive number if ev1>ev2. In case of doubt (we don't have enough information to know for sure), it returns a negative number.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.