host.go 797 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. package v1
  2. type HostConfigOption struct {
  3. RelID int
  4. ConfigID int
  5. OptionID int
  6. }
  7. type ProductConfigOption struct {
  8. ID int
  9. OptionName string
  10. }
  11. type ProductConfigOptionSub struct {
  12. ID int
  13. OptionName string
  14. }
  15. type GameShieldHostBackendConfigResponse struct {
  16. RuleEntriesCount int64
  17. SourceMachinesCount int64
  18. MaxBandwidthCount int64
  19. OnlineDevicesCount int64
  20. }
  21. type GlobalLimitConfigResponse struct {
  22. MaxBytesMonth string `default:"0"`
  23. Bps string `default:"0"`
  24. PortCount int
  25. DomainCount int
  26. Operator int
  27. IpCount int
  28. NodeArea string
  29. ConfigMaxProtection string
  30. IsBanUdp int
  31. IsBanOverseas int
  32. }
  33. type GetAlmostExpireHostResponse struct {
  34. HostId int `gorm:"column:id"`
  35. ExpiredAt int64 `gorm:"column:nextduedate"`
  36. }