app

package
v0.0.0-...-4dc4852 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	PgListener   *pglistener.PgListener
	RmqPublisher *rabbitmq.RabbitMQPublisher
	API          *api.API
	DB           *pgxpool.Pool
}

func New

func New(pgConnString, rabbitMQURL string) (*App, error)

func (*App) Close

func (a *App) Close()

func (*App) Run

func (a *App) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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