helpers

package
v0.19.1069 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const GeneralSignalsQueueName = "general-signals"

Variables

This section is empty.

Functions

This section is empty.

Types

type Helpers

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

func New

func New(params Params) *Helpers

func (*Helpers) EnsureGeneralQueue

func (h *Helpers) EnsureGeneralQueue(ctx context.Context) (*app.Queue, error)

EnsureGeneralQueue creates the general-signals queue if it doesn't already exist. Safe to call multiple times — queueClient.Create is idempotent.

type Params

type Params struct {
	fx.In

	Cfg         *internal.Config
	DB          *gorm.DB `name:"psql"`
	QueueClient *queueclient.Client
}

Jump to

Keyboard shortcuts

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