Documentation
¶
Overview ¶
Package ledger persists per-MCP-client session metrics to .remindb/sessions/ as append-only JSONL.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Hash ¶
func Hash(c ClientMeta, transport string) string
Types ¶
type ClientLedger ¶
type ClientMeta ¶
type Ledger ¶
type Ledger struct {
// contains filtered or unexported fields
}
func (*Ledger) Client ¶
func (l *Ledger) Client(hash string) (*ClientLedger, error)
Client aggregates the single client file whose name carries hash.
func (*Ledger) Clients ¶
func (l *Ledger) Clients() ([]ClientLedger, error)
Clients aggregates every client file, collapsing each by session_id.
Click to show internal directories.
Click to hide internal directories.