anchorsynctask

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: Apache-2.0 Imports: 18 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(cfg Config, taskMgr taskManager, apClient activityPubClient, apStore store.Store,
	storageProvider storage.Provider, handlerFactory func() spi.InboxHandler,
) error

Register registers the anchor event synchronization task.

Types

type Config

type Config struct {
	ServiceIRI          *url.URL
	Interval            time.Duration
	AcceleratedInterval time.Duration
	MinActivityAge      time.Duration
	MaxActivitiesToSync int
}

Config contains configuration parameters for the anchor event synchronization task.

Jump to

Keyboard shortcuts

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