|
|
@ -1,6 +1,6 @@
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// versions:
|
|
|
|
// versions:
|
|
|
|
// protoc-gen-go v1.32.0
|
|
|
|
// protoc-gen-go v1.36.6
|
|
|
|
// protoc (unknown)
|
|
|
|
// protoc (unknown)
|
|
|
|
// source: core/v1/auth.proto
|
|
|
|
// source: core/v1/auth.proto
|
|
|
|
|
|
|
|
|
|
|
@ -11,6 +11,7 @@ import (
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
reflect "reflect"
|
|
|
|
reflect "reflect"
|
|
|
|
sync "sync"
|
|
|
|
sync "sync"
|
|
|
|
|
|
|
|
unsafe "unsafe"
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
const (
|
|
|
|
const (
|
|
|
@ -21,20 +22,17 @@ const (
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
type User struct {
|
|
|
|
type User struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PhoneNum string `protobuf:"bytes,1,opt,name=phone_num,json=phoneNum,proto3" json:"phone_num,omitempty"`
|
|
|
|
PhoneNum string `protobuf:"bytes,1,opt,name=phone_num,json=phoneNum,proto3" json:"phone_num,omitempty"`
|
|
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *User) Reset() {
|
|
|
|
func (x *User) Reset() {
|
|
|
|
*x = User{}
|
|
|
|
*x = User{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
|
|
|
mi := &file_core_v1_auth_proto_msgTypes[0]
|
|
|
|
mi := &file_core_v1_auth_proto_msgTypes[0]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *User) String() string {
|
|
|
|
func (x *User) String() string {
|
|
|
@ -45,7 +43,7 @@ func (*User) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *User) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *User) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_core_v1_auth_proto_msgTypes[0]
|
|
|
|
mi := &file_core_v1_auth_proto_msgTypes[0]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
if x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
@ -68,21 +66,18 @@ func (x *User) GetPhoneNum() string {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type UserVerify struct {
|
|
|
|
type UserVerify struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PhoneNum string `protobuf:"bytes,1,opt,name=phone_num,json=phoneNum,proto3" json:"phone_num,omitempty"`
|
|
|
|
PhoneNum string `protobuf:"bytes,1,opt,name=phone_num,json=phoneNum,proto3" json:"phone_num,omitempty"`
|
|
|
|
VerificationCode string `protobuf:"bytes,2,opt,name=verification_code,json=verificationCode,proto3" json:"verification_code,omitempty"`
|
|
|
|
VerificationCode string `protobuf:"bytes,2,opt,name=verification_code,json=verificationCode,proto3" json:"verification_code,omitempty"`
|
|
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UserVerify) Reset() {
|
|
|
|
func (x *UserVerify) Reset() {
|
|
|
|
*x = UserVerify{}
|
|
|
|
*x = UserVerify{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
|
|
|
mi := &file_core_v1_auth_proto_msgTypes[1]
|
|
|
|
mi := &file_core_v1_auth_proto_msgTypes[1]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UserVerify) String() string {
|
|
|
|
func (x *UserVerify) String() string {
|
|
|
@ -93,7 +88,7 @@ func (*UserVerify) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *UserVerify) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *UserVerify) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_core_v1_auth_proto_msgTypes[1]
|
|
|
|
mi := &file_core_v1_auth_proto_msgTypes[1]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
if x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
@ -123,21 +118,18 @@ func (x *UserVerify) GetVerificationCode() string {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type LoginReply struct {
|
|
|
|
type LoginReply struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
|
|
|
|
StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
|
|
|
|
Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
|
|
|
|
Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
|
|
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *LoginReply) Reset() {
|
|
|
|
func (x *LoginReply) Reset() {
|
|
|
|
*x = LoginReply{}
|
|
|
|
*x = LoginReply{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
|
|
|
mi := &file_core_v1_auth_proto_msgTypes[2]
|
|
|
|
mi := &file_core_v1_auth_proto_msgTypes[2]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *LoginReply) String() string {
|
|
|
|
func (x *LoginReply) String() string {
|
|
|
@ -148,7 +140,7 @@ func (*LoginReply) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *LoginReply) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *LoginReply) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_core_v1_auth_proto_msgTypes[2]
|
|
|
|
mi := &file_core_v1_auth_proto_msgTypes[2]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
if x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
@ -178,20 +170,17 @@ func (x *LoginReply) GetToken() string {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type ActionReply struct {
|
|
|
|
type ActionReply struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
|
|
|
|
StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
|
|
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *ActionReply) Reset() {
|
|
|
|
func (x *ActionReply) Reset() {
|
|
|
|
*x = ActionReply{}
|
|
|
|
*x = ActionReply{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
|
|
|
mi := &file_core_v1_auth_proto_msgTypes[3]
|
|
|
|
mi := &file_core_v1_auth_proto_msgTypes[3]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *ActionReply) String() string {
|
|
|
|
func (x *ActionReply) String() string {
|
|
|
@ -202,7 +191,7 @@ func (*ActionReply) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
func (x *ActionReply) ProtoReflect() protoreflect.Message {
|
|
|
|
func (x *ActionReply) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_core_v1_auth_proto_msgTypes[3]
|
|
|
|
mi := &file_core_v1_auth_proto_msgTypes[3]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
if x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
@ -226,60 +215,43 @@ func (x *ActionReply) GetStatusCode() int32 {
|
|
|
|
|
|
|
|
|
|
|
|
var File_core_v1_auth_proto protoreflect.FileDescriptor
|
|
|
|
var File_core_v1_auth_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
|
|
|
|
var file_core_v1_auth_proto_rawDesc = []byte{
|
|
|
|
const file_core_v1_auth_proto_rawDesc = "" +
|
|
|
|
0x0a, 0x12, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x70,
|
|
|
|
"\n" +
|
|
|
|
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x22, 0x23, 0x0a,
|
|
|
|
"\x12core/v1/auth.proto\x12\acore.v1\"#\n" +
|
|
|
|
0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e,
|
|
|
|
"\x04User\x12\x1b\n" +
|
|
|
|
0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e,
|
|
|
|
"\tphone_num\x18\x01 \x01(\tR\bphoneNum\"V\n" +
|
|
|
|
0x75, 0x6d, 0x22, 0x56, 0x0a, 0x0a, 0x55, 0x73, 0x65, 0x72, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79,
|
|
|
|
"\n" +
|
|
|
|
0x12, 0x1b, 0x0a, 0x09, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20,
|
|
|
|
"UserVerify\x12\x1b\n" +
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x12, 0x2b, 0x0a,
|
|
|
|
"\tphone_num\x18\x01 \x01(\tR\bphoneNum\x12+\n" +
|
|
|
|
0x11, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f,
|
|
|
|
"\x11verification_code\x18\x02 \x01(\tR\x10verificationCode\"C\n" +
|
|
|
|
0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69,
|
|
|
|
"\n" +
|
|
|
|
0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x43, 0x0a, 0x0a, 0x4c, 0x6f,
|
|
|
|
"LoginReply\x12\x1f\n" +
|
|
|
|
0x67, 0x69, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x74,
|
|
|
|
"\vstatus_code\x18\x01 \x01(\x05R\n" +
|
|
|
|
0x75, 0x73, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x73,
|
|
|
|
"statusCode\x12\x14\n" +
|
|
|
|
0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b,
|
|
|
|
"\x05token\x18\x02 \x01(\tR\x05token\".\n" +
|
|
|
|
0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22,
|
|
|
|
"\vActionReply\x12\x1f\n" +
|
|
|
|
0x2e, 0x0a, 0x0b, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x1f,
|
|
|
|
"\vstatus_code\x18\x01 \x01(\x05R\n" +
|
|
|
|
0x0a, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20,
|
|
|
|
"statusCode2\xa2\x01\n" +
|
|
|
|
0x01, 0x28, 0x05, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x32,
|
|
|
|
"\x13AuthenticateService\x12/\n" +
|
|
|
|
0xa2, 0x01, 0x0a, 0x13, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65,
|
|
|
|
"\bpreLogin\x12\r.core.v1.User\x1a\x14.core.v1.ActionReply\x12+\n" +
|
|
|
|
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x2f, 0x0a, 0x08, 0x70, 0x72, 0x65, 0x4c, 0x6f,
|
|
|
|
"\x05login\x12\r.core.v1.User\x1a\x13.core.v1.LoginReply\x12-\n" +
|
|
|
|
0x67, 0x69, 0x6e, 0x12, 0x0d, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73,
|
|
|
|
"\x06logout\x12\r.core.v1.User\x1a\x14.core.v1.ActionReplyB\x8b\x01\n" +
|
|
|
|
0x65, 0x72, 0x1a, 0x14, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74,
|
|
|
|
"\vcom.core.v1B\tAuthProtoP\x01Z4github.com/rocboss/paopao-ce/auto/rpc/core/v1;corev1\xa2\x02\x03CXX\xaa\x02\aCore.V1\xca\x02\aCore\\V1\xe2\x02\x13Core\\V1\\GPBMetadata\xea\x02\bCore::V1b\x06proto3"
|
|
|
|
0x69, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x2b, 0x0a, 0x05, 0x6c, 0x6f, 0x67, 0x69,
|
|
|
|
|
|
|
|
0x6e, 0x12, 0x0d, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72,
|
|
|
|
|
|
|
|
0x1a, 0x13, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e,
|
|
|
|
|
|
|
|
0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x2d, 0x0a, 0x06, 0x6c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x12,
|
|
|
|
|
|
|
|
0x0d, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x1a, 0x14,
|
|
|
|
|
|
|
|
0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52,
|
|
|
|
|
|
|
|
0x65, 0x70, 0x6c, 0x79, 0x42, 0x8b, 0x01, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72,
|
|
|
|
|
|
|
|
0x65, 0x2e, 0x76, 0x31, 0x42, 0x09, 0x41, 0x75, 0x74, 0x68, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
|
|
|
|
|
|
|
|
0x01, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x72, 0x6f,
|
|
|
|
|
|
|
|
0x63, 0x62, 0x6f, 0x73, 0x73, 0x2f, 0x70, 0x61, 0x6f, 0x70, 0x61, 0x6f, 0x2d, 0x63, 0x65, 0x2f,
|
|
|
|
|
|
|
|
0x61, 0x75, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31,
|
|
|
|
|
|
|
|
0x3b, 0x63, 0x6f, 0x72, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x58, 0x58, 0xaa, 0x02, 0x07,
|
|
|
|
|
|
|
|
0x43, 0x6f, 0x72, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x07, 0x43, 0x6f, 0x72, 0x65, 0x5c, 0x56,
|
|
|
|
|
|
|
|
0x31, 0xe2, 0x02, 0x13, 0x43, 0x6f, 0x72, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d,
|
|
|
|
|
|
|
|
0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x08, 0x43, 0x6f, 0x72, 0x65, 0x3a, 0x3a,
|
|
|
|
|
|
|
|
0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
var (
|
|
|
|
file_core_v1_auth_proto_rawDescOnce sync.Once
|
|
|
|
file_core_v1_auth_proto_rawDescOnce sync.Once
|
|
|
|
file_core_v1_auth_proto_rawDescData = file_core_v1_auth_proto_rawDesc
|
|
|
|
file_core_v1_auth_proto_rawDescData []byte
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
func file_core_v1_auth_proto_rawDescGZIP() []byte {
|
|
|
|
func file_core_v1_auth_proto_rawDescGZIP() []byte {
|
|
|
|
file_core_v1_auth_proto_rawDescOnce.Do(func() {
|
|
|
|
file_core_v1_auth_proto_rawDescOnce.Do(func() {
|
|
|
|
file_core_v1_auth_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_v1_auth_proto_rawDescData)
|
|
|
|
file_core_v1_auth_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_core_v1_auth_proto_rawDesc), len(file_core_v1_auth_proto_rawDesc)))
|
|
|
|
})
|
|
|
|
})
|
|
|
|
return file_core_v1_auth_proto_rawDescData
|
|
|
|
return file_core_v1_auth_proto_rawDescData
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var file_core_v1_auth_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
|
|
|
var file_core_v1_auth_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
|
|
|
var file_core_v1_auth_proto_goTypes = []interface{}{
|
|
|
|
var file_core_v1_auth_proto_goTypes = []any{
|
|
|
|
(*User)(nil), // 0: core.v1.User
|
|
|
|
(*User)(nil), // 0: core.v1.User
|
|
|
|
(*UserVerify)(nil), // 1: core.v1.UserVerify
|
|
|
|
(*UserVerify)(nil), // 1: core.v1.UserVerify
|
|
|
|
(*LoginReply)(nil), // 2: core.v1.LoginReply
|
|
|
|
(*LoginReply)(nil), // 2: core.v1.LoginReply
|
|
|
@ -304,61 +276,11 @@ func file_core_v1_auth_proto_init() {
|
|
|
|
if File_core_v1_auth_proto != nil {
|
|
|
|
if File_core_v1_auth_proto != nil {
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
|
|
|
|
file_core_v1_auth_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
|
|
|
switch v := v.(*User); i {
|
|
|
|
|
|
|
|
case 0:
|
|
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
|
|
default:
|
|
|
|
|
|
|
|
return nil
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
file_core_v1_auth_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
|
|
|
switch v := v.(*UserVerify); i {
|
|
|
|
|
|
|
|
case 0:
|
|
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
|
|
default:
|
|
|
|
|
|
|
|
return nil
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
file_core_v1_auth_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
|
|
|
switch v := v.(*LoginReply); i {
|
|
|
|
|
|
|
|
case 0:
|
|
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
|
|
default:
|
|
|
|
|
|
|
|
return nil
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
file_core_v1_auth_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
|
|
|
switch v := v.(*ActionReply); i {
|
|
|
|
|
|
|
|
case 0:
|
|
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
|
|
default:
|
|
|
|
|
|
|
|
return nil
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
type x struct{}
|
|
|
|
type x struct{}
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
RawDescriptor: file_core_v1_auth_proto_rawDesc,
|
|
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_core_v1_auth_proto_rawDesc), len(file_core_v1_auth_proto_rawDesc)),
|
|
|
|
NumEnums: 0,
|
|
|
|
NumEnums: 0,
|
|
|
|
NumMessages: 4,
|
|
|
|
NumMessages: 4,
|
|
|
|
NumExtensions: 0,
|
|
|
|
NumExtensions: 0,
|
|
|
@ -369,7 +291,6 @@ func file_core_v1_auth_proto_init() {
|
|
|
|
MessageInfos: file_core_v1_auth_proto_msgTypes,
|
|
|
|
MessageInfos: file_core_v1_auth_proto_msgTypes,
|
|
|
|
}.Build()
|
|
|
|
}.Build()
|
|
|
|
File_core_v1_auth_proto = out.File
|
|
|
|
File_core_v1_auth_proto = out.File
|
|
|
|
file_core_v1_auth_proto_rawDesc = nil
|
|
|
|
|
|
|
|
file_core_v1_auth_proto_goTypes = nil
|
|
|
|
file_core_v1_auth_proto_goTypes = nil
|
|
|
|
file_core_v1_auth_proto_depIdxs = nil
|
|
|
|
file_core_v1_auth_proto_depIdxs = nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|