Documentation ¶
Index ¶
- func AddDB(name, dir string) error
- func AddTable(name, db, dir string) error
- func CopyDB(oldName, name, dir string) error
- func CopyTable(oldName, name, db, dir string) error
- func DeleteDB(name, dir string) error
- func DeleteTable(name, db, dir string) error
- func GetDBs(dir string) ([]string, error)
- func GetTable(name, db, dir string) (table.Table, error)
- func GetTables(db, dir string) ([]string, error)
- func ModifyTable(data table.Table, name string, db string, dir string) error
- func RenameDB(oldName, name, dir string) error
- func RenameTable(oldName, name, db, dir string) error
- type Conf
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteTable ¶
func RenameTable ¶ added in v0.2.1
Types ¶
type Conf ¶
type Conf struct { // Basic config Port string `json:"port"` Dir string `json:"dir"` LogDir string `json:"log_dir"` // HTTPS config HTTPSMode bool `json:"https"` SSLCert string `json:"cert"` SSLKey string `json:"key"` // Query config EnableGTSyntax bool `json:"gt_syntax"` EnableSQLSyntax bool `json:"sql_syntax"` }
Click to show internal directories.
Click to hide internal directories.