Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Env ¶
type Env struct {
Session *mcp.ClientSession
Store *store.Store
// RescanDir is the source dir a NewEnvWithRescan loop watches; "" otherwise.
RescanDir string
// WorkspaceDir is the source dir whose .remindb/ holds the session ledger.
WorkspaceDir string
// contains filtered or unexported fields
}
func NewEnvWithLog ¶ added in v0.3.4
func NewEnvWithRescan ¶ added in v0.3.4
func NewEnvWithSessionLedger ¶ added in v0.3.5
func NewEnvWithSessionLogs ¶ added in v0.3.5
NewEnvWithSessionLogs wires the production session-log chain: WithSourceDir (so the registry middleware injects the session id) plus a logger whose outermost handler is sessionlog.Handler over an Info-gated discard stream — the same shape cmd/remindb/serve.go builds when session_files is enabled.
func NewHttpEnv ¶ added in v0.2.0
func (*Env) FlushSessions ¶ added in v0.3.5
func (e *Env) FlushSessions()
FlushSessions forces a session-ledger flush so tests observe it deterministically.
func (*Env) ReadResource ¶ added in v0.3.4
func (*Env) TextContent ¶
Click to show internal directories.
Click to hide internal directories.