Versions in this module Expand all Collapse all v0 v0.9.4 Aug 20, 2026 v0.9.3 Aug 20, 2026 v0.9.2 Aug 20, 2026 v0.9.1 Aug 19, 2026 v0.9.0 Aug 19, 2026 Changes in this version + const MaxFrame + const Proto + const TChunk + const TJSON + func ReadFrame(r io.Reader) (t byte, p []byte, err error) + func WriteFrame(w io.Writer, t byte, p []byte) error + type Event struct + At time.Time + Code int + Event string + Title string + type Hello struct + BaseSeq uint64 + EndSeq uint64 + Info json.RawMessage + Pid int + Proto int + Version string + type Req struct + Cols uint16 + Data []byte + FromSeq uint64 + ID uint64 + N int + Rows uint16 + Sig int + Spawn *SpawnReq + Verb string + type Resp struct + Cols uint16 + Data []byte + Err string + Hello *Hello + ID uint64 + Rows uint16 + StartSeq uint64 + Truncated bool + type SpawnReq struct + Argv []string + Cols uint16 + Cwd string + Env []string + Ephemeral bool + Group string + ID string + Preload []byte + Restore json.RawMessage + RingSize int + Rows uint16 + Run []string