sse

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DoubleNewline is a double newline.
	DoubleNewline = "\n\n"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Scanner

type Scanner struct {
	*bufio.Scanner
}

Scanner is a scanner for server sent events.

func NewScanner

func NewScanner(r io.Reader) *Scanner

NewScanner creates a new scanner for server sent events.

Jump to

Keyboard shortcuts

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