反向代理 gRPC 端口(支持 Cloudflare CDN)

This commit is contained in:
Lemoe
2021-11-11 12:49:54 +08:00
parent 57e556eea1
commit 00c712116e
9 changed files with 68 additions and 16 deletions

View File

@@ -39,6 +39,8 @@ type Config struct {
GRPCPort uint
GRPCHost string
EnableIPChangeNotification bool
ProxyGRPCPort uint
TLS bool
// IP变更提醒
Cover uint8 // 覆盖范围

View File

@@ -17,6 +17,7 @@ const (
TaskTypeCommand
TaskTypeTerminal
TaskTypeUpgrade
TaskTypeKeepalive
)
type TerminalTask struct {