package
0.0.6
Repository: https://github.com/github/gh-models.git
Documentation: pkg.go.dev

# Functions

NewEventReader creates an EventReader that provides access to messages of type T from r.
NewMockEventReader creates a new MockEventReader with the given events.

# Structs

EventReader streams events dynamically from an OpenAI endpoint.
MockEventReader is a mock implementation of the sse.EventReader.

# Interfaces

Reader is an interface for reading events from an SSE stream.