simple

command
v2.0.0-...-51e8ac7 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: MIT Imports: 17 Imported by: 0

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

Jump to

Keyboard shortcuts

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