db

package
v0.0.0-...-4aeb6e2 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2021 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdvanceConn

type AdvanceConn struct {
	TaosConnection *af.Connector
	// contains filtered or unexported fields
}

func GetAdvanceConnection

func GetAdvanceConnection(user, password string) (*AdvanceConn, error)

func (*AdvanceConn) Put

func (c *AdvanceConn) Put() error

type AdvancePool

type AdvancePool struct {
	// contains filtered or unexported fields
}

func NewAdvancePool

func NewAdvancePool(user, password string) (*AdvancePool, error)

func (*AdvancePool) Close

func (a *AdvancePool) Close(c unsafe.Pointer) error

func (*AdvancePool) Get

func (a *AdvancePool) Get() (*af.Connector, error)

func (*AdvancePool) Put

func (a *AdvancePool) Put(c *af.Connector) error

func (*AdvancePool) Release

func (a *AdvancePool) Release()

type Conn

type Conn struct {
	TaosConnection unsafe.Pointer
	// contains filtered or unexported fields
}

func GetConnection

func GetConnection(user, password string) (*Conn, error)

func (*Conn) Put

func (c *Conn) Put() error

type ConnectorPool

type ConnectorPool struct {
	// contains filtered or unexported fields
}

func NewConnectorPool

func NewConnectorPool(user, password string) (*ConnectorPool, error)

func (*ConnectorPool) Close

func (a *ConnectorPool) Close(c unsafe.Pointer) error

func (*ConnectorPool) Get

func (a *ConnectorPool) Get() (unsafe.Pointer, error)

func (*ConnectorPool) Put

func (a *ConnectorPool) Put(c unsafe.Pointer) error

func (*ConnectorPool) Release

func (a *ConnectorPool) Release()

Jump to

Keyboard shortcuts

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