Versions in this module Expand all Collapse all v1 v1.20.0 Nov 26, 2026 Changes in this version + var ErrNoConnection = errors.New("no connection to the telemetry socket") + var ErrNoPayload = errors.New("telemetry connection sent no data") + var ErrPathTooLong = errors.New("socket path is too long") + var ErrUnreadable = errors.New("telemetry payload is unreadable") + type Listener struct + func Listen() (*Listener, error) + func (l *Listener) Close() error + func (l *Listener) Collect(ctx context.Context) (Payload, error) + func (l *Listener) Path() string + type Payload struct + Attributes map[string]json.RawMessage + Version int