Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConnectRequest ¶
type ConnectResponse ¶
type ConnectResponse struct {
Schemas []string `json:"schemas"`
}
func Connect ¶
func Connect(req *ConnectRequest) (*ConnectResponse, error)
type GenerateRequest ¶
type GenerateResponse ¶
type GenerateResponse struct {
Files []*File `json:"files"`
}
func Generate ¶
func Generate(req *GenerateRequest) (*GenerateResponse, error)
type GetTablesRequest ¶
type GetTablesRequest struct { ConnectRequest Schema string `json:"schema"` }
type GetTablesResponse ¶
type GetTablesResponse struct {
Tables []string `json:"tables"`
}
func GetTables ¶
func GetTables(req *GetTablesRequest) (*GetTablesResponse, error)
Click to show internal directories.
Click to hide internal directories.