Documentation
¶
Index ¶
- func FastResp(r *ghttp.Request, args ...any) *xhttp.FastResponse
- func TerminalPrintView(callback func(updater *xcli.TerminalPrint) error) (err error)
- func VerifyDataToJson(r *ghttp.Request, i xhttp.VerifyHandlerInterface) *gjson.Json
- func VerifyDataToStruct[T xhttp.VerifyHandlerInterface](r *ghttp.Request, i T) T
- func XDB() *xstorage.XDB
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FastResp ¶
func FastResp(r *ghttp.Request, args ...any) *xhttp.FastResponse
FastResp HTTP 快速定义返回结果
func TerminalPrintView ¶
func TerminalPrintView(callback func(updater *xcli.TerminalPrint) error) (err error)
TerminalPrintView 终端打印显示
func VerifyDataToJson ¶
VerifyDataToJson 验证数据后转换为 gjson
func VerifyDataToStruct ¶
func VerifyDataToStruct[T xhttp.VerifyHandlerInterface](r *ghttp.Request, i T) T
VerifyDataToStruct 验证数据后转换为结构体
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.