linstrom/server/constants.go
mstar b9eb4234f4 Fix passkey authentication
Also prep for better router layout
2024-10-15 16:16:18 +02:00

16 lines
319 B
Go

package server
const ContextKeyPasskeyUsername = "context-passkey-username"
type ContextKey string
const (
ContextKeyStorage ContextKey = "Context key for storage"
ContextKeyActorId ContextKey = "Context key for actor id"
)
const (
HttpErrIdPlaceholder = iota
HttpErrIdMissingContextValue
HttpErrIdDbFailure
)