Versions in this module Expand all Collapse all v0 v0.5.0 Oct 17, 2026 Changes in this version + type Connection struct + Client netip.AddrPort + End time.Time + FIN bool + Game bool + IfIndex int + RST bool + Received int + SYN int + SYNACK int + Sent int + Server netip.AddrPort + Start time.Time + Status string + func Connections(name string, cfg Config) ([]Connection, error) + func (c Connection) Failed() bool v0.4.0 Oct 3, 2026 v0.3.0 Sep 27, 2026 Changes in this version + func WriteTrace(w io.Writer, msgs iter.Seq2[Message, error]) error + type Action struct + Answered []Count + At time.Time + Sent []int + type Analysis struct + Background []wire.Opcode + Client netip.AddrPort + First time.Time + Last time.Time + Messages []Message + Packets int + Pairs int + Server netip.AddrPort + Start time.Time + Summary Summary + Usual []int + func Analyze(name string, cfg Config) (*Analysis, error) + func (a *Analysis) Actions(window time.Duration) []Action + func (a *Analysis) Type(op wire.Opcode) Detail + func (a *Analysis) Types(marks []time.Time, window time.Duration) []TypeStat + type Config struct + Client bool + Logger *slog.Logger + Record io.Writer + type Count struct + N int + Type wire.Opcode + type Detail struct + Bytes []map[byte]int + Longest int + Messages []Message + Shared []Count + Sizes map[int]int + Values int + type Message struct + Err error + Event game.Event + func (m Message) Failed() bool + type Reader struct + Log bool + Source a2log.Source + func Capture(ctx context.Context, adapter string, cfg Config) (*Reader, error) + func New(d *wire.Decoder, src wire.SegmentReader) *Reader + func Open(name string, cfg Config) (*Reader, error) + func OpenReader(r io.Reader, cfg Config) (*Reader, error) + func (r *Reader) Close() error + func (r *Reader) Messages() iter.Seq2[Message, error] + func (r *Reader) Summary() Summary + type Summary struct + CutShort int + Decoded int + Failed int + Lost error + Messages int + Unread int + type TypeStat struct + Background bool + Count int + Decoded int + Failed int + Idle float64 + Marks int + Sizes map[int]int + Type wire.Opcode + Within int v0.2.1 Sep 26, 2026 v0.2.0 Sep 25, 2026 v0.1.0 Sep 24, 2026 v0.0.1 Sep 23, 2026