golang-im聊天
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

25 lines
857 B

  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. "/pb.LogicExt/DeleteFriend": 12,
  22. }