README ¶ Console Sinks metadata to standard output. Usage sinks: name:console Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func New(logger log.Logger) plugins.Syncer type Sink func (s *Sink) Close() (err error) func (s *Sink) Init(ctx context.Context, config plugins.Config) (err error) func (s *Sink) Sink(ctx context.Context, batch []models.Record) (err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(logger log.Logger) plugins.Syncer Types ¶ type Sink ¶ type Sink struct { plugins.BasePlugin // contains filtered or unexported fields } func (*Sink) Close ¶ func (s *Sink) Close() (err error) func (*Sink) Init ¶ func (s *Sink) Init(ctx context.Context, config plugins.Config) (err error) func (*Sink) Sink ¶ func (s *Sink) Sink(ctx context.Context, batch []models.Record) (err error) Source Files ¶ View all Source files sink.go Click to show internal directories. Click to hide internal directories.