Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CoreApi *api.CoreApi
View Source
var CoreBot *bot.CoreBot
View Source
var CoreMonitor *monitor.Monitor
View Source
var CoreSrv *srv.CoreSrv
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
Name string
Config *config.Config
Ctx context.Context
// contains filtered or unexported fields
}
func (*App) Execute ¶
func (app *App) Execute(options ...OptionsApp)
func (*App) StopService ¶
func (app *App) StopService()
type OptionsApp ¶
type OptionsApp func(*App)
func AddApi ¶
func AddApi() OptionsApp
func AddBot ¶
func AddBot() OptionsApp
func AddMonitor ¶ added in v1.0.173
func AddMonitor() OptionsApp
func AddSrv ¶
func AddSrv() OptionsApp
Directories
¶
| Path | Synopsis |
|---|---|
|
middlewares
Package middlewares fornece middlewares de autenticação e autorização para APIs Focado em JWT (JSON Web Tokens) usando a biblioteca go-chi/jwtauth
|
Package middlewares fornece middlewares de autenticação e autorização para APIs Focado em JWT (JSON Web Tokens) usando a biblioteca go-chi/jwtauth |
|
Package monitor expõe um servidor HTTP de observabilidade com login, gráficos em tempo real (via SSE), histórico em ring buffer, motor de alertas configurável e endpoints pprof — tudo plugável via config.json.
|
Package monitor expõe um servidor HTTP de observabilidade com login, gráficos em tempo real (via SSE), histórico em ring buffer, motor de alertas configurável e endpoints pprof — tudo plugável via config.json. |
Click to show internal directories.
Click to hide internal directories.