app

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2026 License: MIT Imports: 17 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 {
	// contains filtered or unexported fields
}

func NewApp

func NewApp(
	cfg *config.Config,
	logger *zap.Logger,
	db *gorm.DB,
	server *gin.Engine,
	bootstrap startup.ApplicationBootstrap,
	cronManager cron.CronManager,
	asynqServer *asynq.Server,
	scheduler *asynq.Scheduler,
	cronHandlers *cronHandler.CronHandlers,
) (*App, error)

func (*App) Run

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

func (*App) Shutdown

func (a *App) Shutdown(ctx context.Context, srv *http.Server) error

Jump to

Keyboard shortcuts

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