Merge pull request #142 from lemoeo/main

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

Co-authored-by: lemoeo <18618627+lemoeo@users.noreply.github.com>
This commit is contained in:
naiba
2021-11-11 13:13:20 +07:00
committed by GitHub
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 {