|
@@ -15,6 +15,7 @@ type GameShieldBackendRequest struct {
|
|
MaxBandwidth *int `json:"max_bandwidth" form:"max_bandwidth"`
|
|
MaxBandwidth *int `json:"max_bandwidth" form:"max_bandwidth"`
|
|
Checked string `json:"checked" form:"checked"`
|
|
Checked string `json:"checked" form:"checked"`
|
|
Host string `json:"host" form:"host" binding:"required"`
|
|
Host string `json:"host" form:"host" binding:"required"`
|
|
|
|
+ Remark string `json:"remark" form:"remark"`
|
|
CreatedAt time.Time `json:"created_at" form:"created_at"`
|
|
CreatedAt time.Time `json:"created_at" form:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at" form:"updated_at"`
|
|
UpdatedAt time.Time `json:"updated_at" form:"updated_at"`
|
|
}
|
|
}
|
|
@@ -36,4 +37,5 @@ type SendGameShieldBackend struct {
|
|
Type string `json:"type,omitempty" form:"type"`
|
|
Type string `json:"type,omitempty" form:"type"`
|
|
MaxBandwidth string `json:"max_bandwidth,omitempty" form:"max_bandwidth"`
|
|
MaxBandwidth string `json:"max_bandwidth,omitempty" form:"max_bandwidth"`
|
|
Host string `json:"host,omitempty" form:"host"`
|
|
Host string `json:"host,omitempty" form:"host"`
|
|
|
|
+ Remark string `json:"remark,omitempty" form:"remark"`
|
|
}
|
|
}
|