gtid

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GTIDSet

type GTIDSet struct {
	// contains filtered or unexported fields
}

func New

func New(id string) (*GTIDSet, error)

func (*GTIDSet) ContainsSeq

func (s *GTIDSet) ContainsSeq(uuid string, seq int64) bool

func (*GTIDSet) ContainsUUID

func (s *GTIDSet) ContainsUUID(uuid string) bool

func (*GTIDSet) End

func (s *GTIDSet) End(filters ...SegmentFilter) (string, int64)

func (*GTIDSet) Equal

func (s *GTIDSet) Equal(other *GTIDSet) bool

func (*GTIDSet) IsEmpty

func (s *GTIDSet) IsEmpty() bool

func (*GTIDSet) Start

func (s *GTIDSet) Start(filters ...SegmentFilter) (string, int64)

func (*GTIDSet) String

func (s *GTIDSet) String() string

type SegmentFilter

type SegmentFilter func(seg segment) bool

func MatchesUUID

func MatchesUUID(uuid string) SegmentFilter

Jump to

Keyboard shortcuts

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