Documentation ¶
Index ¶
- Constants
- type Conn
- func (This *Conn) CheckUri() error
- func (This *Conn) Close() bool
- func (This *Conn) Commit() (*pluginDriver.PluginBinlog, error)
- func (This *Conn) Connect() bool
- func (This *Conn) Del(data *pluginDriver.PluginDataType) (*pluginDriver.PluginBinlog, error)
- func (This *Conn) GetConnStatus() string
- func (This *Conn) HeartCheck()
- func (This *Conn) Insert(data *pluginDriver.PluginDataType) (*pluginDriver.PluginBinlog, error)
- func (This *Conn) Query(data *pluginDriver.PluginDataType) (*pluginDriver.PluginBinlog, error)
- func (This *Conn) ReConnect() bool
- func (This *Conn) SetConnStatus(status string)
- func (This *Conn) SetParam(p interface{}) (interface{}, error)
- func (This *Conn) Update(data *pluginDriver.PluginDataType) (*pluginDriver.PluginBinlog, error)
- type MyConn
- type Stub
Constants ¶
View Source
const BIFROST_VERION = "v1.1.0"
View Source
const VERSION = "v1.1.0"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct { Uri string // contains filtered or unexported fields }
func (*Conn) Commit ¶
func (This *Conn) Commit() (*pluginDriver.PluginBinlog, error)
func (*Conn) Del ¶
func (This *Conn) Del(data *pluginDriver.PluginDataType) (*pluginDriver.PluginBinlog, error)
func (*Conn) GetConnStatus ¶
func (*Conn) HeartCheck ¶
func (This *Conn) HeartCheck()
func (*Conn) Insert ¶
func (This *Conn) Insert(data *pluginDriver.PluginDataType) (*pluginDriver.PluginBinlog, error)
func (*Conn) Query ¶
func (This *Conn) Query(data *pluginDriver.PluginDataType) (*pluginDriver.PluginBinlog, error)
func (*Conn) SetConnStatus ¶
func (*Conn) Update ¶
func (This *Conn) Update(data *pluginDriver.PluginDataType) (*pluginDriver.PluginBinlog, error)
type Stub ¶
type Stub struct { Check func() error Insert func(SchemaName string, TableName string, data map[string]interface{}) (e error) Update func(SchemaName string, TableName string, data []map[string]interface{}) (e error) Delete func(SchemaName string, TableName string, data map[string]interface{}) (e error) Query func(SchemaName string, TableName string, sql string) (e error) }
Click to show internal directories.
Click to hide internal directories.