infrastructure

package
v0.0.0-...-0de0edb Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: MIT Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHealthHandlers

func NewHealthHandlers(
	mount *echo.Group,
	logger logger.Logger,
	postgresClient *sqlx.DB,
	redisClient *redis.Client,
	kafkaClient *kafka.Conn,
)

Types

type App

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

func NewApp

func NewApp(
	ctx context.Context,
	cfg *config.Config,
	logger logger.Logger,
	lock *latch.CountDownLatch,
) *App

func (*App) Run

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

func (*App) Shutdown

func (a *App) Shutdown()

type CustomValidator

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

func (*CustomValidator) Validate

func (cv *CustomValidator) Validate(i interface{}) error

type HealthHandlers

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

type Web

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

func NewWeb

func NewWeb(cfg *config.Config, logger logger.Logger, lock *latch.CountDownLatch) *Web

func (*Web) Shutdown

func (w *Web) Shutdown() error

func (*Web) Start

func (w *Web) Start() error

Directories

Path Synopsis
controller

Jump to

Keyboard shortcuts

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