github.com/glide-im/glide@v1.6.0/im_service/proto/api.proto (about) 1 syntax = "proto3"; 2 package im_service.glide_im.github.com; 3 4 option go_package = "im_service/proto"; 5 6 message Response { 7 enum ResponseCode { 8 OK = 0; 9 ERROR = 1; 10 } 11 12 int32 code = 1; 13 string msg = 2; 14 } 15 16 message UpdateClient { 17 enum UpdateType { 18 _ = 0; 19 UpdateID = 1; 20 Close = 2; 21 Kick = 3; 22 UpdateSecret = 4; 23 } 24 string id = 1; 25 string newId = 3; 26 string secret = 4; 27 string message = 5; 28 UpdateType type = 6; 29 } 30 31 message EnqueueMessageRequest { 32 string id = 1; 33 bytes msg = 2; 34 }