Documentation ¶
Index ¶
Constants ¶
View Source
const MaxScanTokenSize = 2000 * 1000
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NDJSONScanner ¶
type NDJSONScanner struct {
// contains filtered or unexported fields
}
func NewBufferScanner ¶
func NewBufferScanner(reader io.ReadCloser) *NDJSONScanner
func NewURLScanner ¶
func (*NDJSONScanner) Bytes ¶
func (ns *NDJSONScanner) Bytes() []byte
func (*NDJSONScanner) Close ¶
func (ns *NDJSONScanner) Close() error
func (*NDJSONScanner) ContentLength ¶
func (ns *NDJSONScanner) ContentLength() int64
func (*NDJSONScanner) Err ¶
func (ns *NDJSONScanner) Err() error
func (*NDJSONScanner) Scan ¶
func (ns *NDJSONScanner) Scan() bool
Click to show internal directories.
Click to hide internal directories.