jsonl

package module
v3.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: BSD-3-Clause Imports: 11 Imported by: 2

README

go-writer-jsonl

JSONL output handler for the go-writer Writer interface.

Documentation

Documentation is incomplete.

See also

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewJSONLWriter

func NewJSONLWriter(ctx context.Context, uri string) (writer.Writer, error)

Types

type JSONLWriter

type JSONLWriter struct {
	writer.Writer
	// contains filtered or unexported fields
}

func (*JSONLWriter) Close

func (jsonl_wr *JSONLWriter) Close(ctx context.Context) error

func (*JSONLWriter) Flush

func (jsonl_wr *JSONLWriter) Flush(ctx context.Context) error

func (*JSONLWriter) SetLogger

func (jsonl_wr *JSONLWriter) SetLogger(ctx context.Context, logger *log.Logger) error

func (*JSONLWriter) Write

func (jsonl_wr *JSONLWriter) Write(ctx context.Context, key string, fh io.ReadSeeker) (int64, error)

func (*JSONLWriter) WriterURI

func (jsonl_wr *JSONLWriter) WriterURI(ctx context.Context, str_uri string) string

Jump to

Keyboard shortcuts

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