package
0.18.0
Repository: https://github.com/eolinker/apinto.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

AES_CBC_Decrypt AEC解密(CBC模式).
AES_CBC_Encrypt AEC加密(CBC模式).
No description provided by the author
B64Decode base64解密.
B64Encode base64加密.
CheckFileIsExist 判断文件是否存在 存在返回 true 不存在返回false.
CheckObjectives 检查prometheus objectives配置 校验0.5:0.1,0.9:0.001的格式.
No description provided by the author
ConvertArray 将[]string转为[]int.
ConvertIntArrayToString 转换整型数组.
No description provided by the author
GetMac 获取MAC地址.
GetRandomString 生成随机字符串.
GetRandomStringBack 生成随机字符串.
GzipCompress 转成Gzip.
HeaderToString 将header转成字符串.
HexEncode HexEncode.
HMacBySha256 HMacBySha256.
Intercept 获取IP.
No description provided by the author
IsMatchDomainPort 判断字符串是否符合 域名或者域名:port.
IsMatchIpPort 判断字符串是否符合 ip:port或者ip.
IsMatchSchemeDomainPort 判断字符串是否符合 scheme://域名或者域名:port.
IsMatchSchemeIpPort 判断字符串是否符合scheme://ip:port.
JSObjectToJSON 将js对象转为json.
JsonSchemaMockJsUnmarshal 解析mockJs生成的json schema 并根据规则生成随机值 不是mockJs生成的json 走默认规则解析.
JSONUnmarshal 将json格式的s解码成v所需的json格式.
Md5 md5加密.
MustSliceString 断言输入的参数为字符串切片.
NewSftpClient new sftp客户端.
Padding 对明文进行填充.
QueryUrlEncode 对query进行url encode.
No description provided by the author
No description provided by the author
Scan copies from src to the values pointed at by dest.
SessionConnect SessionConnect.
SftpConnect SftpConnect.
SSHClient SSHClient.
Stop 关闭网关服务,重启读取配置文件.
TrimPrefixAll 删除所有前缀.
TrimSuffixAll 删除所有后缀.
UnPadding 对密文删除填充.
ValidateRemoteAddr 判断ip端口是否合法.
ValidateURL 判断ip端口是否合法.

# Structs

SftpClient sftp客户端.

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author