# Functions
Bytes convert str to bytes.
No description provided by the author
D logging info message.
E logging info message.
F logging info message.
FiberBasicInfo 增加额外的基础信息到 Context.
FiberIP 获取请求IP, X-Real-IP > X-Forward-Forr > fiber.Ctx.IP.
FiberJSON 输出JSON.
FiberJSONError 输出JSON异常.
No description provided by the author
No description provided by the author
GetResponse execute Get method request with timeout & headers.
I logging info message.
No description provided by the author
IsZero compare value with zero.
JSONError return json data struct.
LogWithExtraFields adds extra fields to a log entry based on the provided parameters.
NewBasicFields basicFields init.
Now from fasttime.
OffsetAndLimit get offset,limit in json params.
ParseJSON parse raw to fastjson.Value.
ParseJSONBytes parse json bytes.
ParserGet from pool.
ParserPut return to pool.
PGXCount 计数.
PGXFilter 过滤.
PGXGet 获取单一对象.
PGXInsert 插入.
PGXRemove 删除.
PGXUpdate 更新.
PGXUpdateHelper 快速更新的辅佐.
SecureRandomBytes returns the requested number of bytes using crypto/rand.
SecureRandomString returns a string of the requested length, made from the byte characters provided (only ASCII allowed).
String copy from strings.Builder.
W logging warning message.
# Variables
ErrInvalidParams http 400 error code.
ErrNoAuth http 401 no auth.
ErrNoPermission http 403 no permission.
ErrObjectConflict http 409 conflict.
ErrObjectNotFound http 404 not found.
ErrPaymentRequired 402 Payment Required.
ErrRemoteError http 502 server error.
ErrServerError http 500 server error.
HNil empty struct.
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
BasicFieldsInterface basic fields interface with dump function.
# Type aliases
H alias map[string]any.