stats

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FxModule

func FxModule() fx.Option

func NewCleaner

func NewCleaner(
	cfg *configs.App,
	logger *slog.Logger,
	clock time.Clock,
	statsManager manager.Stats,
) *cleaner

func NewSubscriber

func NewSubscriber(
	cfg *configs.App,
	logger *slog.Logger,
	dispatcher event.Dispatcher,
	statsManager manager.Stats,
) *subscriber

func RunCleaner

func RunCleaner(lc fx.Lifecycle, cleaner *cleaner)

func RunSubscriber

func RunSubscriber(lc fx.Lifecycle, subscriber *subscriber)

Types

This section is empty.

Jump to

Keyboard shortcuts

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