exportactivity

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package exportactivity provides go-users activity adapters for go-export.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Sink       types.ActivitySink
	Channel    string
	ObjectType string
}

Config configures the activity emitter adapter.

type Emitter

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

Emitter adapts ChangeEmitter events into go-users activity records.

func NewEmitter

func NewEmitter(cfg Config) *Emitter

NewEmitter creates a new activity emitter.

func (*Emitter) Emit

func (e *Emitter) Emit(ctx context.Context, evt export.ChangeEvent) error

Emit logs export lifecycle events to the configured ActivitySink.

Jump to

Keyboard shortcuts

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