Documentation
¶
Index ¶
- func NewRegistry() *adapter.Registry
- type Services
- func (s *Services) Connections() []config.Connection
- func (s *Services) FetchPage(cursor string) (result.QueryPage, error)
- func (s *Services) FindConnection(name string) (config.Connection, bool, error)
- func (s *Services) RunQuery(ctx context.Context, name string, sqlText string, limit int) (config.Connection, query.Outcome, error)
- func (s *Services) RunQueryConnection(ctx context.Context, conn config.Connection, sqlText string, limit int) (query.Outcome, error)
- func (s *Services) SchemaTree(ctx context.Context, name string) (config.Connection, any, error)
- func (s *Services) TestConnection(ctx context.Context, name string) (config.Connection, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRegistry ¶
Types ¶
type Services ¶
type Services struct {
Store *config.Store
Registry *adapter.Registry
PageStore *result.PageStore
Timeout time.Duration
}
func (*Services) Connections ¶
func (s *Services) Connections() []config.Connection
func (*Services) FindConnection ¶
func (*Services) RunQueryConnection ¶
func (*Services) SchemaTree ¶
func (*Services) TestConnection ¶
Click to show internal directories.
Click to hide internal directories.