app

package
v0.0.0-...-227add2 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: MIT Imports: 16 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{}

func (App) StartApplication

func (app App) StartApplication(dbg bool, cfgPath string) error

StartApplication function will start application and configure all dependencies

func (App) StartDatabases

func (app App) StartDatabases(cnf config.Database) error

StartDatabases configure databases

func (App) StartServers

func (app App) StartServers() error

type RouterCenter

type RouterCenter struct{}

func (RouterCenter) InitialGatewayRouter

func (RouterCenter) InitialGatewayRouter(cnf config.HTTPServer)

func (RouterCenter) InitialGrpcServer

InitialGrpcServer initial a grpc server with auth, prometheus and panic recover

func (RouterCenter) InitialHttpRouter

func (RouterCenter) InitialHttpRouter(cnf config.HTTPServer)

Jump to

Keyboard shortcuts

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