mysql

package
v0.0.0-...-12f838c Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MySQLCoordinator

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

func NewMySQLCoordinator

func NewMySQLCoordinator() (*MySQLCoordinator, error)

func (*MySQLCoordinator) GetAllTimes

func (my *MySQLCoordinator) GetAllTimes() (map[string]int64, error)

func (*MySQLCoordinator) GetLeastTime

func (my *MySQLCoordinator) GetLeastTime() (int64, error)

func (*MySQLCoordinator) GetWorkerId

func (my *MySQLCoordinator) GetWorkerId() (uint64, error)

func (*MySQLCoordinator) ReportTime

func (my *MySQLCoordinator) ReportTime(timestamp int64) error

Jump to

Keyboard shortcuts

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