hi_sse

package
v1.0.161 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Data []byte
}

type EventStream

type EventStream struct {
	// contains filtered or unexported fields
}

func NewEventStreamFromReader

func NewEventStreamFromReader(stream io.Reader, maxBufferSize int) *EventStream

NewEventStreamFromReader creates an instance of EventStream.

func (*EventStream) Next

func (e *EventStream) Next() (*Event, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL