2024-03-05 16:59:37 +08:00
|
|
|
package client
|
|
|
|
|
|
|
|
import (
|
2024-03-06 16:24:49 +08:00
|
|
|
"github.com/cowardmrx/go_aliyun_oss"
|
|
|
|
"github.com/go-resty/resty/v2"
|
2024-03-05 16:59:37 +08:00
|
|
|
"github.com/redis/go-redis/v9"
|
|
|
|
"golang.zx2c4.com/wireguard/wgctrl"
|
|
|
|
"gorm.io/gorm"
|
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
2024-03-06 16:24:49 +08:00
|
|
|
WireguardClient *wgctrl.Client // wireguard客户端
|
|
|
|
DB *gorm.DB // 数据库客户端
|
|
|
|
Redis *redis.Client // redis客户端
|
|
|
|
HttpClient *resty.Client // http客户端
|
|
|
|
OSS *go_aliyun_oss.AliOssClient // oss客户端
|
2024-03-05 16:59:37 +08:00
|
|
|
)
|