go-vitess.v1: gopkg.in/src-d/go-vitess.v1/vt/binlog/eventtoken Index | Files

package eventtoken

import "gopkg.in/src-d/go-vitess.v1/vt/binlog/eventtoken"

Package eventtoken includes utility methods for event token handling.

Index

Package Files

compare.go

func Fresher Uses

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.

Package eventtoken imports 2 packages (graph) and is imported by 1 packages. Updated 2019-06-13. Refresh now. Tools for package owners.