Versions in this module Expand all Collapse all v1 v1.5.0 Jul 19, 2026 Changes in this version + type Client struct + func NewClient(dbFilePath string) (*Client, error) + func (c *Client) DeleteSessions(startTimes []time.Time) error + func (c *Client) GetSessions(since, until time.Time, tags []string) ([]*models.Session, error) + func (c *Client) Open() error + func (c *Client) UpdateSessions(sessions map[time.Time]*models.Session) error + type DB interface + Close func() error + DeleteSessions func(startTimes []time.Time) error + GetSessions func(since, until time.Time, tags []string) ([]*models.Session, error) + Open func() error + UpdateSessions func(map[time.Time]*models.Session) error