Versions in this module Expand all Collapse all v1 v1.1.0 Nov 7, 2026 Changes in this version + func StatusForError(err error) int v1.0.0 Nov 7, 2026 Changes in this version + const LocalStartKey + const LocalTraceID + func Accepted(c fiber.Ctx, message string, data any) error + func BadRequest(c fiber.Ctx, message string, data any) error + func Conflict(c fiber.Ctx, message string) error + func Created(c fiber.Ctx, message string, data any) error + func Fail(c fiber.Ctx, err error) error + func FailValidation(c fiber.Ctx, details []errs.Detail) error + func Forbidden(c fiber.Ctx, message string) error + func InternalError(c fiber.Ctx) error + func List(c fiber.Ctx, message string, data any, page, pageSize int, total int64) error + func NoContent(c fiber.Ctx) error + func NotFound(c fiber.Ctx, message string) error + func OK(c fiber.Ctx, message string, data any) error + func PaymentRequired(c fiber.Ctx, message string) error + func Route(c fiber.Ctx) string + func Send(c fiber.Ctx, status int, message string, data any) error + func ServiceUnavailable(c fiber.Ctx, message string) error + func SetSanitizer(s Sanitizer) + func StatusFor(kind errs.Kind) int + func TooManyRequests(c fiber.Ctx, message string) error + func TraceID(c fiber.Ctx) string + func Unauthorized(c fiber.Ctx, message string) error + func UnprocessableEntity(c fiber.Ctx, message string, data any) error + type Envelope struct + Data any + Meta Meta + type Meta struct + Code string + Errors []errs.Detail + Message string + Page *int + PageSize *int + Pages *int + RequestTime int64 + Route string + StatusCode int + Success bool + Total *int64 + TraceID string + type Sanitizer func(c fiber.Ctx, scope, route, message string) string