Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSQLiteTableNotFound = errors.New("sqlite table not found")
Functions ¶
This section is empty.
Types ¶
type SQLiteTableDetail ¶
type SQLiteTableProvider ¶
type SQLiteTableProvider interface {
ListSQLiteTables() ([]SQLiteTableSummary, error)
GetSQLiteTable(name string, page int, perPage int) (SQLiteTableDetail, error)
}
type SQLiteTableSummary ¶
type SqliteTableProvider ¶
type SqliteTableProvider struct {
// contains filtered or unexported fields
}
func NewSQLiteTableProvider ¶
func NewSQLiteTableProvider(ctx nmq.Context, log *zap.Logger) *SqliteTableProvider
func (*SqliteTableProvider) GetSQLiteTable ¶
func (p *SqliteTableProvider) GetSQLiteTable(name string, page int, perPage int) (SQLiteTableDetail, error)
func (*SqliteTableProvider) ListSQLiteTables ¶
func (p *SqliteTableProvider) ListSQLiteTables() ([]SQLiteTableSummary, error)
Click to show internal directories.
Click to hide internal directories.