Versions in this module Expand all Collapse all v0 v0.2.0 May 16, 2026 Changes in this version + type Fetcher interface + GetMessages func(ctx context.Context, sessionID string) ([]Message, error) + type Message struct + At time.Time + Role string + Seq int64 + SessionID string + Text string + type SQLStore struct + func NewSQLStore(driver, dsn, table string) (*SQLStore, error) + func (s *SQLStore) Close() error + func (s *SQLStore) GetMessages(ctx context.Context, sessionID string) ([]Message, error) + func (s *SQLStore) SaveMessage(ctx context.Context, sessionID, role, text string, at time.Time, seq int64) error + type Store interface + Close func() error + SaveMessage func(ctx context.Context, sessionID, role, text string, at time.Time, seq int64) error