Documentation ¶
Index ¶
- type Client
- func (c Client) Admin(t *types.DBIn) (out *types.DBOut, err error)
- func (c Client) CreateDB(n string, dsn string) (err error)
- func (c Client) DBs() (out *types.DBOut, err error)
- func (c Client) DelTenant(t string) (out int64, err error)
- func (c Client) DropDB(n string, dsn string) (err error)
- func (c Client) Init(n string) (out string, err error)
- func (c *Client) SetBasePath(s string)
- func (c Client) SetTenant(t string, d string) (out int64, err error)
- func (c Client) Tables(n string) (out *types.DBOut, err error)
- func (c Client) Tenant(t string) (out string, err error)
- func (c Client) Tenants() (out []string, err error)
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) SetBasePath ¶
Click to show internal directories.
Click to hide internal directories.