集群可以设置WebP策略

This commit is contained in:
刘祥超
2022-04-01 16:18:54 +08:00
parent 36162c603d
commit 9851b1a146
6 changed files with 142 additions and 4 deletions

View File

@@ -33,6 +33,7 @@ type NodeCluster struct {
NodeTCPMaxConnections uint32 `field:"nodeTCPMaxConnections"` // TCP最大连接数
AutoOpenPorts uint8 `field:"autoOpenPorts"` // 是否自动尝试开放端口
IsPinned bool `field:"isPinned"` // 是否置顶
Webp dbs.JSON `field:"webp"` // WebP设置
}
type NodeClusterOperator struct {
@@ -65,6 +66,7 @@ type NodeClusterOperator struct {
NodeTCPMaxConnections interface{} // TCP最大连接数
AutoOpenPorts interface{} // 是否自动尝试开放端口
IsPinned interface{} // 是否置顶
Webp interface{} // WebP设置
}
func NewNodeClusterOperator() *NodeClusterOperator {