x

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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

func VerifyDataToJson(r *ghttp.Request, i xhttp.VerifyHandlerInterface) *gjson.Json

VerifyDataToJson 验证数据后转换为 gjson

func VerifyDataToStruct

func VerifyDataToStruct[T xhttp.VerifyHandlerInterface](r *ghttp.Request, i T) T

VerifyDataToStruct 验证数据后转换为结构体

func XDB

func XDB() *xstorage.XDB

XDB 创建简易文件存储

Types

This section is empty.

Jump to

Keyboard shortcuts

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