golang-im聊天
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

urlwhitelist.go 808 B

1年前
1年前
1234567891011121314151617181920212223
  1. package urlwhitelist
  2. var Business = map[string]int{
  3. "/pb.BusinessExt/SignIn": 0,
  4. "/pb.BusinessExt/EmoticonList": 1,
  5. "/pb.BusinessExt/GetUser": 2,
  6. "/pb.BusinessExt/IsFriends": 3,
  7. }
  8. var Logic = map[string]int{
  9. "/pb.LogicExt/RegisterDevice": 0,
  10. "/pb.LogicExt/GetGroup": 1,
  11. "/pb.LogicExt/GetGroupBannedMembers": 2,
  12. "/pb.LogicExt/SetGroupBannedMembers": 3,
  13. "/pb.LogicExt/SendMessage": 4,
  14. "/pb.LogicExt/UpdateGroupMember": 5,
  15. "/pb.LogicExt/AddGroupMembers": 6,
  16. "/pb.LogicExt/DeleteGroupMember": 7,
  17. "/pb.LogicExt/UpdateGroup": 8,
  18. "/pb.LogicExt/CreateGroup": 9,
  19. "/pb.LogicExt/SetGroupRemoveBannedMembers": 10,
  20. "/pb.LogicExt/SendRedPacket": 11,
  21. }