package
3.3.3+incompatible
Repository: https://github.com/eolinker/apinto-dashboard.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
Package schema implements OpenAPI 3 compatible JSON Schema which can be generated from structs.

# Functions

Base64Decode 解密.
Base64Encode 加密.
CBCDecrypter 解密.
No description provided by the author
CheckPathContainsIPPort 检查路径中是否包含xxx://ip:port.
CheckWorkerNotExist 检查报错信息是否为worker实例不存在.
Contains reports whether v is present in s.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DeCompress 解压 tar.gz.
Delete removes the elements s[i:j] from s, returning the modified slice.
DiffContrast 泛型语法 更方便 需要go 1.18支持 第一个返回切片表示对比数据新增的数据 第二个返回切片表示对比数据已修改的数据 第三个返回切片表示对比数据删除的数据.
DiffField 对比结构体中字段的差异。仅支持string,uint,uint8,uint16,uint32,uint64,int,int8,int16,int32,int64,bool,float32,float64.
DiffMap 对比两个map的key,value是否都一样,是一样返回tr.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FormatFloat64 float64保留places位小数.
No description provided by the author
No description provided by the author
GetFilterAppKey 从标准格式appkey{abc}中取得key abc.
GetVariableKey 从环境变量标准格式${abc}中取得key abc.
Index returns the index of the first occurrence of v in s, or -1 if not present.
IsMatchCIDRIpv4 判断字符串是否符合ipv4或者ipv4的cidr.
IsMatchDomainPort 判断字符串是否符合域名或者域名:port.
IsMatchFilterAppKey 判断字符串是否匹配策略筛选条件key(应用)标准格式appkey{abc}.
IsMatchIpPort 判断字符串是否符合ip:port.
IsMatchSchemeIpPort 判断字符串是否符合scheme://ip:port.
No description provided by the author
IsMatchVariable 判断字符串是否匹配环境变量标准格式${abc}.
IsRestfulParam 检查是否为restful参数.
IsRestfulPath 检查路径是否有restful参数.
No description provided by the author
No description provided by the author
No description provided by the author
ListPage 返回截取下标 [i:y] if i == 0 && y == 0 { "分页错误" } list[i:y].
No description provided by the author
No description provided by the author
NewRequest body = strings.NewReader(string(by)).
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
RandStr 随机成功英文+数字的字符串.
ReplaceRestfulPath 将restful路径转换成apinto的正则匹配路径.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SliceToSet 列表转成集合.
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
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

AnyEnglishOrNumber_ 数字字母下划线任意组合.
CheckPathIPPortExp (scheme://)?ip:port.
CIDRIpv4Exp IPV4或者IPV4的CIDR.
DomainPortExp 域名或者域名:端口.
EnglishOrNumber_ 英文开头,数字字母下划线组合.
IPPortExp IP:PORT.
SchemeIPPortExp scheme://IP:PORT.
No description provided by the author
UUIDExp UUID正则 数字字母横杠下划线任意组合.

# Variables

No description provided by the author

# Structs

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

# Interfaces

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

# Type aliases

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