wireguard-dashboard/client/client.go

18 lines
511 B
Go
Raw Normal View History

2024-03-05 16:59:37 +08:00
package client
import (
"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 (
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
)