usersink

package
v0.46.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hook

type Hook struct {
	Sink usertypes.ActivitySink
}

Hook adapts activity events to a go-users ActivitySink.

func (Hook) Notify

func (h Hook) Notify(ctx context.Context, event activity.Event) error

Notify maps the event into an ActivityRecord and forwards it to the sink.

Jump to

Keyboard shortcuts

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