Documentation
¶
Overview ¶
Package v2 defines version 2 of the persisted voice activity records, independent of the session protocol. Each file holds the records of one session in <minute>-<session>.jsonl. A completed session's file is archived as <minute>-<session>.jsonl.zst.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Storage = apispec.Storage{ Format: apispec.JSON, Types: []reflect.Type{reflect.TypeFor[Record]()}, }
Storage is the schema specification of the activity log; each JSON Lines row is a Record.
Immutable
Functions ¶
This section is empty.
Types ¶
type Record ¶
type Record struct {
Timestamp apidto.Time `json:"ts"`
Source Source `json:"src"`
Protocol string `json:"protocol"`
Kind string `json:"kind"`
Message jsontext.Value `json:"msg"`
}
Record is one JSONL activity entry. Message retains the complete opaque protocol message.
Protocol names the gateway contract of Message, such as "v2".