Documentation
¶
Overview ¶
Package main is a v2 requestCore example application using chi.
It demonstrates the generics-first v2 API:
- Framework-neutral bootstrap with app.Bootstrap
- Typed endpoint registration with handlers.GetEndpoint / PostEndpoint
- Lifecycle hooks (WithInitializer, WithFinalizer, WithPersistence)
- Resource registration with ResourceBuilder fluent API (7 CRUD operations)
- Typed session access with session.GetTyped[T] / SetTyped[T]
- Session middleware on a route group
- Background workers with webFramework.AddLog observability
Click to show internal directories.
Click to hide internal directories.