| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.25.0
- // protoc v3.14.0
- // source: base.proto
- package base
- import (
- proto "github.com/golang/protobuf/proto"
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
- )
- const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
- )
- // This is a compile-time assertion that a sufficiently up-to-date version
- // of the legacy proto package is being used.
- const _ = proto.ProtoPackageIsVersion4
- type ErrorCode int32
- const (
- ErrorCode_OK ErrorCode = 0
- )
- // Enum value maps for ErrorCode.
- var (
- ErrorCode_name = map[int32]string{
- 0: "OK",
- }
- ErrorCode_value = map[string]int32{
- "OK": 0,
- }
- )
- func (x ErrorCode) Enum() *ErrorCode {
- p := new(ErrorCode)
- *p = x
- return p
- }
- func (x ErrorCode) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (ErrorCode) Descriptor() protoreflect.EnumDescriptor {
- return file_base_proto_enumTypes[0].Descriptor()
- }
- func (ErrorCode) Type() protoreflect.EnumType {
- return &file_base_proto_enumTypes[0]
- }
- func (x ErrorCode) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use ErrorCode.Descriptor instead.
- func (ErrorCode) EnumDescriptor() ([]byte, []int) {
- return file_base_proto_rawDescGZIP(), []int{0}
- }
- type DefaultRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *DefaultRequest) Reset() {
- *x = DefaultRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_base_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *DefaultRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*DefaultRequest) ProtoMessage() {}
- func (x *DefaultRequest) ProtoReflect() protoreflect.Message {
- mi := &file_base_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use DefaultRequest.ProtoReflect.Descriptor instead.
- func (*DefaultRequest) Descriptor() ([]byte, []int) {
- return file_base_proto_rawDescGZIP(), []int{0}
- }
- type DefaultReply struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *DefaultReply) Reset() {
- *x = DefaultReply{}
- if protoimpl.UnsafeEnabled {
- mi := &file_base_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *DefaultReply) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*DefaultReply) ProtoMessage() {}
- func (x *DefaultReply) ProtoReflect() protoreflect.Message {
- mi := &file_base_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use DefaultReply.ProtoReflect.Descriptor instead.
- func (*DefaultReply) Descriptor() ([]byte, []int) {
- return file_base_proto_rawDescGZIP(), []int{1}
- }
- type SignUpRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
- }
- func (x *SignUpRequest) Reset() {
- *x = SignUpRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_base_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SignUpRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SignUpRequest) ProtoMessage() {}
- func (x *SignUpRequest) ProtoReflect() protoreflect.Message {
- mi := &file_base_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SignUpRequest.ProtoReflect.Descriptor instead.
- func (*SignUpRequest) Descriptor() ([]byte, []int) {
- return file_base_proto_rawDescGZIP(), []int{2}
- }
- func (x *SignUpRequest) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *SignUpRequest) GetPassword() string {
- if x != nil {
- return x.Password
- }
- return ""
- }
- type SignInReply struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
- }
- func (x *SignInReply) Reset() {
- *x = SignInReply{}
- if protoimpl.UnsafeEnabled {
- mi := &file_base_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SignInReply) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SignInReply) ProtoMessage() {}
- func (x *SignInReply) ProtoReflect() protoreflect.Message {
- mi := &file_base_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SignInReply.ProtoReflect.Descriptor instead.
- func (*SignInReply) Descriptor() ([]byte, []int) {
- return file_base_proto_rawDescGZIP(), []int{3}
- }
- func (x *SignInReply) GetToken() string {
- if x != nil {
- return x.Token
- }
- return ""
- }
- type SignInRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
- Password string `protobuf:"bytes,2,opt,name=Password,proto3" json:"Password,omitempty"`
- CodeID string `protobuf:"bytes,3,opt,name=CodeID,proto3" json:"CodeID,omitempty"`
- VerifyCode string `protobuf:"bytes,4,opt,name=VerifyCode,proto3" json:"VerifyCode,omitempty"`
- }
- func (x *SignInRequest) Reset() {
- *x = SignInRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_base_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SignInRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SignInRequest) ProtoMessage() {}
- func (x *SignInRequest) ProtoReflect() protoreflect.Message {
- mi := &file_base_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 mi.MessageOf(x)
- }
- // Deprecated: Use SignInRequest.ProtoReflect.Descriptor instead.
- func (*SignInRequest) Descriptor() ([]byte, []int) {
- return file_base_proto_rawDescGZIP(), []int{4}
- }
- func (x *SignInRequest) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *SignInRequest) GetPassword() string {
- if x != nil {
- return x.Password
- }
- return ""
- }
- func (x *SignInRequest) GetCodeID() string {
- if x != nil {
- return x.CodeID
- }
- return ""
- }
- func (x *SignInRequest) GetVerifyCode() string {
- if x != nil {
- return x.VerifyCode
- }
- return ""
- }
- type GenVerifyImageRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Height int32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
- Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"`
- }
- func (x *GenVerifyImageRequest) Reset() {
- *x = GenVerifyImageRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_base_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *GenVerifyImageRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GenVerifyImageRequest) ProtoMessage() {}
- func (x *GenVerifyImageRequest) ProtoReflect() protoreflect.Message {
- mi := &file_base_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use GenVerifyImageRequest.ProtoReflect.Descriptor instead.
- func (*GenVerifyImageRequest) Descriptor() ([]byte, []int) {
- return file_base_proto_rawDescGZIP(), []int{5}
- }
- func (x *GenVerifyImageRequest) GetHeight() int32 {
- if x != nil {
- return x.Height
- }
- return 0
- }
- func (x *GenVerifyImageRequest) GetWidth() int32 {
- if x != nil {
- return x.Width
- }
- return 0
- }
- type GenVerifyImageReply struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- CodeId string `protobuf:"bytes,1,opt,name=codeId,proto3" json:"codeId,omitempty"`
- ImageBase64 string `protobuf:"bytes,2,opt,name=imageBase64,proto3" json:"imageBase64,omitempty"`
- }
- func (x *GenVerifyImageReply) Reset() {
- *x = GenVerifyImageReply{}
- if protoimpl.UnsafeEnabled {
- mi := &file_base_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *GenVerifyImageReply) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*GenVerifyImageReply) ProtoMessage() {}
- func (x *GenVerifyImageReply) ProtoReflect() protoreflect.Message {
- mi := &file_base_proto_msgTypes[6]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use GenVerifyImageReply.ProtoReflect.Descriptor instead.
- func (*GenVerifyImageReply) Descriptor() ([]byte, []int) {
- return file_base_proto_rawDescGZIP(), []int{6}
- }
- func (x *GenVerifyImageReply) GetCodeId() string {
- if x != nil {
- return x.CodeId
- }
- return ""
- }
- func (x *GenVerifyImageReply) GetImageBase64() string {
- if x != nil {
- return x.ImageBase64
- }
- return ""
- }
- var File_base_proto protoreflect.FileDescriptor
- var file_base_proto_rawDesc = []byte{
- 0x0a, 0x0a, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x04, 0x62, 0x61,
- 0x73, 0x65, 0x22, 0x10, 0x0a, 0x0e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x71,
- 0x75, 0x65, 0x73, 0x74, 0x22, 0x0e, 0x0a, 0x0c, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52,
- 0x65, 0x70, 0x6c, 0x79, 0x22, 0x3f, 0x0a, 0x0d, 0x53, 0x69, 0x67, 0x6e, 0x55, 0x70, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73,
- 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73,
- 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x23, 0x0a, 0x0b, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52,
- 0x65, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x77, 0x0a, 0x0d, 0x53, 0x69,
- 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x4e,
- 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12,
- 0x1a, 0x0a, 0x08, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x08, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x43,
- 0x6f, 0x64, 0x65, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x43, 0x6f, 0x64,
- 0x65, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x64,
- 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x43,
- 0x6f, 0x64, 0x65, 0x22, 0x45, 0x0a, 0x15, 0x47, 0x65, 0x6e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79,
- 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06,
- 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x68, 0x65,
- 0x69, 0x67, 0x68, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x05, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x22, 0x4f, 0x0a, 0x13, 0x47, 0x65,
- 0x6e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x70, 0x6c,
- 0x79, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x06, 0x63, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x6d, 0x61,
- 0x67, 0x65, 0x42, 0x61, 0x73, 0x65, 0x36, 0x34, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
- 0x69, 0x6d, 0x61, 0x67, 0x65, 0x42, 0x61, 0x73, 0x65, 0x36, 0x34, 0x2a, 0x13, 0x0a, 0x09, 0x45,
- 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x06, 0x0a, 0x02, 0x4f, 0x4b, 0x10, 0x00,
- 0x32, 0xf1, 0x01, 0x0a, 0x03, 0x41, 0x70, 0x69, 0x12, 0x33, 0x0a, 0x06, 0x53, 0x69, 0x67, 0x6e,
- 0x55, 0x70, 0x12, 0x13, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x55, 0x70,
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x44,
- 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x32, 0x0a,
- 0x06, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x12, 0x13, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x53,
- 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x62,
- 0x61, 0x73, 0x65, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22,
- 0x00, 0x12, 0x35, 0x0a, 0x07, 0x53, 0x69, 0x67, 0x6e, 0x4f, 0x75, 0x74, 0x12, 0x14, 0x2e, 0x62,
- 0x61, 0x73, 0x65, 0x2e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c,
- 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x4a, 0x0a, 0x0e, 0x47, 0x65, 0x6e, 0x56,
- 0x65, 0x72, 0x69, 0x66, 0x79, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x2e, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x47, 0x65, 0x6e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x49, 0x6d, 0x61, 0x67, 0x65,
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x47,
- 0x65, 0x6e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x70,
- 0x6c, 0x79, 0x22, 0x00, 0x42, 0x08, 0x5a, 0x06, 0x2e, 0x3b, 0x62, 0x61, 0x73, 0x65, 0x62, 0x06,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
- }
- var (
- file_base_proto_rawDescOnce sync.Once
- file_base_proto_rawDescData = file_base_proto_rawDesc
- )
- func file_base_proto_rawDescGZIP() []byte {
- file_base_proto_rawDescOnce.Do(func() {
- file_base_proto_rawDescData = protoimpl.X.CompressGZIP(file_base_proto_rawDescData)
- })
- return file_base_proto_rawDescData
- }
- var file_base_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
- var file_base_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
- var file_base_proto_goTypes = []interface{}{
- (ErrorCode)(0), // 0: base.ErrorCode
- (*DefaultRequest)(nil), // 1: base.DefaultRequest
- (*DefaultReply)(nil), // 2: base.DefaultReply
- (*SignUpRequest)(nil), // 3: base.SignUpRequest
- (*SignInReply)(nil), // 4: base.SignInReply
- (*SignInRequest)(nil), // 5: base.SignInRequest
- (*GenVerifyImageRequest)(nil), // 6: base.GenVerifyImageRequest
- (*GenVerifyImageReply)(nil), // 7: base.GenVerifyImageReply
- }
- var file_base_proto_depIdxs = []int32{
- 3, // 0: base.Api.SignUp:input_type -> base.SignUpRequest
- 5, // 1: base.Api.SignIn:input_type -> base.SignInRequest
- 1, // 2: base.Api.SignOut:input_type -> base.DefaultRequest
- 6, // 3: base.Api.GenVerifyImage:input_type -> base.GenVerifyImageRequest
- 2, // 4: base.Api.SignUp:output_type -> base.DefaultReply
- 4, // 5: base.Api.SignIn:output_type -> base.SignInReply
- 2, // 6: base.Api.SignOut:output_type -> base.DefaultReply
- 7, // 7: base.Api.GenVerifyImage:output_type -> base.GenVerifyImageReply
- 4, // [4:8] is the sub-list for method output_type
- 0, // [0:4] 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_base_proto_init() }
- func file_base_proto_init() {
- if File_base_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_base_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DefaultRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_base_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DefaultReply); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_base_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SignUpRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_base_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SignInReply); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_base_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SignInRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_base_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GenVerifyImageRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_base_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GenVerifyImageReply); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_base_proto_rawDesc,
- NumEnums: 1,
- NumMessages: 7,
- NumExtensions: 0,
- NumServices: 1,
- },
- GoTypes: file_base_proto_goTypes,
- DependencyIndexes: file_base_proto_depIdxs,
- EnumInfos: file_base_proto_enumTypes,
- MessageInfos: file_base_proto_msgTypes,
- }.Build()
- File_base_proto = out.File
- file_base_proto_rawDesc = nil
- file_base_proto_goTypes = nil
- file_base_proto_depIdxs = nil
- }
|