package
Version:
v0.0.0-...-7c35eaa
Opens a new window with list of versions in this module.
Published: Jul 4, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func NewError(ctx iris.Context, status int, errors ...any)
func ValidateBody[T any](c iris.Context) (*T, error)
func ValidateForm[T any](c iris.Context) (*T, error)
func ValidateQuery[T any](c iris.Context) (*T, error)
type HTTPError struct {
Code int `json:"code"`
Message string `json:"message"`
Description string `json:"description" binding:"omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.