Files
aimaren/internal/storage/storage.go
T
2025-07-26 05:58:59 +00:00

13 lines
293 B
Go

package storage
import (
"context"
)
// Storer defines the interface for database operations.
type Storer interface {
FetchAppState(ctx context.Context) (*AppState, error)
UpdateAppState(ctx context.Context, newState *AppState) error
AddChatID(ctx context.Context, chatID int64) error
}