Documentation
¶
Overview ¶
Package grok reads sessions from Grok's on-disk JSON/JSONL store.
Index ¶
- Constants
- func ResolveHome() (string, error)
- type Store
- func (s *Store) FindByID(id string) (*session.Session, error)
- func (s *Store) GrepKeys(query string, regex bool) (map[string]struct{}, error)
- func (s *Store) Messages(sessionID string, limit int) ([]session.Message, time.Time, int, error)
- func (s *Store) Scan() ([]*session.Session, error)
- func (s *Store) ScanFiltered(allow map[string]struct{}) ([]*session.Session, error)
Constants ¶
View Source
const EnvHome = "GROK_HOME"
Variables ¶
This section is empty.
Functions ¶
func ResolveHome ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.