protocol.go 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. package http
  2. const (
  3. // ProtocolArea .
  4. ProtocolArea = "area"
  5. // ProtocolState .
  6. ProtocolState = "state"
  7. // ProtocolSearch .
  8. ProtocolSearch = "q"
  9. // ProtocolSynced .
  10. ProtocolSynced = "synced"
  11. // ProtocolAdminID .
  12. ProtocolAdminID = "admin_id"
  13. // ProtocolCurPage .
  14. ProtocolCurPage = "cur_page"
  15. // ProtocolPerPage .
  16. ProtocolPerPage = "per_page"
  17. // ProtocolCTime .
  18. ProtocolCTime = "ctime"
  19. // ProtocolCTimeStart .
  20. ProtocolCTimeStart = "ctime_start"
  21. // ProtocolCTimeEnd .
  22. ProtocolCTimeEnd = "ctime_end"
  23. // ProtocolOrder .
  24. ProtocolOrder = "order"
  25. // ProtocolOrderBy .
  26. ProtocolOrderBy = "order_by"
  27. // ProtocolOrderASC .
  28. ProtocolOrderASC = "asc"
  29. // ProtocolOrderDESC .
  30. ProtocolOrderDESC = "desc"
  31. // ProtocolCode .
  32. ProtocolCode = "code"
  33. // ProtocolData .
  34. ProtocolData = "data"
  35. // ProtocolMessage .
  36. ProtocolMessage = "msg"
  37. // ProtocolTotalCounts .
  38. ProtocolTotalCounts = "total_counts"
  39. // ProtocolRegexpID .
  40. ProtocolRegexpID = "id"
  41. // ProtocolRegexpName .
  42. ProtocolRegexpName = "name"
  43. // ProtocolRegexpContent .
  44. ProtocolRegexpContent = "content"
  45. // ProtocolRegexpOperation .
  46. ProtocolRegexpOperation = "op"
  47. // ProtocolRuleDuration .
  48. ProtocolRuleDuration = "time_span"
  49. // ProtocolRuleLimitType .
  50. ProtocolRuleLimitType = "limit_type"
  51. // ProtocolRuleLimitScope .
  52. ProtocolRuleLimitScope = "limit_scope"
  53. // ProtocolRuleAllowedCounts .
  54. ProtocolRuleAllowedCounts = "allowed_counts"
  55. // ProtocolKeywordID .
  56. ProtocolKeywordID = "id"
  57. // ProtocolKeywordIDs .
  58. ProtocolKeywordIDs = "ids"
  59. // ProtocolKeywordTag .
  60. ProtocolKeywordTag = "tag"
  61. // ProtocolKeywordExport .
  62. ProtocolKeywordExport = "export"
  63. // ProtocolKeywordHitCounts .
  64. ProtocolKeywordHitCounts = "hit_counts"
  65. // ProtocolKeywordOpWhite .
  66. ProtocolKeywordOpWhite = "white"
  67. // ProtocolKeywordOpBlack .
  68. ProtocolKeywordOpBlack = "black"
  69. // ProtocolKeywordOperation .
  70. ProtocolKeywordOperation = "op"
  71. // ProtocolKeywordOpDefaultLimit .
  72. ProtocolKeywordOpDefaultLimit = "limit"
  73. // ProtocolKeywordOpRestrictLimit .
  74. ProtocolKeywordOpRestrictLimit = "restrict"
  75. // ProtocolKeywordOpBlackAndDeleteReply .
  76. ProtocolKeywordOpBlackAndDeleteReply = "black_and_del"
  77. // ProtocolKeywordSenderID .
  78. ProtocolKeywordSenderID = "sender_id"
  79. // ProtocolKeywordSubjectID .
  80. ProtocolKeywordSubjectID = "oid"
  81. // ProtocolKeywordContent .
  82. ProtocolKeywordContent = "content"
  83. )