Documentation
¶
Index ¶
- type App
- func (a *App) AddEntity(entity any, opts ...crud.Option) *App
- func (a *App) Entities() []any
- func (a *App) RegisterMiddleware(m http.MiddlewareFunc) *App
- func (a *App) Run()
- func (a *App) UseAuth(provider auth.AuthProvider) *App
- func (a *App) UseDB(adapter db.DBAdapter) *App
- func (a *App) UseHTTP(engine http.HTTPEngine) *App
- func (a *App) UseSwagger() *App
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func (*App) RegisterMiddleware ¶
func (a *App) RegisterMiddleware(m http.MiddlewareFunc) *App
func (*App) UseSwagger ¶ added in v1.2.0
Click to show internal directories.
Click to hide internal directories.