blackhole

package
v0.0.0-...-44a46bf Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DMLSink

type DMLSink struct{}

DMLSink is a black hole sink.

func NewDMLSink

func NewDMLSink() *DMLSink

NewDMLSink create a black hole DML sink.

func (*DMLSink) Close

func (s *DMLSink) Close()

Close do nothing.

func (*DMLSink) Dead

func (s *DMLSink) Dead() <-chan struct{}

Dead returns a checker.

func (*DMLSink) SchemeOption

func (s *DMLSink) SchemeOption() (string, bool)

SchemeOption returns the scheme and the option.

func (*DMLSink) WriteEvents

func (s *DMLSink) WriteEvents(rows ...*dmlsink.CallbackableEvent[*model.RowChangedEvent]) (err error)

WriteEvents log the events.

Jump to

Keyboard shortcuts

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