增加获取随机UA方法

This commit is contained in:
2023-03-31 18:58:14 +08:00
parent 662152cb68
commit b5add69124
2 changed files with 105 additions and 0 deletions

View File

@ -36,6 +36,8 @@ var (
Array *array
// JWT ...
JWT *ownJwt
// UserAgent ...
UserAgent *userAgent
)
func init() {
@ -53,4 +55,7 @@ func init() {
Project = &project{}
Array = &array{}
JWT = &ownJwt{}
UserAgent = &userAgent{
list: defaultUserAgentList,
}
}