Documentation ¶
Index ¶
- Constants
- func Alarm(msg string)
- func CheckTableExist(mysqlHost string, mysqlPort int, mysqlUser string, mysqlPasswd string, ...) (bool, error)
- func CreateEphemeralSequential(zkConn *zk.Conn, nodesPath string) (string, error)
- func EnsurePath(zkConn *zk.Conn, path string, value []byte) error
- func GetConsumeOffset(mysqlHost string, mysqlPort int, mysqlUser string, mysqlPasswd string, ...) (int64, error)
- func GetMysqlVar(mysqlHost string, mysqlPort int, mysqlUser string, mysqlPasswd string, ...) (string, error)
Constants ¶
View Source
const ( OffsetNewest int64 = -1 OffsetOldest int64 = -2 OffsetCheckpoint int64 = -3 )
Variables ¶
This section is empty.
Functions ¶
func CheckTableExist ¶
func GetConsumeOffset ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.