Documentation
ΒΆ
Index ΒΆ
- func NewApp(name string, addr string, routers ...Router) *app.App
- func NewAppWithConfig(name string, addr string, listenerType string, config map[string]any, ...) *app.App
- func NewServer(name string, apps ...*app.App) *server.Server
- type App
- type Handler
- type HandlerFunc
- type RequestContext
- type Router
- type Server
Constants ΒΆ
This section is empty.
Variables ΒΆ
This section is empty.
Functions ΒΆ
Types ΒΆ
type HandlerFunc ΒΆ
type HandlerFunc = request.HandlerFunc
type RequestContext ΒΆ added in v0.3.0
type Router ΒΆ added in v0.3.0
func NewRouterWithEngine ΒΆ added in v0.3.0
Create a new Router instance with specific engine type (e.g., "default", "servemux")
Directories
ΒΆ
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
lokstra
command
|
|
|
test-loader
command
|
|
|
common
|
|
|
core
|
|
|
docs
|
|
|
internal
|
|
|
migration_runner/example
command
|
|
|
Package lokstra_registry provides a simplified API for the Lokstra registry system.
|
Package lokstra_registry provides a simplified API for the Lokstra registry system. |
|
middleware
|
|
|
project_templates
|
|
|
01_router/01_router_only
command
|
|
|
01_router/02_single_app
command
|
|
|
01_router/03_multi_app
command
|
|
|
02_app_framework/02_sync_config
command
|
|
|
02_app_framework/test
command
|
|
|
03_ai_driven/01_starter
command
|
|
|
email_smtp/example
command
|
|
|
sync_config_pg/test
command
|
Click to show internal directories.
Click to hide internal directories.