observer

package
v0.0.0-...-25dc0e1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NotificationStatus

type NotificationStatus struct {
	// contains filtered or unexported fields
}

type Observer

type Observer struct {
	// contains filtered or unexported fields
}

func NewObserver

func NewObserver(
	ctx context.Context,
	sStore storage.Database,
	blacklist blacklist.Blacklister,
	eventManager *events.EventManager,
) (*Observer, error)

func (*Observer) HandleEvent

func (o *Observer) HandleEvent(ctx context.Context, event events.EventMessage)

type Overseer

type Overseer interface {
	HandleEvent(context.Context, events.EventMessage)
}

Jump to

Keyboard shortcuts

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