12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- package v1
- type GameShieldSubmitRequest struct {
- HostId string `json:"host_id" form:"host_id" binding:"required"`
- AppName string `json:"app_name" form:"app_name" binding:"required"`
- RuleId int `json:"rule_id" form:"rule_id"`
- Id int `json:"id" form:"id"`
- Uid int `json:"uid" form:"uid"`
- Comment string `json:"comment" form:"comment"`
- }
- type BackendItem struct {
- Protocol string `json:"protocol" form:"protocol"`
- Host string `json:"host" form:"host"`
- ProxyAddr string `json:"proxy_addr" form:"proxy_addr"`
- SdkPort int `json:"sdk_port" form:"sdk_port"`
- SourceMachineIP string `json:"source_machineIP" form:"source_machineIP"`
- ConnectPort int `json:"connect_port" form:"connect_port"`
- }
- type GameShieldSubmitResponse struct {
- RoleId int `json:"role_id"`
- }
- type GetGameShieldRuleIdRequest struct {
- AppName string `json:"app_name" form:"app_name"`
- Name string `json:"name" form:"name"`
- Id int `json:"id" form:"id"`
- }
- type GetGameShieldRequiredResponse struct {
- ExpiredAt string
- Backend string
- Cookie string
- RuleId int
- Domain string
- }
- type KeyAndFieldResponse struct {
- Key string
- FieldId int
- }
- type DelGameShieldRequest struct {
- RuleId int `json:"id" form:"id"`
- }
|