rpc.go 432 B

12345678910111213141516171819202122232425262728
  1. package model
  2. import "time"
  3. //ArgSpecial special arg
  4. type ArgSpecial struct {
  5. GroupID int64
  6. }
  7. //ArgInfo info arg
  8. type ArgInfo struct {
  9. Mid int64
  10. From int
  11. }
  12. //ArgMidWithDate arg mid with date
  13. type ArgMidWithDate struct {
  14. Mid int64
  15. Date time.Time // 需要查询的时间,如果不填,会使用当前最新的数据
  16. }
  17. //ArgUpSwitch info arg
  18. type ArgUpSwitch struct {
  19. Mid int64
  20. State int
  21. From int
  22. IP string
  23. }