core

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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 NewApp

func NewApp() *App

func (*App) AddEntity

func (a *App) AddEntity(entity any, opts ...crud.Option) *App

func (*App) Entities

func (a *App) Entities() []any

func (*App) RegisterMiddleware

func (a *App) RegisterMiddleware(m http.MiddlewareFunc) *App

func (*App) Run

func (a *App) Run()

func (*App) SetLocale added in v1.3.0

func (a *App) SetLocale(locale string) *App

func (*App) T added in v1.3.0

func (a *App) T(messageID string, args ...any) string

func (*App) UseAuth added in v1.1.0

func (a *App) UseAuth(provider auth.AuthProvider) *App

func (*App) UseDB

func (a *App) UseDB(adapter db.DBAdapter) *App

func (*App) UseHTTP

func (a *App) UseHTTP(engine http.HTTPEngine) *App

func (*App) UseI18n added in v1.3.0

func (a *App) UseI18n(directory, defaultLocale string) *App

func (*App) UseSwagger added in v1.2.0

func (a *App) UseSwagger() *App

Jump to

Keyboard shortcuts

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