commonpool

package
v0.0.0-...-8e4d058 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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