api

package
v1.0.32 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApiBadRequestResp

func ApiBadRequestResp(msgs ...any) *api.ApiResponse[any]

400 bad request

func ApiForbiddenResp

func ApiForbiddenResp(msgs ...any) *api.ApiResponse[any]

403 FORBIDDEN

func ApiInternalServerErrorResp

func ApiInternalServerErrorResp(msgs ...any) *api.ApiResponse[any]

500

func ApiNotFoundResp

func ApiNotFoundResp(msgs ...any) *api.ApiResponse[any]

404 NOT FOUND

func ApiNotImplementedResp

func ApiNotImplementedResp(msgs ...any) *api.ApiResponse[any]

501

func ApiSuccessResp

func ApiSuccessResp[T interface{}](data T, msgs ...any) *api.ApiResponse[T]

200 OK

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL