Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLiteStore ¶
type SQLiteStore struct {
// contains filtered or unexported fields
}
SQLiteStore represents the SQLite database storage for history events.
func NewSQLiteStore ¶
func NewSQLiteStore(dsn string) (*SQLiteStore, error)
NewSQLiteStore initializes a new SQLite connection and schema.
func (*SQLiteStore) Close ¶
func (s *SQLiteStore) Close() error
Close closes the database connection.
func (*SQLiteStore) InsertEvent ¶
InsertEvent inserts a single history event with retry logic.
func (*SQLiteStore) InsertEvents ¶
InsertEvents performs a batch insert wrapped in a transaction.
Click to show internal directories.
Click to hide internal directories.