package
2.0.0+incompatible
Repository: https://github.com/nerdatmath/vitess.git
Documentation: pkg.go.dev

# Functions

AppendGTID returns a new Position that represents the position after the given GTID is replicated.
DecodeGTID converts a string in the format returned by EncodeGTID back into a GTID interface value with the correct underlying flavor.
DecodePosition converts a string in the format returned by EncodePosition back into a Position value with the correct underlying flavor.
EncodeGTID returns a string that contains both the flavor and value of the GTID, so that the correct parser can be selected when that string is passed to DecodeGTID.
EncodePosition returns a string that contains both the flavor and value of the Position, so that the correct parser can be selected when that string is passed to DecodePosition.
MustDecodeGTID calls DecodeGTID and panics on error.
MustParseGTID calls ParseGTID and panics on error.
MustParsePosition calls ParsePosition and panics on error.
NewStatus creates a Status pointing to masterAddr.
ParseGTID calls the GTID parser for the specified flavor.
ParsePosition calls the parser for the specified flavor.
ParseSID parses an SID in the form used by MySQL 5.6.
ProtoToStatus translates a proto Status, or panics.
StatusToProto translates a Status to proto3.

# Structs

BinlogFormat contains relevant data from the FORMAT_DESCRIPTION_EVENT.
MariadbGTID implements GTID.
Mysql56GTID implements GTID.
Position represents the information necessary to describe which transactions a server has seen, so that it can request a replication stream from a new master that picks up where it left off.
Query contains data from a QUERY_EVENT.
Status holds replication information from SHOW SLAVE STATUS.

# Interfaces

BinlogEvent represents a single event from a raw MySQL binlog dump stream.
GTID represents a Global Transaction ID, also known as Transaction Group ID.
GTIDSet represents the set of transactions received or applied by a server.

# Type aliases

Mysql56GTIDSet implements GTIDSet for MySQL 5.6.
SID is the 16-byte unique ID of a MySQL 5.6 server.