wireguard-dashboard/client/client.go
coward 0e20f5068e 🎉
2024-03-05 16:59:37 +08:00

14 lines
279 B
Go

package client
import (
"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客户端
)