package
Version:
v0.1.5
Opens a new window with list of versions in this module.
Published: Jul 13, 2024
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
WriteResponse
写入响应 ¶
用于写入响应信息, 用于返回错误码信息.
参数 ¶
- ctx 请求的上下文(*context.Context)
- getCode 错误码(BCode)
- msg 错误信息(string)
- res 数据(interface)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.