Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseFileBytes ¶
ParseFileBytes parses raw file bytes and returns all entries found within. agentID is taken from the caller (typically the directory name); sourceFile is the path used for the SourceFile field on each entry.
Types ¶
type FileStore ¶
type FileStore struct {
// contains filtered or unexported fields
}
FileStore manages per-agent flat-file memory logs.
func NewFileStore ¶
NewFileStore creates a FileStore rooted at notesDir with per-file size limit. Pass nil for clock to use time.Now.
Click to show internal directories.
Click to hide internal directories.