mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 02:48:34 +08:00
[feat]网关子设备,直接上传,自动创建设备模型,无需手动创建
This commit is contained in:
@@ -5,6 +5,8 @@ import "fmt"
|
||||
type Server struct {
|
||||
Port int `yaml:"port"`
|
||||
GrpcPort int `yaml:"grpc-port"`
|
||||
TcpPort int `yaml:"tcp-port"`
|
||||
HttpPort int `yaml:"http-port"`
|
||||
Model string `yaml:"model"`
|
||||
Cors bool `yaml:"cors"`
|
||||
Rate *Rate `yaml:"rate"`
|
||||
|
||||
Reference in New Issue
Block a user