Documentation
¶
Index ¶
- Constants
- func NewConn() pluginDriver.Driver
- type Conn
- func (This *Conn) CheckUri() error
- func (This *Conn) Close() bool
- func (This *Conn) Commit(data *pluginDriver.PluginDataType, retry bool) (*pluginDriver.PluginDataType, *pluginDriver.PluginDataType, error)
- func (This *Conn) Del(data *pluginDriver.PluginDataType, retry bool) (*pluginDriver.PluginDataType, *pluginDriver.PluginDataType, error)
- func (This *Conn) GetParam(p interface{}) (*PluginParam, error)
- func (This *Conn) GetUriExample() string
- func (This *Conn) Insert(data *pluginDriver.PluginDataType, retry bool) (*pluginDriver.PluginDataType, *pluginDriver.PluginDataType, error)
- func (This *Conn) Open() error
- func (This *Conn) Query(data *pluginDriver.PluginDataType, retry bool) (*pluginDriver.PluginDataType, *pluginDriver.PluginDataType, error)
- func (This *Conn) SetOption(uri *string, param map[string]interface{})
- func (This *Conn) SetParam(p interface{}) (interface{}, error)
- func (This *Conn) Update(data *pluginDriver.PluginDataType, retry bool) (*pluginDriver.PluginDataType, *pluginDriver.PluginDataType, error)
- type HttpContentType
- type PluginParam
Constants ¶
View Source
const BIFROST_VERION = "v1.6.0"
View Source
const VERSION = "v1.6.0"
Variables ¶
This section is empty.
Functions ¶
func NewConn ¶
func NewConn() pluginDriver.Driver
Types ¶
type Conn ¶
type Conn struct { pluginDriver.PluginDriverInterface // contains filtered or unexported fields }
func (*Conn) Commit ¶
func (This *Conn) Commit(data *pluginDriver.PluginDataType, retry bool) (*pluginDriver.PluginDataType, *pluginDriver.PluginDataType, error)
func (*Conn) Del ¶
func (This *Conn) Del(data *pluginDriver.PluginDataType, retry bool) (*pluginDriver.PluginDataType, *pluginDriver.PluginDataType, error)
func (*Conn) GetParam ¶
func (This *Conn) GetParam(p interface{}) (*PluginParam, error)
func (*Conn) GetUriExample ¶
func (*Conn) Insert ¶
func (This *Conn) Insert(data *pluginDriver.PluginDataType, retry bool) (*pluginDriver.PluginDataType, *pluginDriver.PluginDataType, error)
func (*Conn) Query ¶
func (This *Conn) Query(data *pluginDriver.PluginDataType, retry bool) (*pluginDriver.PluginDataType, *pluginDriver.PluginDataType, error)
func (*Conn) Update ¶
func (This *Conn) Update(data *pluginDriver.PluginDataType, retry bool) (*pluginDriver.PluginDataType, *pluginDriver.PluginDataType, error)
type HttpContentType ¶
type HttpContentType string
const (
HTTP_CONTENT_TYPE_JSON_RAW HttpContentType = "application/json-raw"
)
type PluginParam ¶
type PluginParam struct { Timeout int ContentType HttpContentType BifrostFilterQuery bool // bifrost server 保留,是否过滤sql事件 }
Click to show internal directories.
Click to hide internal directories.