Skip to content

Commit

Permalink
optimize code
Browse files Browse the repository at this point in the history
  • Loading branch information
withchao committed Mar 19, 2024
1 parent db15b29 commit 9dff0b0
Show file tree
Hide file tree
Showing 33 changed files with 6,870 additions and 8,048 deletions.
207 changes: 102 additions & 105 deletions auth/auth.pb.go

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions auth/auth.proto
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
// limitations under the License.

syntax = "proto3";
package OpenIMServer.auth;
option go_package = "github.com/OpenIMSDK/protocol/auth";
package openim.auth;
option go_package = "github.com/openimsdk/protocol/auth";


message userTokenReq {
Expand Down
1,250 changes: 615 additions & 635 deletions conversation/conversation.pb.go

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions conversation/conversation.proto
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
// limitations under the License.

syntax = "proto3";
package OpenIMServer.conversation;
package openim.conversation;
import "sdkws/sdkws.proto";
import "wrapperspb/wrapperspb.proto";
option go_package = "github.com/OpenIMSDK/protocol/conversation";
import "google/wrappers.proto";
option go_package = "github.com/openimsdk/protocol/conversation";

message Conversation{
string ownerUserID = 1;
Expand All @@ -43,17 +43,17 @@ message ConversationReq{
int32 conversationType = 2;
string userID = 3;
string groupID = 4;
OpenIMServer.protobuf.Int32Value recvMsgOpt = 5;
OpenIMServer.protobuf.BoolValue isPinned = 6;
OpenIMServer.protobuf.StringValue attachedInfo = 7;
OpenIMServer.protobuf.BoolValue isPrivateChat = 8;
OpenIMServer.protobuf.StringValue ex = 9;
OpenIMServer.protobuf.Int32Value burnDuration = 10;
OpenIMServer.protobuf.Int64Value minSeq = 11;
OpenIMServer.protobuf.Int64Value maxSeq = 12;
OpenIMServer.protobuf.Int32Value groupAtType = 13;
OpenIMServer.protobuf.Int64Value msgDestructTime = 14;
OpenIMServer.protobuf.BoolValue isMsgDestruct = 15;
google.protobuf.Int32Value recvMsgOpt = 5;
google.protobuf.BoolValue isPinned = 6;
google.protobuf.StringValue attachedInfo = 7;
google.protobuf.BoolValue isPrivateChat = 8;
google.protobuf.StringValue ex = 9;
google.protobuf.Int32Value burnDuration = 10;
google.protobuf.Int64Value minSeq = 11;
google.protobuf.Int64Value maxSeq = 12;
google.protobuf.Int32Value groupAtType = 13;
google.protobuf.Int64Value msgDestructTime = 14;
google.protobuf.BoolValue isMsgDestruct = 15;
}

message SetConversationReq{
Expand Down
39 changes: 19 additions & 20 deletions errinfo/errinfo.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions errinfo/errinfo.proto
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

syntax = "proto3";

package OpenIMServer.protobuf;
package openim.protobuf;

option go_package = "github.com/OpenIMSDK/protocol/errinfo";
option go_package = "github.com/openimsdk/protocol/errinfo";

message ErrorInfo {
string path = 1;
Expand Down
Loading

0 comments on commit 9dff0b0

Please sign in to comment.