Documentation
¶
Index ¶
- func NewScanner(ctx context.Context, rc io.ReadCloser) (zbuf.Scanner, error)
- type Writer
- func (w *Writer) Close() error
- func (w *Writer) WhiteChannelEnd(channel string) error
- func (w *Writer) WriteBatch(channel string, batch zbuf.Batch) error
- func (w *Writer) WriteControl(value interface{}) error
- func (w *Writer) WriteError(err error)
- func (w *Writer) WriteProgress(stats zbuf.Progress) error
- type ZJSONWriter
- type ZNGWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewScanner ¶ added in v1.18.0
Types ¶
type Writer ¶ added in v1.0.0
type Writer struct {
// contains filtered or unexported fields
}
func (*Writer) WhiteChannelEnd ¶ added in v1.0.0
func (*Writer) WriteBatch ¶ added in v1.0.0
func (*Writer) WriteControl ¶ added in v1.0.0
func (*Writer) WriteError ¶ added in v1.0.0
type ZJSONWriter ¶
type ZJSONWriter struct {
// contains filtered or unexported fields
}
func NewZJSONWriter ¶
func NewZJSONWriter(w io.Writer) *ZJSONWriter
func (*ZJSONWriter) Close ¶
func (w *ZJSONWriter) Close() error
func (*ZJSONWriter) WriteControl ¶
func (w *ZJSONWriter) WriteControl(v interface{}) error
Click to show internal directories.
Click to hide internal directories.