package
0.0.0-20240608122557-700b159651ec
Repository: https://github.com/lonng/nanoserver.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
CallSite the caller's file & line.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GenRSAKey gen a rsa key pair, the bit size is 512.
HTTPGet http's get method.
No description provided by the author
No description provided by the author
MD5 md5 digest.
MD5String md5 digest in string.
No description provided by the author
TODO: WARNING!!!!!!! All struct field must be string type.
No description provided by the author
No description provided by the author
PasswordHash accept password and generate with uuid as salt FORMAT: sha1.Sum(pwd + salt + sha1.Sum(salt + pwd + salt) + salt + pwd).
生成随机字符串.
RsaDecrypt decrypt data by rsa.
RSAEncrypt encrypt data by rsa.
No description provided by the author
Sign with database appsecret string(base64 encode).
SortAndConcat sort the map by key in ASCII order, and concat it in form of "k1=v1&k2=v2".
No description provided by the author
TimeRange adjust the time range.
No description provided by the author
No description provided by the author
Verify with database appkey string(base64 encode).
No description provided by the author
No description provided by the author