endofline

package
v0.0.0-...-5d469e5 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrNotEndOfLine = erorr.Error("httpsse: not end-of-line")
)

Variables

This section is empty.

Functions

func Copy

func Copy(writer io.Writer, runescanner io.RuneScanner) (written int64, err error)

Copy copies the 'end-of-line' as defined by the HTTP-SSE specification: https://html.spec.whatwg.org/multipage/server-sent-events.html

end-of-line   = ( cr lf / cr / lf )

Types

This section is empty.

Jump to

Keyboard shortcuts

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