Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConditionEq = 0 ConditionPre = 1 )
filter condition
View Source
const ( LiverpcSchema = "liverpc" HTTPSchema = "http" )
Notify callback schema
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArgPub ¶
type ArgPub struct { AppKey string `form:"appkey" validate:"min=1"` AppSecret string `form:"appsecret" validate:"min=1"` Group string `form:"group" validate:"min=1"` Topic string `form:"topic" validate:"min=1"` Key string `form:"key" validate:"min=1"` Msg string `form:"msg" validate:"min=1"` }
ArgPub pub arg.
type FailBackup ¶
type FailBackup struct { ID int64 Cluster string Topic string Group string Offset int64 Msg string Index int64 }
FailBackup fail backup msg.
type Message ¶
type Message struct { Table string `json:"table,omitempty"` Action string `json:"action,omitempty"` }
Message define canal message.
Click to show internal directories.
Click to hide internal directories.