Documentation ¶
Index ¶
- func InitInstance(timeout time.Duration)
- type Client
- func (c *Client) ExecuteRawSql(token string, baseUrl string, namespace string, dataSource string, sql string, ...) ([]map[string]any, error)
- func (c *Client) ExecuteSql(token string, baseUrl string, namespace string, dataSource string, name string, ...) ([]map[string]any, error)
- func (c *Client) GetDataSources(token string, baseUrl string, namespace string, name string, typeStr string, ...) ([]DataSourceInfo, error)
- func (c *Client) GetNamespaces(token string, baseUrl string, name string, pageNo int, pageSize int) ([]NamespaceInfo, error)
- type DataSourceInfo
- type NamespaceInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitInstance ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func GetInstance ¶
func GetInstance() *Client
func (*Client) ExecuteRawSql ¶
func (*Client) ExecuteSql ¶
func (*Client) GetDataSources ¶
func (*Client) GetNamespaces ¶
type DataSourceInfo ¶
Click to show internal directories.
Click to hide internal directories.