Documentation ¶
Index ¶
- Variables
- func BadRequest(c echo.Context, msg string, err error) error
- func NotFound(c echo.Context, msg string) error
- func SendOK(c echo.Context, data any) error
- func ServerError(c echo.Context, err error) error
- type DevSpace
- type KeyContext
- type Message
- type Request
- type Response
- type Tag
- type TokenClaims
- type User
Constants ¶
This section is empty.
Variables ¶
View Source
var TokenSecret = []byte("secret message")
Functions ¶
func BadRequest ¶
func ServerError ¶
Types ¶
type KeyContext ¶
type KeyContext struct { echo.Context SKey *core.SKey PKey *core.PKeyServer }
type TokenClaims ¶
type TokenClaims struct { Username string `json:"username"` jwt.RegisteredClaims }
Click to show internal directories.
Click to hide internal directories.