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 ¶
StartApplication function will start application and configure all dependencies
func (App) StartDatabases ¶
StartDatabases configure databases
func (App) StartServers ¶
type RouterCenter ¶
type RouterCenter struct{}
func (RouterCenter) InitialGatewayRouter ¶
func (RouterCenter) InitialGatewayRouter(cnf config.HTTPServer)
func (RouterCenter) InitialGrpcServer ¶
func (RouterCenter) InitialGrpcServer(ctx context.Context, cnf config.HTTPServer, authFunc grpc_middleware_auth.AuthFunc, panicRecoverFunc grpc_recovery.RecoveryHandlerFuncContext) error
InitialGrpcServer initial a grpc server with auth, prometheus and panic recover
func (RouterCenter) InitialHttpRouter ¶
func (RouterCenter) InitialHttpRouter(cnf config.HTTPServer)
Click to show internal directories.
Click to hide internal directories.