tarantool

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2020 License: MIT Imports: 3 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(opts *Options) *Client

func (*Client) Close

func (c *Client) Close()

func (*Client) Exec

func (c *Client) Exec(ctx context.Context, q tarantool.Query, opts ...tarantool.ExecOption) (res *tarantool.Result, err error)

type Options

type Options struct {
	Addr           string
	User           string
	Password       string
	Retries        int
	ConnectTimeout time.Duration
	QueryTimeout   time.Duration
}

Jump to

Keyboard shortcuts

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