Discover Packages
github.com/ProtonMail/gluon
liner
package
Version:
v0.17.0
Opens a new window with list of versions in this module.
Published: Jul 7, 2023
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package liner handles reading lines from clients that may or may not require continuation.
Lines returns a channel that will receive lines as they are read.
Read reads a full line, automatically reading again if the line was not complete.
Each time an additional read is performed, doContinuation is called.
If the callback returns an error, the operation is aborted.
Reset resets the liner to read from a new reader.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.