增加控制台数据输出控制

This commit is contained in:
2023-04-04 16:26:02 +08:00
parent b5add69124
commit 5114db00c6
3 changed files with 116 additions and 0 deletions

View File

@ -38,6 +38,8 @@ var (
JWT *ownJwt
// UserAgent ...
UserAgent *userAgent
// Console 控制台输出数据
Console *console
)
func init() {
@ -58,4 +60,5 @@ func init() {
UserAgent = &userAgent{
list: defaultUserAgentList,
}
Console = &console{}
}