package
Version:
v0.8.1
Opens a new window with list of versions in this module.
Published: Oct 31, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package streamevent encodes GoAI events for SDK NDJSON streams.
type Line struct {
Type string `json:"type"`
Data any `json:"data,omitempty"`
}
Line is one NDJSON event envelope.
FromEvent converts value and pointer error payloads to their wire
representation. Malformed error payloads produce a descriptive error event.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.