Help us shape the future of Go! Take the 2026 Go Developer Survey

server

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: May 21, 2026 License: MIT Imports: 17 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