Documentation
¶
Index ¶
- func RunClientResponse(ctx context.Context, d driver.Driver, res *client.Response) (zbuf.ScannerStats, error)
- type ControlWriter
- type Driver
- func (d *Driver) ChannelEnd(channelID int) error
- func (d *Driver) Close() error
- func (d *Driver) Error(err error)
- func (d *Driver) Stats(stats zbuf.ScannerStats) error
- func (d *Driver) Warn(warning string) error
- func (d *Driver) Write(cid int, batch zbuf.Batch) error
- func (d *Driver) WriteControl(value interface{}) error
- type ZJSONWriter
- type ZNGReader
- type ZNGWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ControlWriter ¶
type ControlWriter interface {
zio.WriteCloser
WriteControl(interface{}) error
}
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
func (*Driver) ChannelEnd ¶
func (*Driver) WriteControl ¶
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
type ZNGReader ¶
type ZNGReader struct {
// contains filtered or unexported fields
}
func NewZNGReader ¶
type ZNGWriter ¶
func NewZNGWriter ¶
func NewZNGWriter(w io.WriteCloser) *ZNGWriter
func (*ZNGWriter) WriteControl ¶
Click to show internal directories.
Click to hide internal directories.