Documentation
¶
Index ¶
- type SQLiteStorage
- func (s *SQLiteStorage) Cleanup(module string)
- func (s *SQLiteStorage) Read(ctx context.Context, module string) (data []model.Data, err error)
- func (s *SQLiteStorage) View(ctx context.Context, module string) (data map[string]map[string]string, err error)
- func (s *SQLiteStorage) Write(ctx context.Context, d model.Data) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLiteStorage ¶
func NewStorage ¶
func NewStorage(ctx context.Context, path string) (*SQLiteStorage, error)
func (*SQLiteStorage) Cleanup ¶
func (s *SQLiteStorage) Cleanup(module string)
Cleanup removes the table for the given module
Click to show internal directories.
Click to hide internal directories.