fxmain

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MIT Imports: 6 Imported by: 1

README

MAIN

Bind,Manager and Run all services with uber fx

Modules

  • AppModule: app module init with server, orm, mq, logging modules and inject custom modules

Environment Variables

ENV Description Default
APP_NAME Application name app
APP_ID Application id app
DEPLOYMENT local,dev,prod
prod:
logger change to production mod
grpc will add recovery panic with middleware
local
VERSION Application version 0.0.1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppRun

func AppRun(opts ...fx.Option) error

func Main

func Main(opts ...fx.Option)

Types

This section is empty.

Directories

Path Synopsis
pkg
mfx

Jump to

Keyboard shortcuts

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