middleware

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2021 License: Apache-2.0 Imports: 0 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pool

type Pool interface {
	Close() error
	IsClosed() bool
	Get() (PoolConn, error)
	Supply(num int) error
	Release(num int) error
}

type PoolConn

type PoolConn interface {
	Close() error
	DisConnect() error
	IsValid() bool
	Execute(command string, args ...interface{}) (Result, error)
}

type Result added in v0.2.7

type Result interface {
	RowNumber() int
	ColumnNumber() int
	GetValue(row, column int) (interface{}, error)
	NameIndex(name string) (int, error)
	GetValueByName(row int, name string) (interface{}, error)
	IsNull(row, column int) (bool, error)
	IsNullByName(row int, name string) (bool, error)
	GetUint(row, column int) (uint64, error)
	GetUintByName(row int, name string) (uint64, error)
	GetInt(row, column int) (int64, error)
	GetIntByName(row int, name string) (int64, error)
	GetFloat(row, column int) (float64, error)
	GetFloatByName(row int, name string) (float64, error)
	GetString(row, column int) (string, error)
	GetStringByName(row int, name string) (string, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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