commonpool

package
v0.0.0-...-c8f6ff2 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: MIT Imports: 5 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, host string, port int) (*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, host string, port int) (*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