client

package
v0.0.0-...-d9bf644 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: Apache-2.0 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() *Client

func (Client) Admin

func (c Client) Admin(t *types.DBIn) (out *types.DBOut, err error)

func (Client) CreateDB

func (c Client) CreateDB(n string, dsn string) (err error)

func (Client) DBs

func (c Client) DBs() (out *types.DBOut, err error)

func (Client) DelTenant

func (c Client) DelTenant(t string) (out int64, err error)

func (Client) DropDB

func (c Client) DropDB(n string, dsn string) (err error)

func (Client) Init

func (c Client) Init(n string) (out string, err error)

func (*Client) SetBasePath

func (c *Client) SetBasePath(s string)

func (Client) SetTenant

func (c Client) SetTenant(t string, d string) (out int64, err error)

func (Client) Tables

func (c Client) Tables(n string) (out *types.DBOut, err error)

func (Client) Tenant

func (c Client) Tenant(t string) (out string, err error)

func (Client) Tenants

func (c Client) Tenants() (out []string, err error)

Jump to

Keyboard shortcuts

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