src

package
v1.8.6-release Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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
	Uri *string
	// contains filtered or unexported fields
}

func (*Conn) CheckUri

func (This *Conn) CheckUri() error

func (*Conn) Close

func (This *Conn) Close() bool

func (*Conn) Connect

func (This *Conn) Connect() bool

func (*Conn) GetUriExample

func (This *Conn) GetUriExample() string

func (*Conn) Open

func (This *Conn) Open() error

func (*Conn) ReConnect

func (This *Conn) ReConnect() bool

func (*Conn) SetOption

func (This *Conn) SetOption(uri *string, param map[string]interface{})

func (*Conn) SetParam

func (This *Conn) SetParam(p interface{}) (interface{}, 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)
}

Jump to

Keyboard shortcuts

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