psdb

package
v1.1.1-0...-a687fc2 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 6 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 (*Client) Close

func (c *Client) Close() error

func (*Client) Read

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

func (*Client) Write

func (c *Client) Write(query string, args ...interface{}) (int64, error)

type Config

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

func (*Config) AddToCommand

func (cfg *Config) AddToCommand(cmd *cobra.Command)

func (*Config) AddToViper

func (cfg *Config) AddToViper(v *viper.Viper)

func (*Config) IsValid

func (cfg *Config) IsValid() bool

func (*Config) NewClient

func (cfg *Config) NewClient() (*Client, error)

Jump to

Keyboard shortcuts

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