Documentation ¶
Index ¶
- func New() auacornapi.Acorn
- type Impl
- func (r *Impl) AcornName() string
- func (r *Impl) AssembleAcorn(registry auacornapi.AcornRegistry) error
- func (r *Impl) Connect(ctx context.Context) error
- func (r *Impl) Disconnect(ctx context.Context) error
- func (r *Impl) IsKafka() bool
- func (r *Impl) Level() kgo.LogLevel
- func (r *Impl) Log(level kgo.LogLevel, msg string, keyvals ...interface{})
- func (r *Impl) Send(ctx context.Context, event repository.UpdateEvent) error
- func (r *Impl) SetupAcorn(registry auacornapi.AcornRegistry) error
- func (r *Impl) StartReceiveLoop(ctx context.Context) error
- func (r *Impl) SubscribeIncoming(ctx context.Context, callback repository.ReceiverCallback) error
- func (r *Impl) TeardownAcorn(registry auacornapi.AcornRegistry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Impl ¶
type Impl struct { Configuration librepo.Configuration CustomConfiguration config.CustomConfiguration Logging librepo.Logging HostIP repository.HostIP Callback repository.ReceiverCallback KafkaProducer *kgo.Client KafkaConsumer *kgo.Client KafkaTopic string }
func (*Impl) AssembleAcorn ¶
func (*Impl) Send ¶
func (r *Impl) Send(ctx context.Context, event repository.UpdateEvent) error
func (*Impl) SetupAcorn ¶
func (*Impl) SubscribeIncoming ¶
func (r *Impl) SubscribeIncoming(ctx context.Context, callback repository.ReceiverCallback) error
func (*Impl) TeardownAcorn ¶
Click to show internal directories.
Click to hide internal directories.