option.go 534 B

123456789101112131415161718192021222324252627282930
  1. package task
  2. type GamePortOption struct {
  3. Id int
  4. ChannelName string
  5. }
  6. type LoginTypeOption struct {
  7. Id int
  8. LoginName string
  9. }
  10. type AccountTypeOption struct {
  11. Id int
  12. TypeName string
  13. }
  14. type GameListOption struct {
  15. Id int `json:"game_id"`
  16. GameName string `json:"game_name"`
  17. }
  18. type Option struct {
  19. GamePortOptions []GamePortOption `json:"game_port"`
  20. LoginTypeOptions []LoginTypeOption `json:"login_type"`
  21. AccountTypeOptions []AccountTypeOption `json:"account_type"`
  22. GameListOptions []GameListOption `json:"game_list"`
  23. }