Documentation
¶
Index ¶
- func Drivers() map[string]driver.Driver
- func Register(name string, driver driver.Driver)
- type DataSource
- func (ds *DataSource) Close() error
- func (ds *DataSource) GetRows(ctx context.Context, name string) ([]*driver.Row, error)
- func (ds *DataSource) GetSchema(ctx context.Context, name string) (*driver.Schema, error)
- func (ds *DataSource) SetRows(ctx context.Context, name string, rows []*driver.Row) error
- func (ds *DataSource) SetSchema(ctx context.Context, name string, schema *driver.Schema) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DataSource ¶ added in v0.2.0
type DataSource struct {
// contains filtered or unexported fields
}
func OpenDataSource ¶ added in v0.2.0
func OpenDataSource(connector driver.Connector) *DataSource
func (*DataSource) Close ¶ added in v0.2.0
func (ds *DataSource) Close() error
Click to show internal directories.
Click to hide internal directories.