Documentation
¶
Index ¶
- type SQLiteStateManager
- func (s *SQLiteStateManager) Close() error
- func (s *SQLiteStateManager) GetStats() (map[string]int, error)
- func (s *SQLiteStateManager) LoadState() (map[string]interface{}, map[string]interface{}, map[string]interface{}, error)
- func (s *SQLiteStateManager) SaveState(rateCache, botCache, verifiedCache map[string]interface{}, ...) error
- type State
- type StateEntry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLiteStateManager ¶ added in v1.9.5
type SQLiteStateManager struct {
// contains filtered or unexported fields
}
func NewSQLiteStateManager ¶ added in v1.9.5
func NewSQLiteStateManager(dbPath string, logger *slog.Logger) (*SQLiteStateManager, error)
func (*SQLiteStateManager) Close ¶ added in v1.9.5
func (s *SQLiteStateManager) Close() error
func (*SQLiteStateManager) GetStats ¶ added in v1.9.5
func (s *SQLiteStateManager) GetStats() (map[string]int, error)
Click to show internal directories.
Click to hide internal directories.