client

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2025 License: Apache-2.0 Imports: 9 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 NewClient

func NewClient(cfg config.Context, version string) *Client

func (*Client) Close

func (c *Client) Close() error

func (*Client) Exec

func (c *Client) Exec(query string, args ...interface{}) (sql.Result, error)

func (*Client) GetVersion

func (c *Client) GetVersion() (string, error)

func (*Client) Query

func (c *Client) Query(query string, args ...interface{}) (*sql.Rows, error)

func (*Client) QueryRow

func (c *Client) QueryRow(query string, args ...interface{}) *sql.Row

Jump to

Keyboard shortcuts

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