infrastructure

package
v0.0.0-...-ffd3783 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: MIT Imports: 3 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 {
	DB         *commonDb.DB
	HTTPServer *commonHttp.Server
	Config     *AppConfig
}

func NewApp

func NewApp(config *AppConfig, bootstrap commonHttp.Bootstrapper) *App

func (*App) Halt

func (app *App) Halt() error

func (*App) Run

func (app *App) Run() error

type AppConfig

type AppConfig struct {
	DbDSN        string
	ServerAddr   string
	ServerDomain string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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