Documentation
¶
Index ¶
- func GetContextLogger(c fiber.Ctx) (*slog.Logger, error)
- func GetContextRequestId(c fiber.Ctx) (string, error)
- func IntSliceToAny(intSlice []int) []any
- func SendError(c fiber.Ctx, status int, e error) error
- func SendJSON(c fiber.Ctx, status int, data any) error
- func StatusCodeFromError(err error) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetContextLogger ¶
func GetContextRequestId ¶
func IntSliceToAny ¶
func StatusCodeFromError ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.