Documentation ¶
Index ¶
- func Convert(ctx *context.Context, err error) error
- func Err(ctx *context.Context, code Codes, msg string) error
- func SetSuccCode(code Codes)
- func Succ(ctx *context.Context, data any) error
- func SuccEmpty(ctx *context.Context) error
- func Timeout(ctx *context.Context) error
- type Codes
- type Empty
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetSuccCode ¶
func SetSuccCode(code Codes)
Types ¶
Click to show internal directories.
Click to hide internal directories.