mirror of
https://github.com/Warky-Devs/vecna.git
synced 2026-05-05 01:26:58 +00:00
fix(server): handle router setup panic and return error
* return error from New function if route registration panics * add googleDispatch to handle model:action routing
This commit is contained in:
@@ -7,7 +7,10 @@ import (
|
||||
|
||||
type contextKey int
|
||||
|
||||
const traceKey contextKey = iota
|
||||
const (
|
||||
traceKey contextKey = iota
|
||||
modelKey
|
||||
)
|
||||
|
||||
// RequestTrace holds per-request timing data populated by handlers and middleware.
|
||||
type RequestTrace struct {
|
||||
|
||||
Reference in New Issue
Block a user