Documentation ¶
Index ¶
- func AsyncResponse(ctx echo.Context, logicInstance interface{}, methodName string, ...) error
- func Fail(ctx echo.Context, code int, msg string) error
- func IsAsync(ctx echo.Context) bool
- func Success(ctx echo.Context, data interface{}) error
- func WrapContext(ctx context.Context) context.Context
- func WrapEchoContext(ctx echo.Context) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsyncResponse ¶
func WrapContext ¶
WrapContext 返回一个 context.Context 实例。如果 ctx == nil,需要确保 调用 logger.PutLogger()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.