tlclick

package
v0.23.1 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultPoolOptions added in v0.23.0

func DefaultPoolOptions(addr string) chpool.Options

func NewPool added in v0.23.0

func NewPool(ctx context.Context, opts chpool.Options) (*chpool.Pool, error)

Types

type Click

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

func New

func New(pool *chpool.Pool) *Click

func (*Click) CreateTables

func (d *Click) CreateTables(ctx context.Context) error

func (*Click) Query

func (d *Click) Query(ctx context.Context, w io.Writer, ts int64, q string) error

func (*Click) Write

func (d *Click) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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