query

package
v3.54.4-rc0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func New

func New(ctx context.Context, balancer balancer, config *config.Config) (*Client, error)

func (Client) Close

func (c Client) Close(ctx context.Context) error

func (Client) Do

func (c Client) Do(ctx context.Context, op query.Operation, opts ...query.DoOption) error

func (Client) DoTx

func (c Client) DoTx(ctx context.Context, op query.TxOperation, opts ...query.DoTxOption) error

type SessionPool

type SessionPool interface {
	With(ctx context.Context, f func(ctx context.Context, s *session) error) error
	Close(ctx context.Context) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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