Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interceptor ¶
type Interceptor interface {
Handle(ctx context.Context, src string, ssEvt *sse.Event, raw map[string]any) (matches bool, err error)
}
func NewDefault ¶
func NewDefault(w writer.Service) Interceptor
func NewLogging ¶
func NewLogging(i Interceptor, log *slog.Logger, t string) Interceptor
func NewMastodon ¶
func NewMastodon(cfgEvts config.EventsConfig, w events.Writer) Interceptor
func NewWikiMedia ¶
func NewWikiMedia(w writer.Service, groupId, et string) Interceptor
Click to show internal directories.
Click to hide internal directories.