Documentation
¶
Index ¶
- Variables
- func LoadConfigAndLogger() error
- func Recovery()
- type Handler
- type Server
- func (s *Server) DBAutoMigrate(migrationSourceFS fs.FS) *Server
- func (s *Server) OnShutdown(handlers ...Handler) *Server
- func (s *Server) Register(handlers ...Handler) *Server
- func (s *Server) RegisterRoutine(handlers ...Handler) *Server
- func (s *Server) Run()
- func (s *Server) RunningInConsole() bool
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // MW MW MW = &mw.Instance // Middleware Middleware Middleware = MW )
View Source
var (
GRPC = &grpcType{}
)
View Source
var (
Monitor = &monitorType{}
)
Functions ¶
func LoadConfigAndLogger ¶
func LoadConfigAndLogger() error
Types ¶
type Server ¶
Server Server
func DefaultServer ¶
DefaultServer ...
func (*Server) OnShutdown ¶
OnShutdown OnShutdown
func (*Server) RegisterRoutine ¶
RegisterRoutine RegisterRoutine
func (*Server) RunningInConsole ¶
RunningInConsole Determine if the application is running in the console.
Click to show internal directories.
Click to hide internal directories.