warmer

package
v0.5.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Enabled  bool
	Interval time.Duration
}

func NewDefaultConfig

func NewDefaultConfig() Config

type DecoratorParams added in v0.5.0

type DecoratorParams struct {
	fx.In
	Config Config
	Search lazy.Lazy[search.Search]
	Logger *zap.SugaredLogger
}

type DecoratorResult added in v0.5.0

type DecoratorResult struct {
	fx.Out
	Decorator worker.Decorator `group:"worker_decorators"`
}

func New

func New(params DecoratorParams) DecoratorResult

Jump to

Keyboard shortcuts

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