Documentation ¶
Index ¶
- type Options
- type Results
- func (s *Results) Close() error
- func (s *Results) Get(ctx context.Context, uuid string) ([]byte, error)
- func (s *Results) Query(ctx context.Context, token string, filters ...*tq.Filter) ([]*tq.QueryResult, string, error)
- func (s *Results) Set(ctx context.Context, uuid, status string, meta *tq.Correlation, b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
Path string `yaml:"path"`
}
Options for connecting to SQLite db
type Results ¶
type Results struct {
// contains filtered or unexported fields
}
Results represents a DB connection to sqlite
func New ¶
New opens a SQLite DB file (or in-mem). We also attempt to create / update tables to make it ready for use.
Click to show internal directories.
Click to hide internal directories.