infrastructure

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: MIT Imports: 6 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 New

func New() *App

func (*App) Run

func (app *App) Run(host string, port int, done <-chan os.Signal) error

func (*App) SetSQLDatabase

func (app *App) SetSQLDatabase(sqlDatabaseType databaseinfra.SQLDatabaseType, sqlConfig databaseinfra.SQLConfig) *App

func (*App) SetServer

func (app *App) SetServer(serverType serverinfra.ServerType) *App

func (*App) SetValidator

func (app *App) SetValidator(validatorType validatorinfra.ValidatorType) *App

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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