server

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrJobExceededDeadline = errors.New("the job did not complete before its deadline")

Functions

This section is empty.

Types

type Params

type Params struct {
	fx.In
	Query    lazy.Lazy[*dao.Query]
	PgxPool  lazy.Lazy[*pgxpool.Pool]
	Handlers []lazy.Lazy[handler.Handler] `group:"queue_handlers"`
	Logger   *zap.SugaredLogger
}

type Result

type Result struct {
	fx.Out
	Worker worker.Worker `group:"workers"`
}

func New

func New(p Params) Result

Jump to

Keyboard shortcuts

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