Documentation
¶
Index ¶
- Variables
- func RegisterAccountServiceServer(s grpc.ServiceRegistrar, srv AccountServiceServer)
- func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
- func RegisterFileServiceServer(s grpc.ServiceRegistrar, srv FileServiceServer)
- func RegisterPostServiceServer(s grpc.ServiceRegistrar, srv PostServiceServer)
- type AccountServiceClient
- type AccountServiceServer
- type AuthServiceClient
- type AuthServiceServer
- type CheckAccountRequest
- func (*CheckAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckAccountRequest) GetAccountId() int64
- func (x *CheckAccountRequest) GetEmail() string
- func (x *CheckAccountRequest) GetMobile() string
- func (x *CheckAccountRequest) GetPassword() string
- func (*CheckAccountRequest) ProtoMessage()
- func (x *CheckAccountRequest) ProtoReflect() protoreflect.Message
- func (x *CheckAccountRequest) Reset()
- func (x *CheckAccountRequest) String() string
- type CheckAccountResponse
- func (*CheckAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckAccountResponse) GetAccountId() int64
- func (x *CheckAccountResponse) GetMeta() *Metadata
- func (*CheckAccountResponse) ProtoMessage()
- func (x *CheckAccountResponse) ProtoReflect() protoreflect.Message
- func (x *CheckAccountResponse) Reset()
- func (x *CheckAccountResponse) String() string
- type CreateTemplateRequest
- func (*CreateTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTemplateRequest) GetContent() string
- func (x *CreateTemplateRequest) GetTitle() string
- func (*CreateTemplateRequest) ProtoMessage()
- func (x *CreateTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTemplateRequest) Reset()
- func (x *CreateTemplateRequest) String() string
- type CreateTemplateResponse
- func (*CreateTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTemplateResponse) GetMeta() *Metadata
- func (x *CreateTemplateResponse) GetTemplate() *Template
- func (*CreateTemplateResponse) ProtoMessage()
- func (x *CreateTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *CreateTemplateResponse) Reset()
- func (x *CreateTemplateResponse) String() string
- type CreateVerificationCodeRequest
- func (*CreateVerificationCodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateVerificationCodeRequest) GetBits() int64
- func (x *CreateVerificationCodeRequest) GetExpireTime() int64
- func (*CreateVerificationCodeRequest) ProtoMessage()
- func (x *CreateVerificationCodeRequest) ProtoReflect() protoreflect.Message
- func (x *CreateVerificationCodeRequest) Reset()
- func (x *CreateVerificationCodeRequest) String() string
- type CreateVerificationCodeResponse
- func (*CreateVerificationCodeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateVerificationCodeResponse) GetMeta() *Metadata
- func (x *CreateVerificationCodeResponse) GetVerificationCodeId() int64
- func (*CreateVerificationCodeResponse) ProtoMessage()
- func (x *CreateVerificationCodeResponse) ProtoReflect() protoreflect.Message
- func (x *CreateVerificationCodeResponse) Reset()
- func (x *CreateVerificationCodeResponse) String() string
- type FileContext
- func (*FileContext) Descriptor() ([]byte, []int)deprecated
- func (x *FileContext) GetBizName() string
- func (x *FileContext) GetDomain() string
- func (x *FileContext) GetExpireSeconds() int64
- func (x *FileContext) GetFileId() int64
- func (x *FileContext) GetFileType() string
- func (x *FileContext) GetFilename() string
- func (x *FileContext) GetHash() string
- func (x *FileContext) GetSize() int64
- func (*FileContext) ProtoMessage()
- func (x *FileContext) ProtoReflect() protoreflect.Message
- func (x *FileContext) Reset()
- func (x *FileContext) String() string
- type FileServiceClient
- type FileServiceServer
- type GetFileInfoByIdRequest
- func (*GetFileInfoByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFileInfoByIdRequest) GetBizName() string
- func (x *GetFileInfoByIdRequest) GetDomainName() string
- func (x *GetFileInfoByIdRequest) GetFileId() int64
- func (*GetFileInfoByIdRequest) ProtoMessage()
- func (x *GetFileInfoByIdRequest) ProtoReflect() protoreflect.Message
- func (x *GetFileInfoByIdRequest) Reset()
- func (x *GetFileInfoByIdRequest) String() string
- type GetFileInfoByIdResponse
- func (*GetFileInfoByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFileInfoByIdResponse) GetHash() string
- func (x *GetFileInfoByIdResponse) GetMeta() *Metadata
- func (x *GetFileInfoByIdResponse) GetObjectName() string
- func (*GetFileInfoByIdResponse) ProtoMessage()
- func (x *GetFileInfoByIdResponse) ProtoReflect() protoreflect.Message
- func (x *GetFileInfoByIdResponse) Reset()
- func (x *GetFileInfoByIdResponse) String() string
- type GetProgressRate4SlicingPutRequest
- func (*GetProgressRate4SlicingPutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetProgressRate4SlicingPutRequest) GetFileContext() *FileContext
- func (x *GetProgressRate4SlicingPutRequest) GetUploadId() string
- func (*GetProgressRate4SlicingPutRequest) ProtoMessage()
- func (x *GetProgressRate4SlicingPutRequest) ProtoReflect() protoreflect.Message
- func (x *GetProgressRate4SlicingPutRequest) Reset()
- func (x *GetProgressRate4SlicingPutRequest) String() string
- type GetProgressRate4SlicingPutResponse
- func (*GetProgressRate4SlicingPutResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetProgressRate4SlicingPutResponse) GetMeta() *Metadata
- func (x *GetProgressRate4SlicingPutResponse) GetParts() map[string]bool
- func (x *GetProgressRate4SlicingPutResponse) GetProgressRate() float32
- func (*GetProgressRate4SlicingPutResponse) ProtoMessage()
- func (x *GetProgressRate4SlicingPutResponse) ProtoReflect() protoreflect.Message
- func (x *GetProgressRate4SlicingPutResponse) Reset()
- func (x *GetProgressRate4SlicingPutResponse) String() string
- type GetTemplateRequest
- func (*GetTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTemplateRequest) GetTemplateId() int64
- func (*GetTemplateRequest) ProtoMessage()
- func (x *GetTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *GetTemplateRequest) Reset()
- func (x *GetTemplateRequest) String() string
- type GetTemplateResponse
- func (*GetTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTemplateResponse) GetMeta() *Metadata
- func (x *GetTemplateResponse) GetTemplate() *Template
- func (*GetTemplateResponse) ProtoMessage()
- func (x *GetTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *GetTemplateResponse) Reset()
- func (x *GetTemplateResponse) String() string
- type ListTemplateRequest
- func (*ListTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTemplateRequest) GetPaginationRequest() *PaginationRequest
- func (x *ListTemplateRequest) GetSearchFields() []*SearchField
- func (*ListTemplateRequest) ProtoMessage()
- func (x *ListTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *ListTemplateRequest) Reset()
- func (x *ListTemplateRequest) String() string
- type ListTemplateResponse
- func (*ListTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTemplateResponse) GetMeta() *Metadata
- func (x *ListTemplateResponse) GetPaginationResponse() *PaginationResponse
- func (x *ListTemplateResponse) GetTemplates() []*Template
- func (*ListTemplateResponse) ProtoMessage()
- func (x *ListTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *ListTemplateResponse) Reset()
- func (x *ListTemplateResponse) String() string
- type MergeFilePartsRequest
- func (*MergeFilePartsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MergeFilePartsRequest) GetFileContext() *FileContext
- func (x *MergeFilePartsRequest) GetUploadId() string
- func (*MergeFilePartsRequest) ProtoMessage()
- func (x *MergeFilePartsRequest) ProtoReflect() protoreflect.Message
- func (x *MergeFilePartsRequest) Reset()
- func (x *MergeFilePartsRequest) String() string
- type MergeFilePartsResponse
- func (*MergeFilePartsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MergeFilePartsResponse) GetMeta() *Metadata
- func (*MergeFilePartsResponse) ProtoMessage()
- func (x *MergeFilePartsResponse) ProtoReflect() protoreflect.Message
- func (x *MergeFilePartsResponse) Reset()
- func (x *MergeFilePartsResponse) String() string
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata) GetBizCode() int32
- func (x *Metadata) GetDomain() string
- func (x *Metadata) GetMessage() string
- func (x *Metadata) GetReason() []string
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (x *Metadata) String() string
- type PaginationRequest
- func (*PaginationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PaginationRequest) GetPage() int32
- func (x *PaginationRequest) GetSize() int32
- func (x *PaginationRequest) GetSort() []*SortField
- func (*PaginationRequest) ProtoMessage()
- func (x *PaginationRequest) ProtoReflect() protoreflect.Message
- func (x *PaginationRequest) Reset()
- func (x *PaginationRequest) String() string
- type PaginationResponse
- func (*PaginationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PaginationResponse) GetCount() int32
- func (x *PaginationResponse) GetPage() int32
- func (x *PaginationResponse) GetTotal() int32
- func (*PaginationResponse) ProtoMessage()
- func (x *PaginationResponse) ProtoReflect() protoreflect.Message
- func (x *PaginationResponse) Reset()
- func (x *PaginationResponse) String() string
- type PostServiceClient
- type PostServiceServer
- type PostType
- type PreSignGetRequest
- func (*PreSignGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PreSignGetRequest) GetFileContext() *FileContext
- func (*PreSignGetRequest) ProtoMessage()
- func (x *PreSignGetRequest) ProtoReflect() protoreflect.Message
- func (x *PreSignGetRequest) Reset()
- func (x *PreSignGetRequest) String() string
- type PreSignGetResponse
- func (*PreSignGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PreSignGetResponse) GetMeta() *Metadata
- func (x *PreSignGetResponse) GetUrl() string
- func (*PreSignGetResponse) ProtoMessage()
- func (x *PreSignGetResponse) ProtoReflect() protoreflect.Message
- func (x *PreSignGetResponse) Reset()
- func (x *PreSignGetResponse) String() string
- type PreSignPutRequest
- func (*PreSignPutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PreSignPutRequest) GetFileContext() *FileContext
- func (*PreSignPutRequest) ProtoMessage()
- func (x *PreSignPutRequest) ProtoReflect() protoreflect.Message
- func (x *PreSignPutRequest) Reset()
- func (x *PreSignPutRequest) String() string
- type PreSignPutResponse
- func (*PreSignPutResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PreSignPutResponse) GetFileId() int64
- func (x *PreSignPutResponse) GetMeta() *Metadata
- func (x *PreSignPutResponse) GetUrl() string
- func (*PreSignPutResponse) ProtoMessage()
- func (x *PreSignPutResponse) ProtoReflect() protoreflect.Message
- func (x *PreSignPutResponse) Reset()
- func (x *PreSignPutResponse) String() string
- type PreSignSlicingPutRequest
- func (*PreSignSlicingPutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PreSignSlicingPutRequest) GetFileContext() *FileContext
- func (*PreSignSlicingPutRequest) ProtoMessage()
- func (x *PreSignSlicingPutRequest) ProtoReflect() protoreflect.Message
- func (x *PreSignSlicingPutRequest) Reset()
- func (x *PreSignSlicingPutRequest) String() string
- type PreSignSlicingPutResponse
- func (*PreSignSlicingPutResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PreSignSlicingPutResponse) GetFileId() int64
- func (x *PreSignSlicingPutResponse) GetMeta() *Metadata
- func (x *PreSignSlicingPutResponse) GetParts() int64
- func (x *PreSignSlicingPutResponse) GetUploadId() string
- func (x *PreSignSlicingPutResponse) GetUploaded() bool
- func (x *PreSignSlicingPutResponse) GetUrls() []string
- func (*PreSignSlicingPutResponse) ProtoMessage()
- func (x *PreSignSlicingPutResponse) ProtoReflect() protoreflect.Message
- func (x *PreSignSlicingPutResponse) Reset()
- func (x *PreSignSlicingPutResponse) String() string
- type RegisterRequest
- func (*RegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterRequest) GetEmail() string
- func (x *RegisterRequest) GetMobile() string
- func (x *RegisterRequest) GetPassword() string
- func (*RegisterRequest) ProtoMessage()
- func (x *RegisterRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterRequest) Reset()
- func (x *RegisterRequest) String() string
- type RegisterResponse
- func (*RegisterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterResponse) GetAccountId() int64
- func (x *RegisterResponse) GetMeta() *Metadata
- func (*RegisterResponse) ProtoMessage()
- func (x *RegisterResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterResponse) Reset()
- func (x *RegisterResponse) String() string
- type RemoveFileRequest
- func (*RemoveFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveFileRequest) GetFileContext() *FileContext
- func (*RemoveFileRequest) ProtoMessage()
- func (x *RemoveFileRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveFileRequest) Reset()
- func (x *RemoveFileRequest) String() string
- type RemoveFileResponse
- func (*RemoveFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveFileResponse) GetMeta() *Metadata
- func (*RemoveFileResponse) ProtoMessage()
- func (x *RemoveFileResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveFileResponse) Reset()
- func (x *RemoveFileResponse) String() string
- type RemoveTemplateRequest
- func (*RemoveTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveTemplateRequest) GetTemplateId() int64
- func (*RemoveTemplateRequest) ProtoMessage()
- func (x *RemoveTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveTemplateRequest) Reset()
- func (x *RemoveTemplateRequest) String() string
- type RemoveTemplateResponse
- func (*RemoveTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveTemplateResponse) GetMeta() *Metadata
- func (*RemoveTemplateResponse) ProtoMessage()
- func (x *RemoveTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveTemplateResponse) Reset()
- func (x *RemoveTemplateResponse) String() string
- type ReportUploadedFilePartsRequest
- func (*ReportUploadedFilePartsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReportUploadedFilePartsRequest) GetFileId() int64
- func (x *ReportUploadedFilePartsRequest) GetPartNumber() int64
- func (x *ReportUploadedFilePartsRequest) GetUploadId() string
- func (*ReportUploadedFilePartsRequest) ProtoMessage()
- func (x *ReportUploadedFilePartsRequest) ProtoReflect() protoreflect.Message
- func (x *ReportUploadedFilePartsRequest) Reset()
- func (x *ReportUploadedFilePartsRequest) String() string
- type ReportUploadedFilePartsResponse
- func (*ReportUploadedFilePartsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReportUploadedFilePartsResponse) GetMeta() *Metadata
- func (*ReportUploadedFilePartsResponse) ProtoMessage()
- func (x *ReportUploadedFilePartsResponse) ProtoReflect() protoreflect.Message
- func (x *ReportUploadedFilePartsResponse) Reset()
- func (x *ReportUploadedFilePartsResponse) String() string
- type ReportUploadedRequest
- func (*ReportUploadedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReportUploadedRequest) GetFileContext() *FileContext
- func (*ReportUploadedRequest) ProtoMessage()
- func (x *ReportUploadedRequest) ProtoReflect() protoreflect.Message
- func (x *ReportUploadedRequest) Reset()
- func (x *ReportUploadedRequest) String() string
- type ReportUploadedResponse
- func (*ReportUploadedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReportUploadedResponse) GetMeta() *Metadata
- func (x *ReportUploadedResponse) GetUrl() string
- func (*ReportUploadedResponse) ProtoMessage()
- func (x *ReportUploadedResponse) ProtoReflect() protoreflect.Message
- func (x *ReportUploadedResponse) Reset()
- func (x *ReportUploadedResponse) String() string
- type SearchField
- func (*SearchField) Descriptor() ([]byte, []int)deprecated
- func (x *SearchField) GetField() string
- func (x *SearchField) GetOperator() SearchOperator
- func (x *SearchField) GetValue() string
- func (x *SearchField) GetValueList() []string
- func (*SearchField) ProtoMessage()
- func (x *SearchField) ProtoReflect() protoreflect.Message
- func (x *SearchField) Reset()
- func (x *SearchField) String() string
- type SearchOperator
- func (SearchOperator) Descriptor() protoreflect.EnumDescriptor
- func (x SearchOperator) Enum() *SearchOperator
- func (SearchOperator) EnumDescriptor() ([]byte, []int)deprecated
- func (x SearchOperator) Number() protoreflect.EnumNumber
- func (x SearchOperator) String() string
- func (SearchOperator) Type() protoreflect.EnumType
- type SearchRequest
- type SendEmailRequest
- func (*SendEmailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendEmailRequest) GetData() map[string]string
- func (x *SendEmailRequest) GetEmailTitle() string
- func (x *SendEmailRequest) GetTemplateId() int64
- func (x *SendEmailRequest) GetTo() string
- func (*SendEmailRequest) ProtoMessage()
- func (x *SendEmailRequest) ProtoReflect() protoreflect.Message
- func (x *SendEmailRequest) Reset()
- func (x *SendEmailRequest) String() string
- type SendEmailResponse
- type SendRequest
- func (*SendRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendRequest) GetContent() string
- func (x *SendRequest) GetPostType() PostType
- func (x *SendRequest) GetTemplateId() int64
- func (x *SendRequest) GetTitle() string
- func (x *SendRequest) GetTo() string
- func (*SendRequest) ProtoMessage()
- func (x *SendRequest) ProtoReflect() protoreflect.Message
- func (x *SendRequest) Reset()
- func (x *SendRequest) String() string
- type SendResponse
- type SendSmsRequest
- func (*SendSmsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendSmsRequest) GetData() map[string]string
- func (x *SendSmsRequest) GetTemplateId() int64
- func (x *SendSmsRequest) GetTo() string
- func (*SendSmsRequest) ProtoMessage()
- func (x *SendSmsRequest) ProtoReflect() protoreflect.Message
- func (x *SendSmsRequest) Reset()
- func (x *SendSmsRequest) String() string
- type SendSmsResponse
- type SortField
- type SortOrder
- type Template
- func (*Template) Descriptor() ([]byte, []int)deprecated
- func (x *Template) GetContent() string
- func (x *Template) GetCreateTime() int64
- func (x *Template) GetId() int64
- func (x *Template) GetTitle() string
- func (x *Template) GetUpdateTime() int64
- func (*Template) ProtoMessage()
- func (x *Template) ProtoReflect() protoreflect.Message
- func (x *Template) Reset()
- func (x *Template) String() string
- type UnimplementedAccountServiceServer
- type UnimplementedAuthServiceServer
- func (UnimplementedAuthServiceServer) CreateVerificationCode(context.Context, *CreateVerificationCodeRequest) (*CreateVerificationCodeResponse, error)
- func (UnimplementedAuthServiceServer) ValidateVerificationCode(context.Context, *ValidateVerificationCodeRequest) (*ValidateVerificationCodeResponse, error)
- type UnimplementedFileServiceServer
- func (UnimplementedFileServiceServer) GetFileInfoById(context.Context, *GetFileInfoByIdRequest) (*GetFileInfoByIdResponse, error)
- func (UnimplementedFileServiceServer) GetProgressRate4SlicingPut(context.Context, *GetProgressRate4SlicingPutRequest) (*GetProgressRate4SlicingPutResponse, error)
- func (UnimplementedFileServiceServer) MergeFileParts(context.Context, *MergeFilePartsRequest) (*MergeFilePartsResponse, error)
- func (UnimplementedFileServiceServer) PreSignGet(context.Context, *PreSignGetRequest) (*PreSignGetResponse, error)
- func (UnimplementedFileServiceServer) PreSignPut(context.Context, *PreSignPutRequest) (*PreSignPutResponse, error)
- func (UnimplementedFileServiceServer) PreSignSlicingPut(context.Context, *PreSignSlicingPutRequest) (*PreSignSlicingPutResponse, error)
- func (UnimplementedFileServiceServer) RemoveFile(context.Context, *RemoveFileRequest) (*RemoveFileResponse, error)
- func (UnimplementedFileServiceServer) ReportUploaded(context.Context, *ReportUploadedRequest) (*ReportUploadedResponse, error)
- type UnimplementedPostServiceServer
- func (UnimplementedPostServiceServer) CreateTemplate(context.Context, *CreateTemplateRequest) (*CreateTemplateResponse, error)
- func (UnimplementedPostServiceServer) GetTemplate(context.Context, *GetTemplateRequest) (*GetTemplateResponse, error)
- func (UnimplementedPostServiceServer) ListTemplate(context.Context, *ListTemplateRequest) (*ListTemplateResponse, error)
- func (UnimplementedPostServiceServer) RemoveTemplate(context.Context, *RemoveTemplateRequest) (*RemoveTemplateResponse, error)
- func (UnimplementedPostServiceServer) Send(context.Context, *SendRequest) (*SendResponse, error)
- func (UnimplementedPostServiceServer) SendEmail(context.Context, *SendEmailRequest) (*SendEmailResponse, error)
- func (UnimplementedPostServiceServer) SendSms(context.Context, *SendSmsRequest) (*SendSmsResponse, error)
- func (UnimplementedPostServiceServer) UpdateTemplate(context.Context, *UpdateTemplateRequest) (*UpdateTemplateResponse, error)
- type UnsafeAccountServiceServer
- type UnsafeAuthServiceServer
- type UnsafeFileServiceServer
- type UnsafePostServiceServer
- type UpdateTemplateRequest
- func (*UpdateTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTemplateRequest) GetContent() string
- func (x *UpdateTemplateRequest) GetTemplateId() int64
- func (x *UpdateTemplateRequest) GetTitle() string
- func (*UpdateTemplateRequest) ProtoMessage()
- func (x *UpdateTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTemplateRequest) Reset()
- func (x *UpdateTemplateRequest) String() string
- type UpdateTemplateResponse
- func (*UpdateTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTemplateResponse) GetMeta() *Metadata
- func (x *UpdateTemplateResponse) GetTemplate() *Template
- func (*UpdateTemplateResponse) ProtoMessage()
- func (x *UpdateTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateTemplateResponse) Reset()
- func (x *UpdateTemplateResponse) String() string
- type ValidateVerificationCodeRequest
- func (*ValidateVerificationCodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateVerificationCodeRequest) GetCode() string
- func (x *ValidateVerificationCodeRequest) GetVerificationCodeId() int64
- func (*ValidateVerificationCodeRequest) ProtoMessage()
- func (x *ValidateVerificationCodeRequest) ProtoReflect() protoreflect.Message
- func (x *ValidateVerificationCodeRequest) Reset()
- func (x *ValidateVerificationCodeRequest) String() string
- type ValidateVerificationCodeResponse
- func (*ValidateVerificationCodeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateVerificationCodeResponse) GetMeta() *Metadata
- func (*ValidateVerificationCodeResponse) ProtoMessage()
- func (x *ValidateVerificationCodeResponse) ProtoReflect() protoreflect.Message
- func (x *ValidateVerificationCodeResponse) Reset()
- func (x *ValidateVerificationCodeResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var ( SortOrder_name = map[int32]string{ 0: "ASC", 1: "DESC", } SortOrder_value = map[string]int32{ "ASC": 0, "DESC": 1, } )
Enum value maps for SortOrder.
var ( SearchOperator_name = map[int32]string{ 0: "EQ", 1: "NE", 2: "GT", 3: "GE", 4: "LT", 5: "LE", 6: "LIKE", 7: "WILDCARD", 8: "IN", 9: "NOT_IN", 10: "BETWEEN", 11: "RE", } SearchOperator_value = map[string]int32{ "EQ": 0, "NE": 1, "GT": 2, "GE": 3, "LT": 4, "LE": 5, "LIKE": 6, "WILDCARD": 7, "IN": 8, "NOT_IN": 9, "BETWEEN": 10, "RE": 11, } )
Enum value maps for SearchOperator.
var ( PostType_name = map[int32]string{ 0: "SMS", 1: "EMAIL", } PostType_value = map[string]int32{ "SMS": 0, "EMAIL": 1, } )
Enum value maps for PostType.
var AccountService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.AccountService", HandlerType: (*AccountServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Register", Handler: _AccountService_Register_Handler, }, { MethodName: "CheckAccount", Handler: _AccountService_CheckAccount_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "account.proto", }
AccountService_ServiceDesc is the grpc.ServiceDesc for AccountService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var AuthService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.AuthService", HandlerType: (*AuthServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateVerificationCode", Handler: _AuthService_CreateVerificationCode_Handler, }, { MethodName: "ValidateVerificationCode", Handler: _AuthService_ValidateVerificationCode_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "verify.proto", }
AuthService_ServiceDesc is the grpc.ServiceDesc for AuthService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var FileService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.FileService", HandlerType: (*FileServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "PreSignGet", Handler: _FileService_PreSignGet_Handler, }, { MethodName: "PreSignPut", Handler: _FileService_PreSignPut_Handler, }, { MethodName: "ReportUploaded", Handler: _FileService_ReportUploaded_Handler, }, { MethodName: "PreSignSlicingPut", Handler: _FileService_PreSignSlicingPut_Handler, }, { MethodName: "GetProgressRate4SlicingPut", Handler: _FileService_GetProgressRate4SlicingPut_Handler, }, { MethodName: "MergeFileParts", Handler: _FileService_MergeFileParts_Handler, }, { MethodName: "RemoveFile", Handler: _FileService_RemoveFile_Handler, }, { MethodName: "GetFileInfoById", Handler: _FileService_GetFileInfoById_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "file.proto", }
FileService_ServiceDesc is the grpc.ServiceDesc for FileService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_account_proto protoreflect.FileDescriptor
var File_base_proto protoreflect.FileDescriptor
var File_file_proto protoreflect.FileDescriptor
var File_post_proto protoreflect.FileDescriptor
var File_verify_proto protoreflect.FileDescriptor
var PostService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.PostService", HandlerType: (*PostServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateTemplate", Handler: _PostService_CreateTemplate_Handler, }, { MethodName: "UpdateTemplate", Handler: _PostService_UpdateTemplate_Handler, }, { MethodName: "ListTemplate", Handler: _PostService_ListTemplate_Handler, }, { MethodName: "GetTemplate", Handler: _PostService_GetTemplate_Handler, }, { MethodName: "RemoveTemplate", Handler: _PostService_RemoveTemplate_Handler, }, { MethodName: "SendSms", Handler: _PostService_SendSms_Handler, }, { MethodName: "SendEmail", Handler: _PostService_SendEmail_Handler, }, { MethodName: "Send", Handler: _PostService_Send_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "post.proto", }
PostService_ServiceDesc is the grpc.ServiceDesc for PostService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAccountServiceServer ¶
func RegisterAccountServiceServer(s grpc.ServiceRegistrar, srv AccountServiceServer)
func RegisterAuthServiceServer ¶
func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
func RegisterFileServiceServer ¶
func RegisterFileServiceServer(s grpc.ServiceRegistrar, srv FileServiceServer)
func RegisterPostServiceServer ¶
func RegisterPostServiceServer(s grpc.ServiceRegistrar, srv PostServiceServer)
Types ¶
type AccountServiceClient ¶
type AccountServiceClient interface { Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error) CheckAccount(ctx context.Context, in *CheckAccountRequest, opts ...grpc.CallOption) (*CheckAccountResponse, error) }
AccountServiceClient is the client API for AccountService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAccountServiceClient ¶
func NewAccountServiceClient(cc grpc.ClientConnInterface) AccountServiceClient
type AccountServiceServer ¶
type AccountServiceServer interface { Register(context.Context, *RegisterRequest) (*RegisterResponse, error) CheckAccount(context.Context, *CheckAccountRequest) (*CheckAccountResponse, error) }
AccountServiceServer is the server API for AccountService service. All implementations should embed UnimplementedAccountServiceServer for forward compatibility
type AuthServiceClient ¶
type AuthServiceClient interface { CreateVerificationCode(ctx context.Context, in *CreateVerificationCodeRequest, opts ...grpc.CallOption) (*CreateVerificationCodeResponse, error) ValidateVerificationCode(ctx context.Context, in *ValidateVerificationCodeRequest, opts ...grpc.CallOption) (*ValidateVerificationCodeResponse, error) }
AuthServiceClient is the client API for AuthService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAuthServiceClient ¶
func NewAuthServiceClient(cc grpc.ClientConnInterface) AuthServiceClient
type AuthServiceServer ¶
type AuthServiceServer interface { CreateVerificationCode(context.Context, *CreateVerificationCodeRequest) (*CreateVerificationCodeResponse, error) ValidateVerificationCode(context.Context, *ValidateVerificationCodeRequest) (*ValidateVerificationCodeResponse, error) }
AuthServiceServer is the server API for AuthService service. All implementations should embed UnimplementedAuthServiceServer for forward compatibility
type CheckAccountRequest ¶
type CheckAccountRequest struct { Mobile string `protobuf:"bytes,1,opt,name=mobile,proto3" json:"mobile,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` AccountId int64 `protobuf:"varint,3,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
手机号、邮箱、账户id三者至少要存在一个
func (*CheckAccountRequest) Descriptor
deprecated
func (*CheckAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckAccountRequest.ProtoReflect.Descriptor instead.
func (*CheckAccountRequest) GetAccountId ¶
func (x *CheckAccountRequest) GetAccountId() int64
func (*CheckAccountRequest) GetEmail ¶
func (x *CheckAccountRequest) GetEmail() string
func (*CheckAccountRequest) GetMobile ¶
func (x *CheckAccountRequest) GetMobile() string
func (*CheckAccountRequest) GetPassword ¶
func (x *CheckAccountRequest) GetPassword() string
func (*CheckAccountRequest) ProtoMessage ¶
func (*CheckAccountRequest) ProtoMessage()
func (*CheckAccountRequest) ProtoReflect ¶
func (x *CheckAccountRequest) ProtoReflect() protoreflect.Message
func (*CheckAccountRequest) Reset ¶
func (x *CheckAccountRequest) Reset()
func (*CheckAccountRequest) String ¶
func (x *CheckAccountRequest) String() string
type CheckAccountResponse ¶
type CheckAccountResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` AccountId int64 `protobuf:"varint,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // 账户id,通过此id绑定跨平台账号 // contains filtered or unexported fields }
func (*CheckAccountResponse) Descriptor
deprecated
func (*CheckAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckAccountResponse.ProtoReflect.Descriptor instead.
func (*CheckAccountResponse) GetAccountId ¶
func (x *CheckAccountResponse) GetAccountId() int64
func (*CheckAccountResponse) GetMeta ¶
func (x *CheckAccountResponse) GetMeta() *Metadata
func (*CheckAccountResponse) ProtoMessage ¶
func (*CheckAccountResponse) ProtoMessage()
func (*CheckAccountResponse) ProtoReflect ¶
func (x *CheckAccountResponse) ProtoReflect() protoreflect.Message
func (*CheckAccountResponse) Reset ¶
func (x *CheckAccountResponse) Reset()
func (*CheckAccountResponse) String ¶
func (x *CheckAccountResponse) String() string
type CreateTemplateRequest ¶
type CreateTemplateRequest struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*CreateTemplateRequest) Descriptor
deprecated
func (*CreateTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTemplateRequest.ProtoReflect.Descriptor instead.
func (*CreateTemplateRequest) GetContent ¶
func (x *CreateTemplateRequest) GetContent() string
func (*CreateTemplateRequest) GetTitle ¶
func (x *CreateTemplateRequest) GetTitle() string
func (*CreateTemplateRequest) ProtoMessage ¶
func (*CreateTemplateRequest) ProtoMessage()
func (*CreateTemplateRequest) ProtoReflect ¶
func (x *CreateTemplateRequest) ProtoReflect() protoreflect.Message
func (*CreateTemplateRequest) Reset ¶
func (x *CreateTemplateRequest) Reset()
func (*CreateTemplateRequest) String ¶
func (x *CreateTemplateRequest) String() string
type CreateTemplateResponse ¶
type CreateTemplateResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Template *Template `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"` // contains filtered or unexported fields }
func (*CreateTemplateResponse) Descriptor
deprecated
func (*CreateTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateTemplateResponse.ProtoReflect.Descriptor instead.
func (*CreateTemplateResponse) GetMeta ¶
func (x *CreateTemplateResponse) GetMeta() *Metadata
func (*CreateTemplateResponse) GetTemplate ¶
func (x *CreateTemplateResponse) GetTemplate() *Template
func (*CreateTemplateResponse) ProtoMessage ¶
func (*CreateTemplateResponse) ProtoMessage()
func (*CreateTemplateResponse) ProtoReflect ¶
func (x *CreateTemplateResponse) ProtoReflect() protoreflect.Message
func (*CreateTemplateResponse) Reset ¶
func (x *CreateTemplateResponse) Reset()
func (*CreateTemplateResponse) String ¶
func (x *CreateTemplateResponse) String() string
type CreateVerificationCodeRequest ¶
type CreateVerificationCodeRequest struct { // 验证码的位数 Bits int64 `protobuf:"varint,1,opt,name=bits,proto3" json:"bits,omitempty"` // 过期时间戳,毫秒 ExpireTime int64 `protobuf:"varint,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // contains filtered or unexported fields }
func (*CreateVerificationCodeRequest) Descriptor
deprecated
func (*CreateVerificationCodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateVerificationCodeRequest.ProtoReflect.Descriptor instead.
func (*CreateVerificationCodeRequest) GetBits ¶
func (x *CreateVerificationCodeRequest) GetBits() int64
func (*CreateVerificationCodeRequest) GetExpireTime ¶
func (x *CreateVerificationCodeRequest) GetExpireTime() int64
func (*CreateVerificationCodeRequest) ProtoMessage ¶
func (*CreateVerificationCodeRequest) ProtoMessage()
func (*CreateVerificationCodeRequest) ProtoReflect ¶
func (x *CreateVerificationCodeRequest) ProtoReflect() protoreflect.Message
func (*CreateVerificationCodeRequest) Reset ¶
func (x *CreateVerificationCodeRequest) Reset()
func (*CreateVerificationCodeRequest) String ¶
func (x *CreateVerificationCodeRequest) String() string
type CreateVerificationCodeResponse ¶
type CreateVerificationCodeResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` VerificationCodeId int64 `protobuf:"varint,2,opt,name=verification_code_id,json=verificationCodeId,proto3" json:"verification_code_id,omitempty"` // contains filtered or unexported fields }
func (*CreateVerificationCodeResponse) Descriptor
deprecated
func (*CreateVerificationCodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateVerificationCodeResponse.ProtoReflect.Descriptor instead.
func (*CreateVerificationCodeResponse) GetMeta ¶
func (x *CreateVerificationCodeResponse) GetMeta() *Metadata
func (*CreateVerificationCodeResponse) GetVerificationCodeId ¶
func (x *CreateVerificationCodeResponse) GetVerificationCodeId() int64
func (*CreateVerificationCodeResponse) ProtoMessage ¶
func (*CreateVerificationCodeResponse) ProtoMessage()
func (*CreateVerificationCodeResponse) ProtoReflect ¶
func (x *CreateVerificationCodeResponse) ProtoReflect() protoreflect.Message
func (*CreateVerificationCodeResponse) Reset ¶
func (x *CreateVerificationCodeResponse) Reset()
func (*CreateVerificationCodeResponse) String ¶
func (x *CreateVerificationCodeResponse) String() string
type FileContext ¶
type FileContext struct { // 所属业务领域,用于创建bucket Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` // 所属业务名称 BizName string `protobuf:"bytes,2,opt,name=biz_name,json=bizName,proto3" json:"biz_name,omitempty"` FileId int64 `protobuf:"varint,3,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"` // 文件md5 Hash string `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` // 文件类型 FileType string `protobuf:"bytes,5,opt,name=file_type,json=fileType,proto3" json:"file_type,omitempty"` // 文件大小,单位byte Size int64 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"` // 文件访问链接的过期时间 ExpireSeconds int64 `protobuf:"varint,7,opt,name=expire_seconds,json=expireSeconds,proto3" json:"expire_seconds,omitempty"` // 文件名 Filename string `protobuf:"bytes,8,opt,name=filename,proto3" json:"filename,omitempty"` // contains filtered or unexported fields }
func (*FileContext) Descriptor
deprecated
func (*FileContext) Descriptor() ([]byte, []int)
Deprecated: Use FileContext.ProtoReflect.Descriptor instead.
func (*FileContext) GetBizName ¶
func (x *FileContext) GetBizName() string
func (*FileContext) GetDomain ¶
func (x *FileContext) GetDomain() string
func (*FileContext) GetExpireSeconds ¶
func (x *FileContext) GetExpireSeconds() int64
func (*FileContext) GetFileId ¶
func (x *FileContext) GetFileId() int64
func (*FileContext) GetFileType ¶
func (x *FileContext) GetFileType() string
func (*FileContext) GetFilename ¶
func (x *FileContext) GetFilename() string
func (*FileContext) GetHash ¶
func (x *FileContext) GetHash() string
func (*FileContext) GetSize ¶
func (x *FileContext) GetSize() int64
func (*FileContext) ProtoMessage ¶
func (*FileContext) ProtoMessage()
func (*FileContext) ProtoReflect ¶
func (x *FileContext) ProtoReflect() protoreflect.Message
func (*FileContext) Reset ¶
func (x *FileContext) Reset()
func (*FileContext) String ¶
func (x *FileContext) String() string
type FileServiceClient ¶
type FileServiceClient interface { // pre sign a file url for user get it PreSignGet(ctx context.Context, in *PreSignGetRequest, opts ...grpc.CallOption) (*PreSignGetResponse, error) // pre sign a file url for user put it PreSignPut(ctx context.Context, in *PreSignPutRequest, opts ...grpc.CallOption) (*PreSignPutResponse, error) // report a file has been uploaded ReportUploaded(ctx context.Context, in *ReportUploadedRequest, opts ...grpc.CallOption) (*ReportUploadedResponse, error) // pre sign a file url for user put it with slicing PreSignSlicingPut(ctx context.Context, in *PreSignSlicingPutRequest, opts ...grpc.CallOption) (*PreSignSlicingPutResponse, error) // get upload progress rate for slicing put GetProgressRate4SlicingPut(ctx context.Context, in *GetProgressRate4SlicingPutRequest, opts ...grpc.CallOption) (*GetProgressRate4SlicingPutResponse, error) // merge a slicing uploading file MergeFileParts(ctx context.Context, in *MergeFilePartsRequest, opts ...grpc.CallOption) (*MergeFilePartsResponse, error) // remove a file RemoveFile(ctx context.Context, in *RemoveFileRequest, opts ...grpc.CallOption) (*RemoveFileResponse, error) GetFileInfoById(ctx context.Context, in *GetFileInfoByIdRequest, opts ...grpc.CallOption) (*GetFileInfoByIdResponse, error) }
FileServiceClient is the client API for FileService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewFileServiceClient ¶
func NewFileServiceClient(cc grpc.ClientConnInterface) FileServiceClient
type FileServiceServer ¶
type FileServiceServer interface { // pre sign a file url for user get it PreSignGet(context.Context, *PreSignGetRequest) (*PreSignGetResponse, error) // pre sign a file url for user put it PreSignPut(context.Context, *PreSignPutRequest) (*PreSignPutResponse, error) // report a file has been uploaded ReportUploaded(context.Context, *ReportUploadedRequest) (*ReportUploadedResponse, error) // pre sign a file url for user put it with slicing PreSignSlicingPut(context.Context, *PreSignSlicingPutRequest) (*PreSignSlicingPutResponse, error) // get upload progress rate for slicing put GetProgressRate4SlicingPut(context.Context, *GetProgressRate4SlicingPutRequest) (*GetProgressRate4SlicingPutResponse, error) // merge a slicing uploading file MergeFileParts(context.Context, *MergeFilePartsRequest) (*MergeFilePartsResponse, error) // remove a file RemoveFile(context.Context, *RemoveFileRequest) (*RemoveFileResponse, error) GetFileInfoById(context.Context, *GetFileInfoByIdRequest) (*GetFileInfoByIdResponse, error) }
FileServiceServer is the server API for FileService service. All implementations should embed UnimplementedFileServiceServer for forward compatibility
type GetFileInfoByIdRequest ¶
type GetFileInfoByIdRequest struct { FileId int64 `protobuf:"varint,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"` DomainName string `protobuf:"bytes,2,opt,name=domain_name,json=domainName,proto3" json:"domain_name,omitempty"` BizName string `protobuf:"bytes,3,opt,name=biz_name,json=bizName,proto3" json:"biz_name,omitempty"` // contains filtered or unexported fields }
func (*GetFileInfoByIdRequest) Descriptor
deprecated
func (*GetFileInfoByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFileInfoByIdRequest.ProtoReflect.Descriptor instead.
func (*GetFileInfoByIdRequest) GetBizName ¶
func (x *GetFileInfoByIdRequest) GetBizName() string
func (*GetFileInfoByIdRequest) GetDomainName ¶
func (x *GetFileInfoByIdRequest) GetDomainName() string
func (*GetFileInfoByIdRequest) GetFileId ¶
func (x *GetFileInfoByIdRequest) GetFileId() int64
func (*GetFileInfoByIdRequest) ProtoMessage ¶
func (*GetFileInfoByIdRequest) ProtoMessage()
func (*GetFileInfoByIdRequest) ProtoReflect ¶
func (x *GetFileInfoByIdRequest) ProtoReflect() protoreflect.Message
func (*GetFileInfoByIdRequest) Reset ¶
func (x *GetFileInfoByIdRequest) Reset()
func (*GetFileInfoByIdRequest) String ¶
func (x *GetFileInfoByIdRequest) String() string
type GetFileInfoByIdResponse ¶
type GetFileInfoByIdResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` ObjectName string `protobuf:"bytes,2,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func (*GetFileInfoByIdResponse) Descriptor
deprecated
func (*GetFileInfoByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFileInfoByIdResponse.ProtoReflect.Descriptor instead.
func (*GetFileInfoByIdResponse) GetHash ¶
func (x *GetFileInfoByIdResponse) GetHash() string
func (*GetFileInfoByIdResponse) GetMeta ¶
func (x *GetFileInfoByIdResponse) GetMeta() *Metadata
func (*GetFileInfoByIdResponse) GetObjectName ¶
func (x *GetFileInfoByIdResponse) GetObjectName() string
func (*GetFileInfoByIdResponse) ProtoMessage ¶
func (*GetFileInfoByIdResponse) ProtoMessage()
func (*GetFileInfoByIdResponse) ProtoReflect ¶
func (x *GetFileInfoByIdResponse) ProtoReflect() protoreflect.Message
func (*GetFileInfoByIdResponse) Reset ¶
func (x *GetFileInfoByIdResponse) Reset()
func (*GetFileInfoByIdResponse) String ¶
func (x *GetFileInfoByIdResponse) String() string
type GetProgressRate4SlicingPutRequest ¶
type GetProgressRate4SlicingPutRequest struct { FileContext *FileContext `protobuf:"bytes,1,opt,name=file_context,json=fileContext,proto3" json:"file_context,omitempty"` UploadId string `protobuf:"bytes,2,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"` // contains filtered or unexported fields }
func (*GetProgressRate4SlicingPutRequest) Descriptor
deprecated
func (*GetProgressRate4SlicingPutRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProgressRate4SlicingPutRequest.ProtoReflect.Descriptor instead.
func (*GetProgressRate4SlicingPutRequest) GetFileContext ¶
func (x *GetProgressRate4SlicingPutRequest) GetFileContext() *FileContext
func (*GetProgressRate4SlicingPutRequest) GetUploadId ¶
func (x *GetProgressRate4SlicingPutRequest) GetUploadId() string
func (*GetProgressRate4SlicingPutRequest) ProtoMessage ¶
func (*GetProgressRate4SlicingPutRequest) ProtoMessage()
func (*GetProgressRate4SlicingPutRequest) ProtoReflect ¶
func (x *GetProgressRate4SlicingPutRequest) ProtoReflect() protoreflect.Message
func (*GetProgressRate4SlicingPutRequest) Reset ¶
func (x *GetProgressRate4SlicingPutRequest) Reset()
func (*GetProgressRate4SlicingPutRequest) String ¶
func (x *GetProgressRate4SlicingPutRequest) String() string
type GetProgressRate4SlicingPutResponse ¶
type GetProgressRate4SlicingPutResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // 进度百分比 ProgressRate float32 `protobuf:"fixed32,2,opt,name=progress_rate,json=progressRate,proto3" json:"progress_rate,omitempty"` // 分片上传情况 Parts map[string]bool `` /* 152-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetProgressRate4SlicingPutResponse) Descriptor
deprecated
func (*GetProgressRate4SlicingPutResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetProgressRate4SlicingPutResponse.ProtoReflect.Descriptor instead.
func (*GetProgressRate4SlicingPutResponse) GetMeta ¶
func (x *GetProgressRate4SlicingPutResponse) GetMeta() *Metadata
func (*GetProgressRate4SlicingPutResponse) GetParts ¶
func (x *GetProgressRate4SlicingPutResponse) GetParts() map[string]bool
func (*GetProgressRate4SlicingPutResponse) GetProgressRate ¶
func (x *GetProgressRate4SlicingPutResponse) GetProgressRate() float32
func (*GetProgressRate4SlicingPutResponse) ProtoMessage ¶
func (*GetProgressRate4SlicingPutResponse) ProtoMessage()
func (*GetProgressRate4SlicingPutResponse) ProtoReflect ¶
func (x *GetProgressRate4SlicingPutResponse) ProtoReflect() protoreflect.Message
func (*GetProgressRate4SlicingPutResponse) Reset ¶
func (x *GetProgressRate4SlicingPutResponse) Reset()
func (*GetProgressRate4SlicingPutResponse) String ¶
func (x *GetProgressRate4SlicingPutResponse) String() string
type GetTemplateRequest ¶
type GetTemplateRequest struct { TemplateId int64 `protobuf:"varint,1,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` // contains filtered or unexported fields }
func (*GetTemplateRequest) Descriptor
deprecated
func (*GetTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTemplateRequest.ProtoReflect.Descriptor instead.
func (*GetTemplateRequest) GetTemplateId ¶
func (x *GetTemplateRequest) GetTemplateId() int64
func (*GetTemplateRequest) ProtoMessage ¶
func (*GetTemplateRequest) ProtoMessage()
func (*GetTemplateRequest) ProtoReflect ¶
func (x *GetTemplateRequest) ProtoReflect() protoreflect.Message
func (*GetTemplateRequest) Reset ¶
func (x *GetTemplateRequest) Reset()
func (*GetTemplateRequest) String ¶
func (x *GetTemplateRequest) String() string
type GetTemplateResponse ¶
type GetTemplateResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Template *Template `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"` // contains filtered or unexported fields }
func (*GetTemplateResponse) Descriptor
deprecated
func (*GetTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTemplateResponse.ProtoReflect.Descriptor instead.
func (*GetTemplateResponse) GetMeta ¶
func (x *GetTemplateResponse) GetMeta() *Metadata
func (*GetTemplateResponse) GetTemplate ¶
func (x *GetTemplateResponse) GetTemplate() *Template
func (*GetTemplateResponse) ProtoMessage ¶
func (*GetTemplateResponse) ProtoMessage()
func (*GetTemplateResponse) ProtoReflect ¶
func (x *GetTemplateResponse) ProtoReflect() protoreflect.Message
func (*GetTemplateResponse) Reset ¶
func (x *GetTemplateResponse) Reset()
func (*GetTemplateResponse) String ¶
func (x *GetTemplateResponse) String() string
type ListTemplateRequest ¶
type ListTemplateRequest struct { PaginationRequest *PaginationRequest `protobuf:"bytes,1,opt,name=pagination_request,json=paginationRequest,proto3" json:"pagination_request,omitempty"` SearchFields []*SearchField `protobuf:"bytes,2,rep,name=search_fields,json=searchFields,proto3" json:"search_fields,omitempty"` // contains filtered or unexported fields }
func (*ListTemplateRequest) Descriptor
deprecated
func (*ListTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTemplateRequest.ProtoReflect.Descriptor instead.
func (*ListTemplateRequest) GetPaginationRequest ¶
func (x *ListTemplateRequest) GetPaginationRequest() *PaginationRequest
func (*ListTemplateRequest) GetSearchFields ¶
func (x *ListTemplateRequest) GetSearchFields() []*SearchField
func (*ListTemplateRequest) ProtoMessage ¶
func (*ListTemplateRequest) ProtoMessage()
func (*ListTemplateRequest) ProtoReflect ¶
func (x *ListTemplateRequest) ProtoReflect() protoreflect.Message
func (*ListTemplateRequest) Reset ¶
func (x *ListTemplateRequest) Reset()
func (*ListTemplateRequest) String ¶
func (x *ListTemplateRequest) String() string
type ListTemplateResponse ¶
type ListTemplateResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` PaginationResponse *PaginationResponse `protobuf:"bytes,2,opt,name=pagination_response,json=paginationResponse,proto3" json:"pagination_response,omitempty"` Templates []*Template `protobuf:"bytes,3,rep,name=templates,proto3" json:"templates,omitempty"` // contains filtered or unexported fields }
func (*ListTemplateResponse) Descriptor
deprecated
func (*ListTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTemplateResponse.ProtoReflect.Descriptor instead.
func (*ListTemplateResponse) GetMeta ¶
func (x *ListTemplateResponse) GetMeta() *Metadata
func (*ListTemplateResponse) GetPaginationResponse ¶
func (x *ListTemplateResponse) GetPaginationResponse() *PaginationResponse
func (*ListTemplateResponse) GetTemplates ¶
func (x *ListTemplateResponse) GetTemplates() []*Template
func (*ListTemplateResponse) ProtoMessage ¶
func (*ListTemplateResponse) ProtoMessage()
func (*ListTemplateResponse) ProtoReflect ¶
func (x *ListTemplateResponse) ProtoReflect() protoreflect.Message
func (*ListTemplateResponse) Reset ¶
func (x *ListTemplateResponse) Reset()
func (*ListTemplateResponse) String ¶
func (x *ListTemplateResponse) String() string
type MergeFilePartsRequest ¶
type MergeFilePartsRequest struct { FileContext *FileContext `protobuf:"bytes,1,opt,name=file_context,json=fileContext,proto3" json:"file_context,omitempty"` UploadId string `protobuf:"bytes,2,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"` // contains filtered or unexported fields }
func (*MergeFilePartsRequest) Descriptor
deprecated
func (*MergeFilePartsRequest) Descriptor() ([]byte, []int)
Deprecated: Use MergeFilePartsRequest.ProtoReflect.Descriptor instead.
func (*MergeFilePartsRequest) GetFileContext ¶
func (x *MergeFilePartsRequest) GetFileContext() *FileContext
func (*MergeFilePartsRequest) GetUploadId ¶
func (x *MergeFilePartsRequest) GetUploadId() string
func (*MergeFilePartsRequest) ProtoMessage ¶
func (*MergeFilePartsRequest) ProtoMessage()
func (*MergeFilePartsRequest) ProtoReflect ¶
func (x *MergeFilePartsRequest) ProtoReflect() protoreflect.Message
func (*MergeFilePartsRequest) Reset ¶
func (x *MergeFilePartsRequest) Reset()
func (*MergeFilePartsRequest) String ¶
func (x *MergeFilePartsRequest) String() string
type MergeFilePartsResponse ¶
type MergeFilePartsResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*MergeFilePartsResponse) Descriptor
deprecated
func (*MergeFilePartsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MergeFilePartsResponse.ProtoReflect.Descriptor instead.
func (*MergeFilePartsResponse) GetMeta ¶
func (x *MergeFilePartsResponse) GetMeta() *Metadata
func (*MergeFilePartsResponse) ProtoMessage ¶
func (*MergeFilePartsResponse) ProtoMessage()
func (*MergeFilePartsResponse) ProtoReflect ¶
func (x *MergeFilePartsResponse) ProtoReflect() protoreflect.Message
func (*MergeFilePartsResponse) Reset ¶
func (x *MergeFilePartsResponse) Reset()
func (*MergeFilePartsResponse) String ¶
func (x *MergeFilePartsResponse) String() string
type Metadata ¶
type Metadata struct { BizCode int32 `protobuf:"varint,1,opt,name=biz_code,json=bizCode,proto3" json:"biz_code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Domain string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"` Reason []string `protobuf:"bytes,4,rep,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*Metadata) Descriptor
deprecated
func (*Metadata) GetBizCode ¶
func (*Metadata) GetMessage ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
type PaginationRequest ¶
type PaginationRequest struct { Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // 页码 [1, +∞) Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` // 页面大小 Sort []*SortField `protobuf:"bytes,3,rep,name=sort,proto3" json:"sort,omitempty"` // 根据字段进行排序 // contains filtered or unexported fields }
func (*PaginationRequest) Descriptor
deprecated
func (*PaginationRequest) Descriptor() ([]byte, []int)
Deprecated: Use PaginationRequest.ProtoReflect.Descriptor instead.
func (*PaginationRequest) GetPage ¶
func (x *PaginationRequest) GetPage() int32
func (*PaginationRequest) GetSize ¶
func (x *PaginationRequest) GetSize() int32
func (*PaginationRequest) GetSort ¶
func (x *PaginationRequest) GetSort() []*SortField
func (*PaginationRequest) ProtoMessage ¶
func (*PaginationRequest) ProtoMessage()
func (*PaginationRequest) ProtoReflect ¶
func (x *PaginationRequest) ProtoReflect() protoreflect.Message
func (*PaginationRequest) Reset ¶
func (x *PaginationRequest) Reset()
func (*PaginationRequest) String ¶
func (x *PaginationRequest) String() string
type PaginationResponse ¶
type PaginationResponse struct { Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // 当前数据的所属页码 Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // 总页数 Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` // 总条目数 // contains filtered or unexported fields }
func (*PaginationResponse) Descriptor
deprecated
func (*PaginationResponse) Descriptor() ([]byte, []int)
Deprecated: Use PaginationResponse.ProtoReflect.Descriptor instead.
func (*PaginationResponse) GetCount ¶
func (x *PaginationResponse) GetCount() int32
func (*PaginationResponse) GetPage ¶
func (x *PaginationResponse) GetPage() int32
func (*PaginationResponse) GetTotal ¶
func (x *PaginationResponse) GetTotal() int32
func (*PaginationResponse) ProtoMessage ¶
func (*PaginationResponse) ProtoMessage()
func (*PaginationResponse) ProtoReflect ¶
func (x *PaginationResponse) ProtoReflect() protoreflect.Message
func (*PaginationResponse) Reset ¶
func (x *PaginationResponse) Reset()
func (*PaginationResponse) String ¶
func (x *PaginationResponse) String() string
type PostServiceClient ¶
type PostServiceClient interface { CreateTemplate(ctx context.Context, in *CreateTemplateRequest, opts ...grpc.CallOption) (*CreateTemplateResponse, error) UpdateTemplate(ctx context.Context, in *UpdateTemplateRequest, opts ...grpc.CallOption) (*UpdateTemplateResponse, error) ListTemplate(ctx context.Context, in *ListTemplateRequest, opts ...grpc.CallOption) (*ListTemplateResponse, error) GetTemplate(ctx context.Context, in *GetTemplateRequest, opts ...grpc.CallOption) (*GetTemplateResponse, error) RemoveTemplate(ctx context.Context, in *RemoveTemplateRequest, opts ...grpc.CallOption) (*RemoveTemplateResponse, error) SendSms(ctx context.Context, in *SendSmsRequest, opts ...grpc.CallOption) (*SendSmsResponse, error) SendEmail(ctx context.Context, in *SendEmailRequest, opts ...grpc.CallOption) (*SendEmailResponse, error) Send(ctx context.Context, in *SendRequest, opts ...grpc.CallOption) (*SendResponse, error) }
PostServiceClient is the client API for PostService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewPostServiceClient ¶
func NewPostServiceClient(cc grpc.ClientConnInterface) PostServiceClient
type PostServiceServer ¶
type PostServiceServer interface { CreateTemplate(context.Context, *CreateTemplateRequest) (*CreateTemplateResponse, error) UpdateTemplate(context.Context, *UpdateTemplateRequest) (*UpdateTemplateResponse, error) ListTemplate(context.Context, *ListTemplateRequest) (*ListTemplateResponse, error) GetTemplate(context.Context, *GetTemplateRequest) (*GetTemplateResponse, error) RemoveTemplate(context.Context, *RemoveTemplateRequest) (*RemoveTemplateResponse, error) SendSms(context.Context, *SendSmsRequest) (*SendSmsResponse, error) SendEmail(context.Context, *SendEmailRequest) (*SendEmailResponse, error) Send(context.Context, *SendRequest) (*SendResponse, error) }
PostServiceServer is the server API for PostService service. All implementations should embed UnimplementedPostServiceServer for forward compatibility
type PostType ¶
type PostType int32
func (PostType) Descriptor ¶
func (PostType) Descriptor() protoreflect.EnumDescriptor
func (PostType) EnumDescriptor
deprecated
func (PostType) Number ¶
func (x PostType) Number() protoreflect.EnumNumber
func (PostType) Type ¶
func (PostType) Type() protoreflect.EnumType
type PreSignGetRequest ¶
type PreSignGetRequest struct { FileContext *FileContext `protobuf:"bytes,1,opt,name=file_context,json=fileContext,proto3" json:"file_context,omitempty"` // contains filtered or unexported fields }
func (*PreSignGetRequest) Descriptor
deprecated
func (*PreSignGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use PreSignGetRequest.ProtoReflect.Descriptor instead.
func (*PreSignGetRequest) GetFileContext ¶
func (x *PreSignGetRequest) GetFileContext() *FileContext
func (*PreSignGetRequest) ProtoMessage ¶
func (*PreSignGetRequest) ProtoMessage()
func (*PreSignGetRequest) ProtoReflect ¶
func (x *PreSignGetRequest) ProtoReflect() protoreflect.Message
func (*PreSignGetRequest) Reset ¶
func (x *PreSignGetRequest) Reset()
func (*PreSignGetRequest) String ¶
func (x *PreSignGetRequest) String() string
type PreSignGetResponse ¶
type PreSignGetResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*PreSignGetResponse) Descriptor
deprecated
func (*PreSignGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use PreSignGetResponse.ProtoReflect.Descriptor instead.
func (*PreSignGetResponse) GetMeta ¶
func (x *PreSignGetResponse) GetMeta() *Metadata
func (*PreSignGetResponse) GetUrl ¶
func (x *PreSignGetResponse) GetUrl() string
func (*PreSignGetResponse) ProtoMessage ¶
func (*PreSignGetResponse) ProtoMessage()
func (*PreSignGetResponse) ProtoReflect ¶
func (x *PreSignGetResponse) ProtoReflect() protoreflect.Message
func (*PreSignGetResponse) Reset ¶
func (x *PreSignGetResponse) Reset()
func (*PreSignGetResponse) String ¶
func (x *PreSignGetResponse) String() string
type PreSignPutRequest ¶
type PreSignPutRequest struct { FileContext *FileContext `protobuf:"bytes,1,opt,name=file_context,json=fileContext,proto3" json:"file_context,omitempty"` // contains filtered or unexported fields }
func (*PreSignPutRequest) Descriptor
deprecated
func (*PreSignPutRequest) Descriptor() ([]byte, []int)
Deprecated: Use PreSignPutRequest.ProtoReflect.Descriptor instead.
func (*PreSignPutRequest) GetFileContext ¶
func (x *PreSignPutRequest) GetFileContext() *FileContext
func (*PreSignPutRequest) ProtoMessage ¶
func (*PreSignPutRequest) ProtoMessage()
func (*PreSignPutRequest) ProtoReflect ¶
func (x *PreSignPutRequest) ProtoReflect() protoreflect.Message
func (*PreSignPutRequest) Reset ¶
func (x *PreSignPutRequest) Reset()
func (*PreSignPutRequest) String ¶
func (x *PreSignPutRequest) String() string
type PreSignPutResponse ¶
type PreSignPutResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // file_id will be not null if the put request file hash has been uploaded FileId int64 `protobuf:"varint,3,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"` // contains filtered or unexported fields }
func (*PreSignPutResponse) Descriptor
deprecated
func (*PreSignPutResponse) Descriptor() ([]byte, []int)
Deprecated: Use PreSignPutResponse.ProtoReflect.Descriptor instead.
func (*PreSignPutResponse) GetFileId ¶
func (x *PreSignPutResponse) GetFileId() int64
func (*PreSignPutResponse) GetMeta ¶
func (x *PreSignPutResponse) GetMeta() *Metadata
func (*PreSignPutResponse) GetUrl ¶
func (x *PreSignPutResponse) GetUrl() string
func (*PreSignPutResponse) ProtoMessage ¶
func (*PreSignPutResponse) ProtoMessage()
func (*PreSignPutResponse) ProtoReflect ¶
func (x *PreSignPutResponse) ProtoReflect() protoreflect.Message
func (*PreSignPutResponse) Reset ¶
func (x *PreSignPutResponse) Reset()
func (*PreSignPutResponse) String ¶
func (x *PreSignPutResponse) String() string
type PreSignSlicingPutRequest ¶
type PreSignSlicingPutRequest struct { FileContext *FileContext `protobuf:"bytes,1,opt,name=file_context,json=fileContext,proto3" json:"file_context,omitempty"` // contains filtered or unexported fields }
func (*PreSignSlicingPutRequest) Descriptor
deprecated
func (*PreSignSlicingPutRequest) Descriptor() ([]byte, []int)
Deprecated: Use PreSignSlicingPutRequest.ProtoReflect.Descriptor instead.
func (*PreSignSlicingPutRequest) GetFileContext ¶
func (x *PreSignSlicingPutRequest) GetFileContext() *FileContext
func (*PreSignSlicingPutRequest) ProtoMessage ¶
func (*PreSignSlicingPutRequest) ProtoMessage()
func (*PreSignSlicingPutRequest) ProtoReflect ¶
func (x *PreSignSlicingPutRequest) ProtoReflect() protoreflect.Message
func (*PreSignSlicingPutRequest) Reset ¶
func (x *PreSignSlicingPutRequest) Reset()
func (*PreSignSlicingPutRequest) String ¶
func (x *PreSignSlicingPutRequest) String() string
type PreSignSlicingPutResponse ¶
type PreSignSlicingPutResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Urls []string `protobuf:"bytes,2,rep,name=urls,proto3" json:"urls,omitempty"` UploadId string `protobuf:"bytes,3,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"` Parts int64 `protobuf:"varint,4,opt,name=parts,proto3" json:"parts,omitempty"` FileId int64 `protobuf:"varint,5,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"` // if a file has been uploaded, this field will be true Uploaded bool `protobuf:"varint,6,opt,name=uploaded,proto3" json:"uploaded,omitempty"` // contains filtered or unexported fields }
func (*PreSignSlicingPutResponse) Descriptor
deprecated
func (*PreSignSlicingPutResponse) Descriptor() ([]byte, []int)
Deprecated: Use PreSignSlicingPutResponse.ProtoReflect.Descriptor instead.
func (*PreSignSlicingPutResponse) GetFileId ¶
func (x *PreSignSlicingPutResponse) GetFileId() int64
func (*PreSignSlicingPutResponse) GetMeta ¶
func (x *PreSignSlicingPutResponse) GetMeta() *Metadata
func (*PreSignSlicingPutResponse) GetParts ¶
func (x *PreSignSlicingPutResponse) GetParts() int64
func (*PreSignSlicingPutResponse) GetUploadId ¶
func (x *PreSignSlicingPutResponse) GetUploadId() string
func (*PreSignSlicingPutResponse) GetUploaded ¶
func (x *PreSignSlicingPutResponse) GetUploaded() bool
func (*PreSignSlicingPutResponse) GetUrls ¶
func (x *PreSignSlicingPutResponse) GetUrls() []string
func (*PreSignSlicingPutResponse) ProtoMessage ¶
func (*PreSignSlicingPutResponse) ProtoMessage()
func (*PreSignSlicingPutResponse) ProtoReflect ¶
func (x *PreSignSlicingPutResponse) ProtoReflect() protoreflect.Message
func (*PreSignSlicingPutResponse) Reset ¶
func (x *PreSignSlicingPutResponse) Reset()
func (*PreSignSlicingPutResponse) String ¶
func (x *PreSignSlicingPutResponse) String() string
type RegisterRequest ¶
type RegisterRequest struct { Mobile string `protobuf:"bytes,1,opt,name=mobile,proto3" json:"mobile,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
手机号和邮箱至少要存在一个
func (*RegisterRequest) Descriptor
deprecated
func (*RegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.
func (*RegisterRequest) GetEmail ¶
func (x *RegisterRequest) GetEmail() string
func (*RegisterRequest) GetMobile ¶
func (x *RegisterRequest) GetMobile() string
func (*RegisterRequest) GetPassword ¶
func (x *RegisterRequest) GetPassword() string
func (*RegisterRequest) ProtoMessage ¶
func (*RegisterRequest) ProtoMessage()
func (*RegisterRequest) ProtoReflect ¶
func (x *RegisterRequest) ProtoReflect() protoreflect.Message
func (*RegisterRequest) Reset ¶
func (x *RegisterRequest) Reset()
func (*RegisterRequest) String ¶
func (x *RegisterRequest) String() string
type RegisterResponse ¶
type RegisterResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` AccountId int64 `protobuf:"varint,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // 账户id,通过此id绑定跨平台账号 // contains filtered or unexported fields }
func (*RegisterResponse) Descriptor
deprecated
func (*RegisterResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.
func (*RegisterResponse) GetAccountId ¶
func (x *RegisterResponse) GetAccountId() int64
func (*RegisterResponse) GetMeta ¶
func (x *RegisterResponse) GetMeta() *Metadata
func (*RegisterResponse) ProtoMessage ¶
func (*RegisterResponse) ProtoMessage()
func (*RegisterResponse) ProtoReflect ¶
func (x *RegisterResponse) ProtoReflect() protoreflect.Message
func (*RegisterResponse) Reset ¶
func (x *RegisterResponse) Reset()
func (*RegisterResponse) String ¶
func (x *RegisterResponse) String() string
type RemoveFileRequest ¶
type RemoveFileRequest struct { FileContext *FileContext `protobuf:"bytes,1,opt,name=file_context,json=fileContext,proto3" json:"file_context,omitempty"` // contains filtered or unexported fields }
func (*RemoveFileRequest) Descriptor
deprecated
func (*RemoveFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveFileRequest.ProtoReflect.Descriptor instead.
func (*RemoveFileRequest) GetFileContext ¶
func (x *RemoveFileRequest) GetFileContext() *FileContext
func (*RemoveFileRequest) ProtoMessage ¶
func (*RemoveFileRequest) ProtoMessage()
func (*RemoveFileRequest) ProtoReflect ¶
func (x *RemoveFileRequest) ProtoReflect() protoreflect.Message
func (*RemoveFileRequest) Reset ¶
func (x *RemoveFileRequest) Reset()
func (*RemoveFileRequest) String ¶
func (x *RemoveFileRequest) String() string
type RemoveFileResponse ¶
type RemoveFileResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*RemoveFileResponse) Descriptor
deprecated
func (*RemoveFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveFileResponse.ProtoReflect.Descriptor instead.
func (*RemoveFileResponse) GetMeta ¶
func (x *RemoveFileResponse) GetMeta() *Metadata
func (*RemoveFileResponse) ProtoMessage ¶
func (*RemoveFileResponse) ProtoMessage()
func (*RemoveFileResponse) ProtoReflect ¶
func (x *RemoveFileResponse) ProtoReflect() protoreflect.Message
func (*RemoveFileResponse) Reset ¶
func (x *RemoveFileResponse) Reset()
func (*RemoveFileResponse) String ¶
func (x *RemoveFileResponse) String() string
type RemoveTemplateRequest ¶
type RemoveTemplateRequest struct { TemplateId int64 `protobuf:"varint,1,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` // contains filtered or unexported fields }
func (*RemoveTemplateRequest) Descriptor
deprecated
func (*RemoveTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveTemplateRequest.ProtoReflect.Descriptor instead.
func (*RemoveTemplateRequest) GetTemplateId ¶
func (x *RemoveTemplateRequest) GetTemplateId() int64
func (*RemoveTemplateRequest) ProtoMessage ¶
func (*RemoveTemplateRequest) ProtoMessage()
func (*RemoveTemplateRequest) ProtoReflect ¶
func (x *RemoveTemplateRequest) ProtoReflect() protoreflect.Message
func (*RemoveTemplateRequest) Reset ¶
func (x *RemoveTemplateRequest) Reset()
func (*RemoveTemplateRequest) String ¶
func (x *RemoveTemplateRequest) String() string
type RemoveTemplateResponse ¶
type RemoveTemplateResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*RemoveTemplateResponse) Descriptor
deprecated
func (*RemoveTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveTemplateResponse.ProtoReflect.Descriptor instead.
func (*RemoveTemplateResponse) GetMeta ¶
func (x *RemoveTemplateResponse) GetMeta() *Metadata
func (*RemoveTemplateResponse) ProtoMessage ¶
func (*RemoveTemplateResponse) ProtoMessage()
func (*RemoveTemplateResponse) ProtoReflect ¶
func (x *RemoveTemplateResponse) ProtoReflect() protoreflect.Message
func (*RemoveTemplateResponse) Reset ¶
func (x *RemoveTemplateResponse) Reset()
func (*RemoveTemplateResponse) String ¶
func (x *RemoveTemplateResponse) String() string
type ReportUploadedFilePartsRequest ¶
type ReportUploadedFilePartsRequest struct { UploadId string `protobuf:"bytes,1,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"` FileId int64 `protobuf:"varint,2,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"` PartNumber int64 `protobuf:"varint,3,opt,name=part_number,json=partNumber,proto3" json:"part_number,omitempty"` // contains filtered or unexported fields }
func (*ReportUploadedFilePartsRequest) Descriptor
deprecated
func (*ReportUploadedFilePartsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReportUploadedFilePartsRequest.ProtoReflect.Descriptor instead.
func (*ReportUploadedFilePartsRequest) GetFileId ¶
func (x *ReportUploadedFilePartsRequest) GetFileId() int64
func (*ReportUploadedFilePartsRequest) GetPartNumber ¶
func (x *ReportUploadedFilePartsRequest) GetPartNumber() int64
func (*ReportUploadedFilePartsRequest) GetUploadId ¶
func (x *ReportUploadedFilePartsRequest) GetUploadId() string
func (*ReportUploadedFilePartsRequest) ProtoMessage ¶
func (*ReportUploadedFilePartsRequest) ProtoMessage()
func (*ReportUploadedFilePartsRequest) ProtoReflect ¶
func (x *ReportUploadedFilePartsRequest) ProtoReflect() protoreflect.Message
func (*ReportUploadedFilePartsRequest) Reset ¶
func (x *ReportUploadedFilePartsRequest) Reset()
func (*ReportUploadedFilePartsRequest) String ¶
func (x *ReportUploadedFilePartsRequest) String() string
type ReportUploadedFilePartsResponse ¶
type ReportUploadedFilePartsResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*ReportUploadedFilePartsResponse) Descriptor
deprecated
func (*ReportUploadedFilePartsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReportUploadedFilePartsResponse.ProtoReflect.Descriptor instead.
func (*ReportUploadedFilePartsResponse) GetMeta ¶
func (x *ReportUploadedFilePartsResponse) GetMeta() *Metadata
func (*ReportUploadedFilePartsResponse) ProtoMessage ¶
func (*ReportUploadedFilePartsResponse) ProtoMessage()
func (*ReportUploadedFilePartsResponse) ProtoReflect ¶
func (x *ReportUploadedFilePartsResponse) ProtoReflect() protoreflect.Message
func (*ReportUploadedFilePartsResponse) Reset ¶
func (x *ReportUploadedFilePartsResponse) Reset()
func (*ReportUploadedFilePartsResponse) String ¶
func (x *ReportUploadedFilePartsResponse) String() string
type ReportUploadedRequest ¶
type ReportUploadedRequest struct { FileContext *FileContext `protobuf:"bytes,1,opt,name=file_context,json=fileContext,proto3" json:"file_context,omitempty"` // contains filtered or unexported fields }
func (*ReportUploadedRequest) Descriptor
deprecated
func (*ReportUploadedRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReportUploadedRequest.ProtoReflect.Descriptor instead.
func (*ReportUploadedRequest) GetFileContext ¶
func (x *ReportUploadedRequest) GetFileContext() *FileContext
func (*ReportUploadedRequest) ProtoMessage ¶
func (*ReportUploadedRequest) ProtoMessage()
func (*ReportUploadedRequest) ProtoReflect ¶
func (x *ReportUploadedRequest) ProtoReflect() protoreflect.Message
func (*ReportUploadedRequest) Reset ¶
func (x *ReportUploadedRequest) Reset()
func (*ReportUploadedRequest) String ¶
func (x *ReportUploadedRequest) String() string
type ReportUploadedResponse ¶
type ReportUploadedResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*ReportUploadedResponse) Descriptor
deprecated
func (*ReportUploadedResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReportUploadedResponse.ProtoReflect.Descriptor instead.
func (*ReportUploadedResponse) GetMeta ¶
func (x *ReportUploadedResponse) GetMeta() *Metadata
func (*ReportUploadedResponse) GetUrl ¶
func (x *ReportUploadedResponse) GetUrl() string
func (*ReportUploadedResponse) ProtoMessage ¶
func (*ReportUploadedResponse) ProtoMessage()
func (*ReportUploadedResponse) ProtoReflect ¶
func (x *ReportUploadedResponse) ProtoReflect() protoreflect.Message
func (*ReportUploadedResponse) Reset ¶
func (x *ReportUploadedResponse) Reset()
func (*ReportUploadedResponse) String ¶
func (x *ReportUploadedResponse) String() string
type SearchField ¶
type SearchField struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // 用于搜索的字段名称 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // 搜索的值 ValueList []string `protobuf:"bytes,3,rep,name=value_list,json=valueList,proto3" json:"value_list,omitempty"` // 搜索的值列表 Operator SearchOperator `protobuf:"varint,4,opt,name=operator,proto3,enum=api.SearchOperator" json:"operator,omitempty"` // 操作符 // contains filtered or unexported fields }
func (*SearchField) Descriptor
deprecated
func (*SearchField) Descriptor() ([]byte, []int)
Deprecated: Use SearchField.ProtoReflect.Descriptor instead.
func (*SearchField) GetField ¶
func (x *SearchField) GetField() string
func (*SearchField) GetOperator ¶
func (x *SearchField) GetOperator() SearchOperator
func (*SearchField) GetValue ¶
func (x *SearchField) GetValue() string
func (*SearchField) GetValueList ¶
func (x *SearchField) GetValueList() []string
func (*SearchField) ProtoMessage ¶
func (*SearchField) ProtoMessage()
func (*SearchField) ProtoReflect ¶
func (x *SearchField) ProtoReflect() protoreflect.Message
func (*SearchField) Reset ¶
func (x *SearchField) Reset()
func (*SearchField) String ¶
func (x *SearchField) String() string
type SearchOperator ¶
type SearchOperator int32
const ( SearchOperator_EQ SearchOperator = 0 // 等于 SearchOperator_NE SearchOperator = 1 // 不等于 SearchOperator_GT SearchOperator = 2 // 大于 SearchOperator_GE SearchOperator = 3 // 大于等于 SearchOperator_LT SearchOperator = 4 // 小于 SearchOperator_LE SearchOperator = 5 // 小于等于 SearchOperator_LIKE SearchOperator = 6 // 使用like的模糊匹配 SearchOperator_WILDCARD SearchOperator = 7 // 使用通配符的模糊匹配 SearchOperator_IN SearchOperator = 8 // 在指定的集合中 SearchOperator_NOT_IN SearchOperator = 9 // 不在指定的集合中 SearchOperator_BETWEEN SearchOperator = 10 // 在指定的范围内 SearchOperator_RE SearchOperator = 11 // 正则匹配 )
func (SearchOperator) Descriptor ¶
func (SearchOperator) Descriptor() protoreflect.EnumDescriptor
func (SearchOperator) Enum ¶
func (x SearchOperator) Enum() *SearchOperator
func (SearchOperator) EnumDescriptor
deprecated
func (SearchOperator) EnumDescriptor() ([]byte, []int)
Deprecated: Use SearchOperator.Descriptor instead.
func (SearchOperator) Number ¶
func (x SearchOperator) Number() protoreflect.EnumNumber
func (SearchOperator) String ¶
func (x SearchOperator) String() string
func (SearchOperator) Type ¶
func (SearchOperator) Type() protoreflect.EnumType
type SearchRequest ¶
type SearchRequest struct { Search []*SearchField `protobuf:"bytes,1,rep,name=search,proto3" json:"search,omitempty"` // 搜索条件 // contains filtered or unexported fields }
func (*SearchRequest) Descriptor
deprecated
func (*SearchRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.
func (*SearchRequest) GetSearch ¶
func (x *SearchRequest) GetSearch() []*SearchField
func (*SearchRequest) ProtoMessage ¶
func (*SearchRequest) ProtoMessage()
func (*SearchRequest) ProtoReflect ¶
func (x *SearchRequest) ProtoReflect() protoreflect.Message
func (*SearchRequest) Reset ¶
func (x *SearchRequest) Reset()
func (*SearchRequest) String ¶
func (x *SearchRequest) String() string
type SendEmailRequest ¶
type SendEmailRequest struct { To string `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"` TemplateId int64 `protobuf:"varint,2,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` EmailTitle string `protobuf:"bytes,3,opt,name=email_title,json=emailTitle,proto3" json:"email_title,omitempty"` Data map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SendEmailRequest) Descriptor
deprecated
func (*SendEmailRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendEmailRequest.ProtoReflect.Descriptor instead.
func (*SendEmailRequest) GetData ¶
func (x *SendEmailRequest) GetData() map[string]string
func (*SendEmailRequest) GetEmailTitle ¶
func (x *SendEmailRequest) GetEmailTitle() string
func (*SendEmailRequest) GetTemplateId ¶
func (x *SendEmailRequest) GetTemplateId() int64
func (*SendEmailRequest) GetTo ¶
func (x *SendEmailRequest) GetTo() string
func (*SendEmailRequest) ProtoMessage ¶
func (*SendEmailRequest) ProtoMessage()
func (*SendEmailRequest) ProtoReflect ¶
func (x *SendEmailRequest) ProtoReflect() protoreflect.Message
func (*SendEmailRequest) Reset ¶
func (x *SendEmailRequest) Reset()
func (*SendEmailRequest) String ¶
func (x *SendEmailRequest) String() string
type SendEmailResponse ¶
type SendEmailResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*SendEmailResponse) Descriptor
deprecated
func (*SendEmailResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendEmailResponse.ProtoReflect.Descriptor instead.
func (*SendEmailResponse) GetMeta ¶
func (x *SendEmailResponse) GetMeta() *Metadata
func (*SendEmailResponse) ProtoMessage ¶
func (*SendEmailResponse) ProtoMessage()
func (*SendEmailResponse) ProtoReflect ¶
func (x *SendEmailResponse) ProtoReflect() protoreflect.Message
func (*SendEmailResponse) Reset ¶
func (x *SendEmailResponse) Reset()
func (*SendEmailResponse) String ¶
func (x *SendEmailResponse) String() string
type SendRequest ¶
type SendRequest struct { PostType PostType `protobuf:"varint,1,opt,name=post_type,json=postType,proto3,enum=api.PostType" json:"post_type,omitempty"` Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` To string `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"` TemplateId int64 `protobuf:"varint,5,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` // contains filtered or unexported fields }
func (*SendRequest) Descriptor
deprecated
func (*SendRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendRequest.ProtoReflect.Descriptor instead.
func (*SendRequest) GetContent ¶
func (x *SendRequest) GetContent() string
func (*SendRequest) GetPostType ¶
func (x *SendRequest) GetPostType() PostType
func (*SendRequest) GetTemplateId ¶
func (x *SendRequest) GetTemplateId() int64
func (*SendRequest) GetTitle ¶
func (x *SendRequest) GetTitle() string
func (*SendRequest) GetTo ¶
func (x *SendRequest) GetTo() string
func (*SendRequest) ProtoMessage ¶
func (*SendRequest) ProtoMessage()
func (*SendRequest) ProtoReflect ¶
func (x *SendRequest) ProtoReflect() protoreflect.Message
func (*SendRequest) Reset ¶
func (x *SendRequest) Reset()
func (*SendRequest) String ¶
func (x *SendRequest) String() string
type SendResponse ¶
type SendResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*SendResponse) Descriptor
deprecated
func (*SendResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendResponse.ProtoReflect.Descriptor instead.
func (*SendResponse) GetMeta ¶
func (x *SendResponse) GetMeta() *Metadata
func (*SendResponse) ProtoMessage ¶
func (*SendResponse) ProtoMessage()
func (*SendResponse) ProtoReflect ¶
func (x *SendResponse) ProtoReflect() protoreflect.Message
func (*SendResponse) Reset ¶
func (x *SendResponse) Reset()
func (*SendResponse) String ¶
func (x *SendResponse) String() string
type SendSmsRequest ¶
type SendSmsRequest struct { To string `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"` TemplateId int64 `protobuf:"varint,2,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` Data map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SendSmsRequest) Descriptor
deprecated
func (*SendSmsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendSmsRequest.ProtoReflect.Descriptor instead.
func (*SendSmsRequest) GetData ¶
func (x *SendSmsRequest) GetData() map[string]string
func (*SendSmsRequest) GetTemplateId ¶
func (x *SendSmsRequest) GetTemplateId() int64
func (*SendSmsRequest) GetTo ¶
func (x *SendSmsRequest) GetTo() string
func (*SendSmsRequest) ProtoMessage ¶
func (*SendSmsRequest) ProtoMessage()
func (*SendSmsRequest) ProtoReflect ¶
func (x *SendSmsRequest) ProtoReflect() protoreflect.Message
func (*SendSmsRequest) Reset ¶
func (x *SendSmsRequest) Reset()
func (*SendSmsRequest) String ¶
func (x *SendSmsRequest) String() string
type SendSmsResponse ¶
type SendSmsResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*SendSmsResponse) Descriptor
deprecated
func (*SendSmsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendSmsResponse.ProtoReflect.Descriptor instead.
func (*SendSmsResponse) GetMeta ¶
func (x *SendSmsResponse) GetMeta() *Metadata
func (*SendSmsResponse) ProtoMessage ¶
func (*SendSmsResponse) ProtoMessage()
func (*SendSmsResponse) ProtoReflect ¶
func (x *SendSmsResponse) ProtoReflect() protoreflect.Message
func (*SendSmsResponse) Reset ¶
func (x *SendSmsResponse) Reset()
func (*SendSmsResponse) String ¶
func (x *SendSmsResponse) String() string
type SortField ¶
type SortField struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // 用于排序的字段名称 Order SortOrder `protobuf:"varint,2,opt,name=order,proto3,enum=api.SortOrder" json:"order,omitempty"` // 排序方式 // contains filtered or unexported fields }
func (*SortField) Descriptor
deprecated
func (*SortField) ProtoMessage ¶
func (*SortField) ProtoMessage()
func (*SortField) ProtoReflect ¶
func (x *SortField) ProtoReflect() protoreflect.Message
type SortOrder ¶
type SortOrder int32
func (SortOrder) Descriptor ¶
func (SortOrder) Descriptor() protoreflect.EnumDescriptor
func (SortOrder) EnumDescriptor
deprecated
func (SortOrder) Number ¶
func (x SortOrder) Number() protoreflect.EnumNumber
func (SortOrder) Type ¶
func (SortOrder) Type() protoreflect.EnumType
type Template ¶
type Template struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` CreateTime int64 `protobuf:"varint,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` UpdateTime int64 `protobuf:"varint,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
func (*Template) Descriptor
deprecated
func (*Template) GetContent ¶
func (*Template) GetCreateTime ¶
func (*Template) GetUpdateTime ¶
func (*Template) ProtoMessage ¶
func (*Template) ProtoMessage()
func (*Template) ProtoReflect ¶
func (x *Template) ProtoReflect() protoreflect.Message
type UnimplementedAccountServiceServer ¶
type UnimplementedAccountServiceServer struct { }
UnimplementedAccountServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedAccountServiceServer) CheckAccount ¶
func (UnimplementedAccountServiceServer) CheckAccount(context.Context, *CheckAccountRequest) (*CheckAccountResponse, error)
func (UnimplementedAccountServiceServer) Register ¶
func (UnimplementedAccountServiceServer) Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
type UnimplementedAuthServiceServer ¶
type UnimplementedAuthServiceServer struct { }
UnimplementedAuthServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedAuthServiceServer) CreateVerificationCode ¶
func (UnimplementedAuthServiceServer) CreateVerificationCode(context.Context, *CreateVerificationCodeRequest) (*CreateVerificationCodeResponse, error)
func (UnimplementedAuthServiceServer) ValidateVerificationCode ¶
func (UnimplementedAuthServiceServer) ValidateVerificationCode(context.Context, *ValidateVerificationCodeRequest) (*ValidateVerificationCodeResponse, error)
type UnimplementedFileServiceServer ¶
type UnimplementedFileServiceServer struct { }
UnimplementedFileServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedFileServiceServer) GetFileInfoById ¶
func (UnimplementedFileServiceServer) GetFileInfoById(context.Context, *GetFileInfoByIdRequest) (*GetFileInfoByIdResponse, error)
func (UnimplementedFileServiceServer) GetProgressRate4SlicingPut ¶
func (UnimplementedFileServiceServer) GetProgressRate4SlicingPut(context.Context, *GetProgressRate4SlicingPutRequest) (*GetProgressRate4SlicingPutResponse, error)
func (UnimplementedFileServiceServer) MergeFileParts ¶
func (UnimplementedFileServiceServer) MergeFileParts(context.Context, *MergeFilePartsRequest) (*MergeFilePartsResponse, error)
func (UnimplementedFileServiceServer) PreSignGet ¶
func (UnimplementedFileServiceServer) PreSignGet(context.Context, *PreSignGetRequest) (*PreSignGetResponse, error)
func (UnimplementedFileServiceServer) PreSignPut ¶
func (UnimplementedFileServiceServer) PreSignPut(context.Context, *PreSignPutRequest) (*PreSignPutResponse, error)
func (UnimplementedFileServiceServer) PreSignSlicingPut ¶
func (UnimplementedFileServiceServer) PreSignSlicingPut(context.Context, *PreSignSlicingPutRequest) (*PreSignSlicingPutResponse, error)
func (UnimplementedFileServiceServer) RemoveFile ¶
func (UnimplementedFileServiceServer) RemoveFile(context.Context, *RemoveFileRequest) (*RemoveFileResponse, error)
func (UnimplementedFileServiceServer) ReportUploaded ¶
func (UnimplementedFileServiceServer) ReportUploaded(context.Context, *ReportUploadedRequest) (*ReportUploadedResponse, error)
type UnimplementedPostServiceServer ¶
type UnimplementedPostServiceServer struct { }
UnimplementedPostServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedPostServiceServer) CreateTemplate ¶
func (UnimplementedPostServiceServer) CreateTemplate(context.Context, *CreateTemplateRequest) (*CreateTemplateResponse, error)
func (UnimplementedPostServiceServer) GetTemplate ¶
func (UnimplementedPostServiceServer) GetTemplate(context.Context, *GetTemplateRequest) (*GetTemplateResponse, error)
func (UnimplementedPostServiceServer) ListTemplate ¶
func (UnimplementedPostServiceServer) ListTemplate(context.Context, *ListTemplateRequest) (*ListTemplateResponse, error)
func (UnimplementedPostServiceServer) RemoveTemplate ¶
func (UnimplementedPostServiceServer) RemoveTemplate(context.Context, *RemoveTemplateRequest) (*RemoveTemplateResponse, error)
func (UnimplementedPostServiceServer) Send ¶
func (UnimplementedPostServiceServer) Send(context.Context, *SendRequest) (*SendResponse, error)
func (UnimplementedPostServiceServer) SendEmail ¶
func (UnimplementedPostServiceServer) SendEmail(context.Context, *SendEmailRequest) (*SendEmailResponse, error)
func (UnimplementedPostServiceServer) SendSms ¶
func (UnimplementedPostServiceServer) SendSms(context.Context, *SendSmsRequest) (*SendSmsResponse, error)
func (UnimplementedPostServiceServer) UpdateTemplate ¶
func (UnimplementedPostServiceServer) UpdateTemplate(context.Context, *UpdateTemplateRequest) (*UpdateTemplateResponse, error)
type UnsafeAccountServiceServer ¶
type UnsafeAccountServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAccountServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AccountServiceServer will result in compilation errors.
type UnsafeAuthServiceServer ¶
type UnsafeAuthServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAuthServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthServiceServer will result in compilation errors.
type UnsafeFileServiceServer ¶
type UnsafeFileServiceServer interface {
// contains filtered or unexported methods
}
UnsafeFileServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FileServiceServer will result in compilation errors.
type UnsafePostServiceServer ¶
type UnsafePostServiceServer interface {
// contains filtered or unexported methods
}
UnsafePostServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PostServiceServer will result in compilation errors.
type UpdateTemplateRequest ¶
type UpdateTemplateRequest struct { TemplateId int64 `protobuf:"varint,1,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*UpdateTemplateRequest) Descriptor
deprecated
func (*UpdateTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTemplateRequest.ProtoReflect.Descriptor instead.
func (*UpdateTemplateRequest) GetContent ¶
func (x *UpdateTemplateRequest) GetContent() string
func (*UpdateTemplateRequest) GetTemplateId ¶
func (x *UpdateTemplateRequest) GetTemplateId() int64
func (*UpdateTemplateRequest) GetTitle ¶
func (x *UpdateTemplateRequest) GetTitle() string
func (*UpdateTemplateRequest) ProtoMessage ¶
func (*UpdateTemplateRequest) ProtoMessage()
func (*UpdateTemplateRequest) ProtoReflect ¶
func (x *UpdateTemplateRequest) ProtoReflect() protoreflect.Message
func (*UpdateTemplateRequest) Reset ¶
func (x *UpdateTemplateRequest) Reset()
func (*UpdateTemplateRequest) String ¶
func (x *UpdateTemplateRequest) String() string
type UpdateTemplateResponse ¶
type UpdateTemplateResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Template *Template `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"` // contains filtered or unexported fields }
func (*UpdateTemplateResponse) Descriptor
deprecated
func (*UpdateTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTemplateResponse.ProtoReflect.Descriptor instead.
func (*UpdateTemplateResponse) GetMeta ¶
func (x *UpdateTemplateResponse) GetMeta() *Metadata
func (*UpdateTemplateResponse) GetTemplate ¶
func (x *UpdateTemplateResponse) GetTemplate() *Template
func (*UpdateTemplateResponse) ProtoMessage ¶
func (*UpdateTemplateResponse) ProtoMessage()
func (*UpdateTemplateResponse) ProtoReflect ¶
func (x *UpdateTemplateResponse) ProtoReflect() protoreflect.Message
func (*UpdateTemplateResponse) Reset ¶
func (x *UpdateTemplateResponse) Reset()
func (*UpdateTemplateResponse) String ¶
func (x *UpdateTemplateResponse) String() string
type ValidateVerificationCodeRequest ¶
type ValidateVerificationCodeRequest struct { VerificationCodeId int64 `protobuf:"varint,1,opt,name=verification_code_id,json=verificationCodeId,proto3" json:"verification_code_id,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*ValidateVerificationCodeRequest) Descriptor
deprecated
func (*ValidateVerificationCodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidateVerificationCodeRequest.ProtoReflect.Descriptor instead.
func (*ValidateVerificationCodeRequest) GetCode ¶
func (x *ValidateVerificationCodeRequest) GetCode() string
func (*ValidateVerificationCodeRequest) GetVerificationCodeId ¶
func (x *ValidateVerificationCodeRequest) GetVerificationCodeId() int64
func (*ValidateVerificationCodeRequest) ProtoMessage ¶
func (*ValidateVerificationCodeRequest) ProtoMessage()
func (*ValidateVerificationCodeRequest) ProtoReflect ¶
func (x *ValidateVerificationCodeRequest) ProtoReflect() protoreflect.Message
func (*ValidateVerificationCodeRequest) Reset ¶
func (x *ValidateVerificationCodeRequest) Reset()
func (*ValidateVerificationCodeRequest) String ¶
func (x *ValidateVerificationCodeRequest) String() string
type ValidateVerificationCodeResponse ¶
type ValidateVerificationCodeResponse struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*ValidateVerificationCodeResponse) Descriptor
deprecated
func (*ValidateVerificationCodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidateVerificationCodeResponse.ProtoReflect.Descriptor instead.
func (*ValidateVerificationCodeResponse) GetMeta ¶
func (x *ValidateVerificationCodeResponse) GetMeta() *Metadata
func (*ValidateVerificationCodeResponse) ProtoMessage ¶
func (*ValidateVerificationCodeResponse) ProtoMessage()
func (*ValidateVerificationCodeResponse) ProtoReflect ¶
func (x *ValidateVerificationCodeResponse) ProtoReflect() protoreflect.Message
func (*ValidateVerificationCodeResponse) Reset ¶
func (x *ValidateVerificationCodeResponse) Reset()
func (*ValidateVerificationCodeResponse) String ¶
func (x *ValidateVerificationCodeResponse) String() string