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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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