worker

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Params added in v0.0.15

type Params struct {
	fx.In

	LC fx.Lifecycle

	Logger     *slog.Logger
	RabbitMQ   *rabbitmq.Client
	DB         *database.DB
	Notifier   notification.Notifier
	ClusterSvc *cluster.Service
}

type Worker

type Worker struct {
	// contains filtered or unexported fields
}

func NewWorker

func NewWorker(p Params) (*Worker, error)

func (*Worker) ResumeCluster

func (w *Worker) ResumeCluster(ch <-chan amqp.Delivery) error

Jump to

Keyboard shortcuts

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