mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-11 13:29:12 +00:00
- **feat: remove grant page** - **refactor: remove alert, input, radios, tabs, and video blocks** - **feat: add JSON serialization to DWN config** - **feat: add new Highway gateway component** - **refactor: remove unused chains.yaml and devbox.json** - **refactor: Separate request and response headers into protected and non-protected structs** - **feat: Update the UseSession echo middleware to bind the correct headers and provide methods for updating HTMX context from Go** - **refactor: remove unused headers from session** - **feat: add authorize endpoint** - **feat: create marketing pages**
14 lines
388 B
Go
14 lines
388 B
Go
package router
|
|
|
|
type Status string
|
|
|
|
const (
|
|
StatusOK Status = "ok"
|
|
StatusError Status = "error"
|
|
StatusNotFound Status = "not-found"
|
|
StatusUnauthorized Status = "unauthorized"
|
|
StatusForbidden Status = "forbidden"
|
|
StatusInternalServerError Status = "internal-server-error"
|
|
StatusBadRequest Status = "bad-request"
|
|
)
|