sse

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataPayload

func DataPayload(line string) (string, bool)

DataPayload extracts the JSON payload from an SSE data line.

func ReadLine

func ReadLine(r io.Reader, byteCounter *int) (string, error)

ReadLine reads a single line from an SSE stream (without trailing newline).

Types

This section is empty.

Jump to

Keyboard shortcuts

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