|
@@ -9,7 +9,6 @@ package pb
|
|
|
import (
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
- structpb "google.golang.org/protobuf/types/known/structpb"
|
|
|
reflect "reflect"
|
|
|
sync "sync"
|
|
|
)
|
|
@@ -123,7 +122,7 @@ func (x *CsAuthReq) GetCsId() string {
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
-type CheckAuthReq struct {
|
|
|
+type AuthResp struct {
|
|
|
state protoimpl.MessageState
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
unknownFields protoimpl.UnknownFields
|
|
@@ -131,8 +130,8 @@ type CheckAuthReq struct {
|
|
|
AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
|
|
|
}
|
|
|
|
|
|
-func (x *CheckAuthReq) Reset() {
|
|
|
- *x = CheckAuthReq{}
|
|
|
+func (x *AuthResp) Reset() {
|
|
|
+ *x = AuthResp{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
mi := &file_pb_auth_proto_msgTypes[2]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
@@ -140,13 +139,13 @@ func (x *CheckAuthReq) Reset() {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-func (x *CheckAuthReq) String() string {
|
|
|
+func (x *AuthResp) String() string {
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
}
|
|
|
|
|
|
-func (*CheckAuthReq) ProtoMessage() {}
|
|
|
+func (*AuthResp) ProtoMessage() {}
|
|
|
|
|
|
-func (x *CheckAuthReq) ProtoReflect() protoreflect.Message {
|
|
|
+func (x *AuthResp) ProtoReflect() protoreflect.Message {
|
|
|
mi := &file_pb_auth_proto_msgTypes[2]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
@@ -158,30 +157,28 @@ func (x *CheckAuthReq) ProtoReflect() protoreflect.Message {
|
|
|
return mi.MessageOf(x)
|
|
|
}
|
|
|
|
|
|
-// Deprecated: Use CheckAuthReq.ProtoReflect.Descriptor instead.
|
|
|
-func (*CheckAuthReq) Descriptor() ([]byte, []int) {
|
|
|
+// Deprecated: Use AuthResp.ProtoReflect.Descriptor instead.
|
|
|
+func (*AuthResp) Descriptor() ([]byte, []int) {
|
|
|
return file_pb_auth_proto_rawDescGZIP(), []int{2}
|
|
|
}
|
|
|
|
|
|
-func (x *CheckAuthReq) GetAccessToken() string {
|
|
|
+func (x *AuthResp) GetAccessToken() string {
|
|
|
if x != nil {
|
|
|
return x.AccessToken
|
|
|
}
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
-type AuthResp struct {
|
|
|
+type CheckAuthReq struct {
|
|
|
state protoimpl.MessageState
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
- Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
|
- Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
|
|
|
- Data *structpb.Struct `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
|
|
|
+ AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
|
|
|
}
|
|
|
|
|
|
-func (x *AuthResp) Reset() {
|
|
|
- *x = AuthResp{}
|
|
|
+func (x *CheckAuthReq) Reset() {
|
|
|
+ *x = CheckAuthReq{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
mi := &file_pb_auth_proto_msgTypes[3]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
@@ -189,13 +186,13 @@ func (x *AuthResp) Reset() {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-func (x *AuthResp) String() string {
|
|
|
+func (x *CheckAuthReq) String() string {
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
}
|
|
|
|
|
|
-func (*AuthResp) ProtoMessage() {}
|
|
|
+func (*CheckAuthReq) ProtoMessage() {}
|
|
|
|
|
|
-func (x *AuthResp) ProtoReflect() protoreflect.Message {
|
|
|
+func (x *CheckAuthReq) ProtoReflect() protoreflect.Message {
|
|
|
mi := &file_pb_auth_proto_msgTypes[3]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
@@ -207,64 +204,84 @@ func (x *AuthResp) ProtoReflect() protoreflect.Message {
|
|
|
return mi.MessageOf(x)
|
|
|
}
|
|
|
|
|
|
-// Deprecated: Use AuthResp.ProtoReflect.Descriptor instead.
|
|
|
-func (*AuthResp) Descriptor() ([]byte, []int) {
|
|
|
+// Deprecated: Use CheckAuthReq.ProtoReflect.Descriptor instead.
|
|
|
+func (*CheckAuthReq) Descriptor() ([]byte, []int) {
|
|
|
return file_pb_auth_proto_rawDescGZIP(), []int{3}
|
|
|
}
|
|
|
|
|
|
-func (x *AuthResp) GetCode() int64 {
|
|
|
+func (x *CheckAuthReq) GetAccessToken() string {
|
|
|
if x != nil {
|
|
|
- return x.Code
|
|
|
+ return x.AccessToken
|
|
|
}
|
|
|
- return 0
|
|
|
+ return ""
|
|
|
}
|
|
|
|
|
|
-func (x *AuthResp) GetMsg() string {
|
|
|
- if x != nil {
|
|
|
- return x.Msg
|
|
|
+type CheckAuthResp struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CheckAuthResp) Reset() {
|
|
|
+ *x = CheckAuthResp{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_pb_auth_proto_msgTypes[4]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
}
|
|
|
- return ""
|
|
|
}
|
|
|
|
|
|
-func (x *AuthResp) GetData() *structpb.Struct {
|
|
|
- if x != nil {
|
|
|
- return x.Data
|
|
|
+func (x *CheckAuthResp) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*CheckAuthResp) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *CheckAuthResp) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_pb_auth_proto_msgTypes[4]
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+ return ms
|
|
|
}
|
|
|
- return nil
|
|
|
+ return mi.MessageOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+// Deprecated: Use CheckAuthResp.ProtoReflect.Descriptor instead.
|
|
|
+func (*CheckAuthResp) Descriptor() ([]byte, []int) {
|
|
|
+ return file_pb_auth_proto_rawDescGZIP(), []int{4}
|
|
|
}
|
|
|
|
|
|
var File_pb_auth_proto protoreflect.FileDescriptor
|
|
|
|
|
|
var file_pb_auth_proto_rawDesc = []byte{
|
|
|
0x0a, 0x0d, 0x70, 0x62, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
|
|
- 0x02, 0x70, 0x62, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
|
|
|
- 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
|
- 0x6f, 0x22, 0x45, 0x0a, 0x0d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x75, 0x74, 0x68, 0x52,
|
|
|
- 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18,
|
|
|
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12,
|
|
|
- 0x17, 0x0a, 0x07, 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
|
- 0x52, 0x06, 0x67, 0x61, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x20, 0x0a, 0x09, 0x43, 0x73, 0x41, 0x75,
|
|
|
- 0x74, 0x68, 0x52, 0x65, 0x71, 0x12, 0x13, 0x0a, 0x05, 0x63, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01,
|
|
|
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x73, 0x49, 0x64, 0x22, 0x31, 0x0a, 0x0c, 0x43, 0x68,
|
|
|
- 0x65, 0x63, 0x6b, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63,
|
|
|
- 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
|
- 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x5d, 0x0a,
|
|
|
- 0x08, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64,
|
|
|
- 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a,
|
|
|
- 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12,
|
|
|
- 0x2b, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e,
|
|
|
- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
|
|
|
- 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x32, 0x89, 0x01, 0x0a,
|
|
|
- 0x04, 0x41, 0x75, 0x74, 0x68, 0x12, 0x2d, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41,
|
|
|
- 0x75, 0x74, 0x68, 0x12, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41,
|
|
|
- 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, 0x1a, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x75, 0x74, 0x68,
|
|
|
- 0x52, 0x65, 0x73, 0x70, 0x12, 0x25, 0x0a, 0x06, 0x63, 0x73, 0x41, 0x75, 0x74, 0x68, 0x12, 0x0d,
|
|
|
- 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x73, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, 0x1a, 0x0c, 0x2e,
|
|
|
- 0x70, 0x62, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2b, 0x0a, 0x09, 0x63,
|
|
|
- 0x68, 0x65, 0x63, 0x6b, 0x41, 0x75, 0x74, 0x68, 0x12, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x68,
|
|
|
- 0x65, 0x63, 0x6b, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, 0x1a, 0x0c, 0x2e, 0x70, 0x62, 0x2e,
|
|
|
- 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62,
|
|
|
- 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
+ 0x02, 0x70, 0x62, 0x22, 0x45, 0x0a, 0x0d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x75, 0x74,
|
|
|
+ 0x68, 0x52, 0x65, 0x71, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x69,
|
|
|
+ 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49,
|
|
|
+ 0x64, 0x12, 0x17, 0x0a, 0x07, 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
|
|
|
+ 0x28, 0x09, 0x52, 0x06, 0x67, 0x61, 0x6d, 0x65, 0x49, 0x64, 0x22, 0x20, 0x0a, 0x09, 0x43, 0x73,
|
|
|
+ 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, 0x12, 0x13, 0x0a, 0x05, 0x63, 0x73, 0x5f, 0x69, 0x64,
|
|
|
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x73, 0x49, 0x64, 0x22, 0x2d, 0x0a, 0x08,
|
|
|
+ 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65,
|
|
|
+ 0x73, 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
|
|
|
+ 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x31, 0x0a, 0x0c, 0x43,
|
|
|
+ 0x68, 0x65, 0x63, 0x6b, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, 0x12, 0x21, 0x0a, 0x0c, 0x61,
|
|
|
+ 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
+ 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x0f,
|
|
|
+ 0x0a, 0x0d, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x32,
|
|
|
+ 0x8e, 0x01, 0x0a, 0x04, 0x41, 0x75, 0x74, 0x68, 0x12, 0x2d, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x79,
|
|
|
+ 0x65, 0x72, 0x41, 0x75, 0x74, 0x68, 0x12, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x6c, 0x61, 0x79,
|
|
|
+ 0x65, 0x72, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, 0x1a, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x41,
|
|
|
+ 0x75, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x12, 0x25, 0x0a, 0x06, 0x63, 0x73, 0x41, 0x75, 0x74,
|
|
|
+ 0x68, 0x12, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x73, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x71,
|
|
|
+ 0x1a, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30,
|
|
|
+ 0x0a, 0x09, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x75, 0x74, 0x68, 0x12, 0x10, 0x2e, 0x70, 0x62,
|
|
|
+ 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, 0x1a, 0x11, 0x2e,
|
|
|
+ 0x70, 0x62, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70,
|
|
|
+ 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
}
|
|
|
|
|
|
var (
|
|
@@ -279,27 +296,26 @@ func file_pb_auth_proto_rawDescGZIP() []byte {
|
|
|
return file_pb_auth_proto_rawDescData
|
|
|
}
|
|
|
|
|
|
-var file_pb_auth_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
|
|
+var file_pb_auth_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
|
|
var file_pb_auth_proto_goTypes = []interface{}{
|
|
|
- (*PlayerAuthReq)(nil), // 0: pb.PlayerAuthReq
|
|
|
- (*CsAuthReq)(nil), // 1: pb.CsAuthReq
|
|
|
- (*CheckAuthReq)(nil), // 2: pb.CheckAuthReq
|
|
|
- (*AuthResp)(nil), // 3: pb.AuthResp
|
|
|
- (*structpb.Struct)(nil), // 4: google.protobuf.Struct
|
|
|
+ (*PlayerAuthReq)(nil), // 0: pb.PlayerAuthReq
|
|
|
+ (*CsAuthReq)(nil), // 1: pb.CsAuthReq
|
|
|
+ (*AuthResp)(nil), // 2: pb.AuthResp
|
|
|
+ (*CheckAuthReq)(nil), // 3: pb.CheckAuthReq
|
|
|
+ (*CheckAuthResp)(nil), // 4: pb.CheckAuthResp
|
|
|
}
|
|
|
var file_pb_auth_proto_depIdxs = []int32{
|
|
|
- 4, // 0: pb.AuthResp.data:type_name -> google.protobuf.Struct
|
|
|
- 0, // 1: pb.Auth.playerAuth:input_type -> pb.PlayerAuthReq
|
|
|
- 1, // 2: pb.Auth.csAuth:input_type -> pb.CsAuthReq
|
|
|
- 2, // 3: pb.Auth.checkAuth:input_type -> pb.CheckAuthReq
|
|
|
- 3, // 4: pb.Auth.playerAuth:output_type -> pb.AuthResp
|
|
|
- 3, // 5: pb.Auth.csAuth:output_type -> pb.AuthResp
|
|
|
- 3, // 6: pb.Auth.checkAuth:output_type -> pb.AuthResp
|
|
|
- 4, // [4:7] is the sub-list for method output_type
|
|
|
- 1, // [1:4] is the sub-list for method input_type
|
|
|
- 1, // [1:1] is the sub-list for extension type_name
|
|
|
- 1, // [1:1] is the sub-list for extension extendee
|
|
|
- 0, // [0:1] is the sub-list for field type_name
|
|
|
+ 0, // 0: pb.Auth.playerAuth:input_type -> pb.PlayerAuthReq
|
|
|
+ 1, // 1: pb.Auth.csAuth:input_type -> pb.CsAuthReq
|
|
|
+ 3, // 2: pb.Auth.checkAuth:input_type -> pb.CheckAuthReq
|
|
|
+ 2, // 3: pb.Auth.playerAuth:output_type -> pb.AuthResp
|
|
|
+ 2, // 4: pb.Auth.csAuth:output_type -> pb.AuthResp
|
|
|
+ 4, // 5: pb.Auth.checkAuth:output_type -> pb.CheckAuthResp
|
|
|
+ 3, // [3:6] is the sub-list for method output_type
|
|
|
+ 0, // [0:3] is the sub-list for method input_type
|
|
|
+ 0, // [0:0] is the sub-list for extension type_name
|
|
|
+ 0, // [0:0] is the sub-list for extension extendee
|
|
|
+ 0, // [0:0] is the sub-list for field type_name
|
|
|
}
|
|
|
|
|
|
func init() { file_pb_auth_proto_init() }
|
|
@@ -333,7 +349,7 @@ func file_pb_auth_proto_init() {
|
|
|
}
|
|
|
}
|
|
|
file_pb_auth_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*CheckAuthReq); i {
|
|
|
+ switch v := v.(*AuthResp); i {
|
|
|
case 0:
|
|
|
return &v.state
|
|
|
case 1:
|
|
@@ -345,7 +361,19 @@ func file_pb_auth_proto_init() {
|
|
|
}
|
|
|
}
|
|
|
file_pb_auth_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*AuthResp); i {
|
|
|
+ switch v := v.(*CheckAuthReq); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_pb_auth_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*CheckAuthResp); i {
|
|
|
case 0:
|
|
|
return &v.state
|
|
|
case 1:
|
|
@@ -363,7 +391,7 @@ func file_pb_auth_proto_init() {
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
RawDescriptor: file_pb_auth_proto_rawDesc,
|
|
|
NumEnums: 0,
|
|
|
- NumMessages: 4,
|
|
|
+ NumMessages: 5,
|
|
|
NumExtensions: 0,
|
|
|
NumServices: 1,
|
|
|
},
|