Documentation ¶
Index ¶
- Variables
- type ApplySignedUrlReq
- func (*ApplySignedUrlReq) Descriptor() ([]byte, []int)deprecated
- func (x *ApplySignedUrlReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *ApplySignedUrlReq) FastWrite(buf []byte) (offset int)
- func (x *ApplySignedUrlReq) GetPrefix() string
- func (x *ApplySignedUrlReq) GetSuffix() string
- func (*ApplySignedUrlReq) ProtoMessage()
- func (x *ApplySignedUrlReq) ProtoReflect() protoreflect.Message
- func (x *ApplySignedUrlReq) Reset()
- func (x *ApplySignedUrlReq) Size() (n int)
- func (x *ApplySignedUrlReq) String() string
- type ApplySignedUrlResp
- func (*ApplySignedUrlResp) Descriptor() ([]byte, []int)deprecated
- func (x *ApplySignedUrlResp) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *ApplySignedUrlResp) FastWrite(buf []byte) (offset int)
- func (x *ApplySignedUrlResp) GetSessionToken() string
- func (x *ApplySignedUrlResp) GetUrl() string
- func (*ApplySignedUrlResp) ProtoMessage()
- func (x *ApplySignedUrlResp) ProtoReflect() protoreflect.Message
- func (x *ApplySignedUrlResp) Reset()
- func (x *ApplySignedUrlResp) Size() (n int)
- func (x *ApplySignedUrlResp) String() string
- type EssayEvaluateReq
- func (*EssayEvaluateReq) Descriptor() ([]byte, []int)deprecated
- func (x *EssayEvaluateReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *EssayEvaluateReq) FastWrite(buf []byte) (offset int)
- func (x *EssayEvaluateReq) GetGrade() int64
- func (x *EssayEvaluateReq) GetOcr() []string
- func (x *EssayEvaluateReq) GetText() string
- func (x *EssayEvaluateReq) GetTitle() string
- func (*EssayEvaluateReq) ProtoMessage()
- func (x *EssayEvaluateReq) ProtoReflect() protoreflect.Message
- func (x *EssayEvaluateReq) Reset()
- func (x *EssayEvaluateReq) Size() (n int)
- func (x *EssayEvaluateReq) String() string
- type EssayEvaluateResp
- func (*EssayEvaluateResp) Descriptor() ([]byte, []int)deprecated
- func (x *EssayEvaluateResp) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *EssayEvaluateResp) FastWrite(buf []byte) (offset int)
- func (x *EssayEvaluateResp) GetCode() int64
- func (x *EssayEvaluateResp) GetMsg() string
- func (x *EssayEvaluateResp) GetResponse() string
- func (*EssayEvaluateResp) ProtoMessage()
- func (x *EssayEvaluateResp) ProtoReflect() protoreflect.Message
- func (x *EssayEvaluateResp) Reset()
- func (x *EssayEvaluateResp) Size() (n int)
- func (x *EssayEvaluateResp) String() string
- type GetEssayEvaluateLogsReq
- func (*GetEssayEvaluateLogsReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetEssayEvaluateLogsReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *GetEssayEvaluateLogsReq) FastWrite(buf []byte) (offset int)
- func (x *GetEssayEvaluateLogsReq) GetPaginationOptions() *basic.PaginationOptions
- func (*GetEssayEvaluateLogsReq) ProtoMessage()
- func (x *GetEssayEvaluateLogsReq) ProtoReflect() protoreflect.Message
- func (x *GetEssayEvaluateLogsReq) Reset()
- func (x *GetEssayEvaluateLogsReq) Size() (n int)
- func (x *GetEssayEvaluateLogsReq) String() string
- type GetEssayEvaluateLogsResp
- func (*GetEssayEvaluateLogsResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetEssayEvaluateLogsResp) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *GetEssayEvaluateLogsResp) FastWrite(buf []byte) (offset int)
- func (x *GetEssayEvaluateLogsResp) GetLogs() []*Log
- func (x *GetEssayEvaluateLogsResp) GetTotal() int64
- func (*GetEssayEvaluateLogsResp) ProtoMessage()
- func (x *GetEssayEvaluateLogsResp) ProtoReflect() protoreflect.Message
- func (x *GetEssayEvaluateLogsResp) Reset()
- func (x *GetEssayEvaluateLogsResp) Size() (n int)
- func (x *GetEssayEvaluateLogsResp) String() string
- type GetUserInfoReq
- func (*GetUserInfoReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserInfoReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *GetUserInfoReq) FastWrite(buf []byte) (offset int)
- func (*GetUserInfoReq) ProtoMessage()
- func (x *GetUserInfoReq) ProtoReflect() protoreflect.Message
- func (x *GetUserInfoReq) Reset()
- func (x *GetUserInfoReq) Size() (n int)
- func (x *GetUserInfoReq) String() string
- type GetUserInfoResp
- func (*GetUserInfoResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserInfoResp) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *GetUserInfoResp) FastWrite(buf []byte) (offset int)
- func (x *GetUserInfoResp) GetCode() int64
- func (x *GetUserInfoResp) GetMsg() string
- func (x *GetUserInfoResp) GetPayload() *GetUserInfoResp_Payload
- func (*GetUserInfoResp) ProtoMessage()
- func (x *GetUserInfoResp) ProtoReflect() protoreflect.Message
- func (x *GetUserInfoResp) Reset()
- func (x *GetUserInfoResp) Size() (n int)
- func (x *GetUserInfoResp) String() string
- type GetUserInfoResp_Payload
- func (*GetUserInfoResp_Payload) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserInfoResp_Payload) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *GetUserInfoResp_Payload) FastWrite(buf []byte) (offset int)
- func (x *GetUserInfoResp_Payload) GetCount() int64
- func (x *GetUserInfoResp_Payload) GetName() string
- func (x *GetUserInfoResp_Payload) GetPhone() string
- func (*GetUserInfoResp_Payload) ProtoMessage()
- func (x *GetUserInfoResp_Payload) ProtoReflect() protoreflect.Message
- func (x *GetUserInfoResp_Payload) Reset()
- func (x *GetUserInfoResp_Payload) Size() (n int)
- func (x *GetUserInfoResp_Payload) String() string
- type Log
- func (*Log) Descriptor() ([]byte, []int)deprecated
- func (x *Log) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *Log) FastWrite(buf []byte) (offset int)
- func (x *Log) GetCreateTime() int64
- func (x *Log) GetGrade() int64
- func (x *Log) GetId() string
- func (x *Log) GetOcr() []string
- func (x *Log) GetResponse() string
- func (*Log) ProtoMessage()
- func (x *Log) ProtoReflect() protoreflect.Message
- func (x *Log) Reset()
- func (x *Log) Size() (n int)
- func (x *Log) String() string
- type OCRReq
- func (*OCRReq) Descriptor() ([]byte, []int)deprecated
- func (x *OCRReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *OCRReq) FastWrite(buf []byte) (offset int)
- func (x *OCRReq) GetOcr() []string
- func (*OCRReq) ProtoMessage()
- func (x *OCRReq) ProtoReflect() protoreflect.Message
- func (x *OCRReq) Reset()
- func (x *OCRReq) Size() (n int)
- func (x *OCRReq) String() string
- type OCRResp
- func (*OCRResp) Descriptor() ([]byte, []int)deprecated
- func (x *OCRResp) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *OCRResp) FastWrite(buf []byte) (offset int)
- func (x *OCRResp) GetText() string
- func (x *OCRResp) GetTitle() string
- func (*OCRResp) ProtoMessage()
- func (x *OCRResp) ProtoReflect() protoreflect.Message
- func (x *OCRResp) Reset()
- func (x *OCRResp) Size() (n int)
- func (x *OCRResp) String() string
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *Response) FastWrite(buf []byte) (offset int)
- func (x *Response) GetCode() int64
- func (x *Response) GetMsg() string
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) Size() (n int)
- func (x *Response) String() string
- type SendVerifyCodeReq
- func (*SendVerifyCodeReq) Descriptor() ([]byte, []int)deprecated
- func (x *SendVerifyCodeReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *SendVerifyCodeReq) FastWrite(buf []byte) (offset int)
- func (x *SendVerifyCodeReq) GetAuthId() string
- func (x *SendVerifyCodeReq) GetAuthType() string
- func (x *SendVerifyCodeReq) GetType() int64
- func (*SendVerifyCodeReq) ProtoMessage()
- func (x *SendVerifyCodeReq) ProtoReflect() protoreflect.Message
- func (x *SendVerifyCodeReq) Reset()
- func (x *SendVerifyCodeReq) Size() (n int)
- func (x *SendVerifyCodeReq) String() string
- type Show
- type SignInReq
- func (*SignInReq) Descriptor() ([]byte, []int)deprecated
- func (x *SignInReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *SignInReq) FastWrite(buf []byte) (offset int)
- func (x *SignInReq) GetAuthId() string
- func (x *SignInReq) GetAuthType() string
- func (x *SignInReq) GetPassword() string
- func (x *SignInReq) GetVerifyCode() string
- func (*SignInReq) ProtoMessage()
- func (x *SignInReq) ProtoReflect() protoreflect.Message
- func (x *SignInReq) Reset()
- func (x *SignInReq) Size() (n int)
- func (x *SignInReq) String() string
- type SignInResp
- func (*SignInResp) Descriptor() ([]byte, []int)deprecated
- func (x *SignInResp) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *SignInResp) FastWrite(buf []byte) (offset int)
- func (x *SignInResp) GetAccessExpire() int64
- func (x *SignInResp) GetAccessToken() string
- func (x *SignInResp) GetId() string
- func (x *SignInResp) GetName() string
- func (*SignInResp) ProtoMessage()
- func (x *SignInResp) ProtoReflect() protoreflect.Message
- func (x *SignInResp) Reset()
- func (x *SignInResp) Size() (n int)
- func (x *SignInResp) String() string
- type SignUpReq
- func (*SignUpReq) Descriptor() ([]byte, []int)deprecated
- func (x *SignUpReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *SignUpReq) FastWrite(buf []byte) (offset int)
- func (x *SignUpReq) GetAuthId() string
- func (x *SignUpReq) GetAuthType() string
- func (x *SignUpReq) GetName() string
- func (x *SignUpReq) GetPassword() string
- func (x *SignUpReq) GetVerifyCode() string
- func (*SignUpReq) ProtoMessage()
- func (x *SignUpReq) ProtoReflect() protoreflect.Message
- func (x *SignUpReq) Reset()
- func (x *SignUpReq) Size() (n int)
- func (x *SignUpReq) String() string
- type SignUpResp
- func (*SignUpResp) Descriptor() ([]byte, []int)deprecated
- func (x *SignUpResp) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *SignUpResp) FastWrite(buf []byte) (offset int)
- func (x *SignUpResp) GetAccessExpire() int64
- func (x *SignUpResp) GetAccessToken() string
- func (x *SignUpResp) GetId() string
- func (x *SignUpResp) GetName() string
- func (*SignUpResp) ProtoMessage()
- func (x *SignUpResp) ProtoReflect() protoreflect.Message
- func (x *SignUpResp) Reset()
- func (x *SignUpResp) Size() (n int)
- func (x *SignUpResp) String() string
- type UpdatePasswordReq
- func (*UpdatePasswordReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePasswordReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *UpdatePasswordReq) FastWrite(buf []byte) (offset int)
- func (x *UpdatePasswordReq) GetPassword() string
- func (x *UpdatePasswordReq) GetVerifyCode() string
- func (*UpdatePasswordReq) ProtoMessage()
- func (x *UpdatePasswordReq) ProtoReflect() protoreflect.Message
- func (x *UpdatePasswordReq) Reset()
- func (x *UpdatePasswordReq) Size() (n int)
- func (x *UpdatePasswordReq) String() string
- type UpdatePasswordResp
- func (*UpdatePasswordResp) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePasswordResp) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *UpdatePasswordResp) FastWrite(buf []byte) (offset int)
- func (x *UpdatePasswordResp) GetAccessExpire() int64
- func (x *UpdatePasswordResp) GetAccessToken() string
- func (x *UpdatePasswordResp) GetId() string
- func (x *UpdatePasswordResp) GetName() string
- func (*UpdatePasswordResp) ProtoMessage()
- func (x *UpdatePasswordResp) ProtoReflect() protoreflect.Message
- func (x *UpdatePasswordResp) Reset()
- func (x *UpdatePasswordResp) Size() (n int)
- func (x *UpdatePasswordResp) String() string
- type UpdateUserInfoReq
- func (*UpdateUserInfoReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserInfoReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *UpdateUserInfoReq) FastWrite(buf []byte) (offset int)
- func (x *UpdateUserInfoReq) GetName() string
- func (*UpdateUserInfoReq) ProtoMessage()
- func (x *UpdateUserInfoReq) ProtoReflect() protoreflect.Message
- func (x *UpdateUserInfoReq) Reset()
- func (x *UpdateUserInfoReq) Size() (n int)
- func (x *UpdateUserInfoReq) String() string
Constants ¶
This section is empty.
Variables ¶
var File_essay_show_common_proto protoreflect.FileDescriptor
var File_essay_show_show_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ApplySignedUrlReq ¶
type ApplySignedUrlReq struct { Prefix *string `protobuf:"bytes,1,opt,name=prefix,proto3,oneof" json:"prefix,omitempty"` Suffix *string `protobuf:"bytes,2,opt,name=suffix,proto3,oneof" json:"suffix,omitempty"` // contains filtered or unexported fields }
获取加签后url
func (*ApplySignedUrlReq) Descriptor
deprecated
func (*ApplySignedUrlReq) Descriptor() ([]byte, []int)
Deprecated: Use ApplySignedUrlReq.ProtoReflect.Descriptor instead.
func (*ApplySignedUrlReq) FastWrite ¶
func (x *ApplySignedUrlReq) FastWrite(buf []byte) (offset int)
func (*ApplySignedUrlReq) GetPrefix ¶
func (x *ApplySignedUrlReq) GetPrefix() string
func (*ApplySignedUrlReq) GetSuffix ¶
func (x *ApplySignedUrlReq) GetSuffix() string
func (*ApplySignedUrlReq) ProtoMessage ¶
func (*ApplySignedUrlReq) ProtoMessage()
func (*ApplySignedUrlReq) ProtoReflect ¶
func (x *ApplySignedUrlReq) ProtoReflect() protoreflect.Message
func (*ApplySignedUrlReq) Reset ¶
func (x *ApplySignedUrlReq) Reset()
func (*ApplySignedUrlReq) Size ¶
func (x *ApplySignedUrlReq) Size() (n int)
func (*ApplySignedUrlReq) String ¶
func (x *ApplySignedUrlReq) String() string
type ApplySignedUrlResp ¶
type ApplySignedUrlResp struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` SessionToken string `protobuf:"bytes,2,opt,name=sessionToken,proto3" json:"sessionToken,omitempty"` // contains filtered or unexported fields }
func (*ApplySignedUrlResp) Descriptor
deprecated
func (*ApplySignedUrlResp) Descriptor() ([]byte, []int)
Deprecated: Use ApplySignedUrlResp.ProtoReflect.Descriptor instead.
func (*ApplySignedUrlResp) FastWrite ¶
func (x *ApplySignedUrlResp) FastWrite(buf []byte) (offset int)
func (*ApplySignedUrlResp) GetSessionToken ¶
func (x *ApplySignedUrlResp) GetSessionToken() string
func (*ApplySignedUrlResp) GetUrl ¶
func (x *ApplySignedUrlResp) GetUrl() string
func (*ApplySignedUrlResp) ProtoMessage ¶
func (*ApplySignedUrlResp) ProtoMessage()
func (*ApplySignedUrlResp) ProtoReflect ¶
func (x *ApplySignedUrlResp) ProtoReflect() protoreflect.Message
func (*ApplySignedUrlResp) Reset ¶
func (x *ApplySignedUrlResp) Reset()
func (*ApplySignedUrlResp) Size ¶
func (x *ApplySignedUrlResp) Size() (n int)
func (*ApplySignedUrlResp) String ¶
func (x *ApplySignedUrlResp) String() string
type EssayEvaluateReq ¶
type EssayEvaluateReq struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` Grade int64 `protobuf:"varint,3,opt,name=grade,proto3" json:"grade,omitempty"` Ocr []string `protobuf:"bytes,4,rep,name=ocr,proto3" json:"ocr,omitempty"` // contains filtered or unexported fields }
批改作文的请求
func (*EssayEvaluateReq) Descriptor
deprecated
func (*EssayEvaluateReq) Descriptor() ([]byte, []int)
Deprecated: Use EssayEvaluateReq.ProtoReflect.Descriptor instead.
func (*EssayEvaluateReq) FastWrite ¶
func (x *EssayEvaluateReq) FastWrite(buf []byte) (offset int)
func (*EssayEvaluateReq) GetGrade ¶
func (x *EssayEvaluateReq) GetGrade() int64
func (*EssayEvaluateReq) GetOcr ¶
func (x *EssayEvaluateReq) GetOcr() []string
func (*EssayEvaluateReq) GetText ¶
func (x *EssayEvaluateReq) GetText() string
func (*EssayEvaluateReq) GetTitle ¶
func (x *EssayEvaluateReq) GetTitle() string
func (*EssayEvaluateReq) ProtoMessage ¶
func (*EssayEvaluateReq) ProtoMessage()
func (*EssayEvaluateReq) ProtoReflect ¶
func (x *EssayEvaluateReq) ProtoReflect() protoreflect.Message
func (*EssayEvaluateReq) Reset ¶
func (x *EssayEvaluateReq) Reset()
func (*EssayEvaluateReq) Size ¶
func (x *EssayEvaluateReq) Size() (n int)
func (*EssayEvaluateReq) String ¶
func (x *EssayEvaluateReq) String() string
type EssayEvaluateResp ¶
type EssayEvaluateResp struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Response string `protobuf:"bytes,3,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
批改作文的响应
func (*EssayEvaluateResp) Descriptor
deprecated
func (*EssayEvaluateResp) Descriptor() ([]byte, []int)
Deprecated: Use EssayEvaluateResp.ProtoReflect.Descriptor instead.
func (*EssayEvaluateResp) FastWrite ¶
func (x *EssayEvaluateResp) FastWrite(buf []byte) (offset int)
func (*EssayEvaluateResp) GetCode ¶
func (x *EssayEvaluateResp) GetCode() int64
func (*EssayEvaluateResp) GetMsg ¶
func (x *EssayEvaluateResp) GetMsg() string
func (*EssayEvaluateResp) GetResponse ¶
func (x *EssayEvaluateResp) GetResponse() string
func (*EssayEvaluateResp) ProtoMessage ¶
func (*EssayEvaluateResp) ProtoMessage()
func (*EssayEvaluateResp) ProtoReflect ¶
func (x *EssayEvaluateResp) ProtoReflect() protoreflect.Message
func (*EssayEvaluateResp) Reset ¶
func (x *EssayEvaluateResp) Reset()
func (*EssayEvaluateResp) Size ¶
func (x *EssayEvaluateResp) Size() (n int)
func (*EssayEvaluateResp) String ¶
func (x *EssayEvaluateResp) String() string
type GetEssayEvaluateLogsReq ¶
type GetEssayEvaluateLogsReq struct { PaginationOptions *basic.PaginationOptions `protobuf:"bytes,1,opt,name=paginationOptions,proto3" json:"paginationOptions,omitempty"` // contains filtered or unexported fields }
获取批改记录请求
func (*GetEssayEvaluateLogsReq) Descriptor
deprecated
func (*GetEssayEvaluateLogsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetEssayEvaluateLogsReq.ProtoReflect.Descriptor instead.
func (*GetEssayEvaluateLogsReq) FastWrite ¶
func (x *GetEssayEvaluateLogsReq) FastWrite(buf []byte) (offset int)
func (*GetEssayEvaluateLogsReq) GetPaginationOptions ¶
func (x *GetEssayEvaluateLogsReq) GetPaginationOptions() *basic.PaginationOptions
func (*GetEssayEvaluateLogsReq) ProtoMessage ¶
func (*GetEssayEvaluateLogsReq) ProtoMessage()
func (*GetEssayEvaluateLogsReq) ProtoReflect ¶
func (x *GetEssayEvaluateLogsReq) ProtoReflect() protoreflect.Message
func (*GetEssayEvaluateLogsReq) Reset ¶
func (x *GetEssayEvaluateLogsReq) Reset()
func (*GetEssayEvaluateLogsReq) Size ¶
func (x *GetEssayEvaluateLogsReq) Size() (n int)
func (*GetEssayEvaluateLogsReq) String ¶
func (x *GetEssayEvaluateLogsReq) String() string
type GetEssayEvaluateLogsResp ¶
type GetEssayEvaluateLogsResp struct { Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Logs []*Log `protobuf:"bytes,2,rep,name=logs,proto3" json:"logs,omitempty"` // contains filtered or unexported fields }
获取批改记录响应
func (*GetEssayEvaluateLogsResp) Descriptor
deprecated
func (*GetEssayEvaluateLogsResp) Descriptor() ([]byte, []int)
Deprecated: Use GetEssayEvaluateLogsResp.ProtoReflect.Descriptor instead.
func (*GetEssayEvaluateLogsResp) FastWrite ¶
func (x *GetEssayEvaluateLogsResp) FastWrite(buf []byte) (offset int)
func (*GetEssayEvaluateLogsResp) GetLogs ¶
func (x *GetEssayEvaluateLogsResp) GetLogs() []*Log
func (*GetEssayEvaluateLogsResp) GetTotal ¶
func (x *GetEssayEvaluateLogsResp) GetTotal() int64
func (*GetEssayEvaluateLogsResp) ProtoMessage ¶
func (*GetEssayEvaluateLogsResp) ProtoMessage()
func (*GetEssayEvaluateLogsResp) ProtoReflect ¶
func (x *GetEssayEvaluateLogsResp) ProtoReflect() protoreflect.Message
func (*GetEssayEvaluateLogsResp) Reset ¶
func (x *GetEssayEvaluateLogsResp) Reset()
func (*GetEssayEvaluateLogsResp) Size ¶
func (x *GetEssayEvaluateLogsResp) Size() (n int)
func (*GetEssayEvaluateLogsResp) String ¶
func (x *GetEssayEvaluateLogsResp) String() string
type GetUserInfoReq ¶
type GetUserInfoReq struct {
// contains filtered or unexported fields
}
获取用户信息请求
func (*GetUserInfoReq) Descriptor
deprecated
func (*GetUserInfoReq) Descriptor() ([]byte, []int)
Deprecated: Use GetUserInfoReq.ProtoReflect.Descriptor instead.
func (*GetUserInfoReq) FastWrite ¶
func (x *GetUserInfoReq) FastWrite(buf []byte) (offset int)
func (*GetUserInfoReq) ProtoMessage ¶
func (*GetUserInfoReq) ProtoMessage()
func (*GetUserInfoReq) ProtoReflect ¶
func (x *GetUserInfoReq) ProtoReflect() protoreflect.Message
func (*GetUserInfoReq) Reset ¶
func (x *GetUserInfoReq) Reset()
func (*GetUserInfoReq) Size ¶
func (x *GetUserInfoReq) Size() (n int)
func (*GetUserInfoReq) String ¶
func (x *GetUserInfoReq) String() string
type GetUserInfoResp ¶
type GetUserInfoResp struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Payload *GetUserInfoResp_Payload `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
获取用户信息响应
func (*GetUserInfoResp) Descriptor
deprecated
func (*GetUserInfoResp) Descriptor() ([]byte, []int)
Deprecated: Use GetUserInfoResp.ProtoReflect.Descriptor instead.
func (*GetUserInfoResp) FastWrite ¶
func (x *GetUserInfoResp) FastWrite(buf []byte) (offset int)
func (*GetUserInfoResp) GetCode ¶
func (x *GetUserInfoResp) GetCode() int64
func (*GetUserInfoResp) GetMsg ¶
func (x *GetUserInfoResp) GetMsg() string
func (*GetUserInfoResp) GetPayload ¶
func (x *GetUserInfoResp) GetPayload() *GetUserInfoResp_Payload
func (*GetUserInfoResp) ProtoMessage ¶
func (*GetUserInfoResp) ProtoMessage()
func (*GetUserInfoResp) ProtoReflect ¶
func (x *GetUserInfoResp) ProtoReflect() protoreflect.Message
func (*GetUserInfoResp) Reset ¶
func (x *GetUserInfoResp) Reset()
func (*GetUserInfoResp) Size ¶
func (x *GetUserInfoResp) Size() (n int)
func (*GetUserInfoResp) String ¶
func (x *GetUserInfoResp) String() string
type GetUserInfoResp_Payload ¶
type GetUserInfoResp_Payload struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"` // contains filtered or unexported fields }
func (*GetUserInfoResp_Payload) Descriptor
deprecated
func (*GetUserInfoResp_Payload) Descriptor() ([]byte, []int)
Deprecated: Use GetUserInfoResp_Payload.ProtoReflect.Descriptor instead.
func (*GetUserInfoResp_Payload) FastWrite ¶
func (x *GetUserInfoResp_Payload) FastWrite(buf []byte) (offset int)
func (*GetUserInfoResp_Payload) GetCount ¶
func (x *GetUserInfoResp_Payload) GetCount() int64
func (*GetUserInfoResp_Payload) GetName ¶
func (x *GetUserInfoResp_Payload) GetName() string
func (*GetUserInfoResp_Payload) GetPhone ¶
func (x *GetUserInfoResp_Payload) GetPhone() string
func (*GetUserInfoResp_Payload) ProtoMessage ¶
func (*GetUserInfoResp_Payload) ProtoMessage()
func (*GetUserInfoResp_Payload) ProtoReflect ¶
func (x *GetUserInfoResp_Payload) ProtoReflect() protoreflect.Message
func (*GetUserInfoResp_Payload) Reset ¶
func (x *GetUserInfoResp_Payload) Reset()
func (*GetUserInfoResp_Payload) Size ¶
func (x *GetUserInfoResp_Payload) Size() (n int)
func (*GetUserInfoResp_Payload) String ¶
func (x *GetUserInfoResp_Payload) String() string
type Log ¶
type Log struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Grade int64 `protobuf:"varint,2,opt,name=grade,proto3" json:"grade,omitempty"` Ocr []string `protobuf:"bytes,3,rep,name=ocr,proto3" json:"ocr,omitempty"` Response string `protobuf:"bytes,4,opt,name=response,proto3" json:"response,omitempty"` CreateTime int64 `protobuf:"varint,5,opt,name=createTime,proto3" json:"createTime,omitempty"` // contains filtered or unexported fields }
func (*Log) Descriptor
deprecated
func (*Log) GetCreateTime ¶
func (*Log) GetResponse ¶
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
func (*Log) ProtoReflect ¶
func (x *Log) ProtoReflect() protoreflect.Message
type OCRReq ¶
type OCRReq struct { Ocr []string `protobuf:"bytes,1,rep,name=ocr,proto3" json:"ocr,omitempty"` // contains filtered or unexported fields }
调用OCR接口
func (*OCRReq) Descriptor
deprecated
func (*OCRReq) ProtoMessage ¶
func (*OCRReq) ProtoMessage()
func (*OCRReq) ProtoReflect ¶
func (x *OCRReq) ProtoReflect() protoreflect.Message
type OCRResp ¶
type OCRResp struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*OCRResp) Descriptor
deprecated
func (*OCRResp) ProtoMessage ¶
func (*OCRResp) ProtoMessage()
func (*OCRResp) ProtoReflect ¶
func (x *OCRResp) ProtoReflect() protoreflect.Message
type Response ¶
type Response struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type SendVerifyCodeReq ¶
type SendVerifyCodeReq struct { AuthType string `protobuf:"bytes,1,opt,name=authType,proto3" json:"authType,omitempty"` AuthId string `protobuf:"bytes,2,opt,name=authId,proto3" json:"authId,omitempty"` Type int64 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
发送验证码请求
func (*SendVerifyCodeReq) Descriptor
deprecated
func (*SendVerifyCodeReq) Descriptor() ([]byte, []int)
Deprecated: Use SendVerifyCodeReq.ProtoReflect.Descriptor instead.
func (*SendVerifyCodeReq) FastWrite ¶
func (x *SendVerifyCodeReq) FastWrite(buf []byte) (offset int)
func (*SendVerifyCodeReq) GetAuthId ¶
func (x *SendVerifyCodeReq) GetAuthId() string
func (*SendVerifyCodeReq) GetAuthType ¶
func (x *SendVerifyCodeReq) GetAuthType() string
func (*SendVerifyCodeReq) GetType ¶
func (x *SendVerifyCodeReq) GetType() int64
func (*SendVerifyCodeReq) ProtoMessage ¶
func (*SendVerifyCodeReq) ProtoMessage()
func (*SendVerifyCodeReq) ProtoReflect ¶
func (x *SendVerifyCodeReq) ProtoReflect() protoreflect.Message
func (*SendVerifyCodeReq) Reset ¶
func (x *SendVerifyCodeReq) Reset()
func (*SendVerifyCodeReq) Size ¶
func (x *SendVerifyCodeReq) Size() (n int)
func (*SendVerifyCodeReq) String ¶
func (x *SendVerifyCodeReq) String() string
type Show ¶
type Show interface { SignUp(ctx context.Context, req *SignUpReq) (res *SignUpResp, err error) SignIn(ctx context.Context, req *SignInReq) (res *SignInResp, err error) GetUserInfo(ctx context.Context, req *GetUserInfoReq) (res *GetUserInfoResp, err error) UpdatePassword(ctx context.Context, req *UpdatePasswordReq) (res *UpdatePasswordReq, err error) UpdateUserInfo(ctx context.Context, req *UpdateUserInfoReq) (res *Response, err error) EssayEvaluate(ctx context.Context, req *EssayEvaluateReq) (res *EssayEvaluateResp, err error) GetEvaluateLogs(ctx context.Context, req *GetEssayEvaluateLogsReq) (res *GetEssayEvaluateLogsResp, err error) OCR(ctx context.Context, req *OCRReq) (res *OCRResp, err error) ApplySignedUrl(ctx context.Context, req *ApplySignedUrlReq) (res *ApplySignedUrlResp, err error) SendVerifyCode(ctx context.Context, req *SendVerifyCodeReq) (res *Response, err error) }
type SignInReq ¶
type SignInReq struct { AuthId string `protobuf:"bytes,1,opt,name=authId,proto3" json:"authId,omitempty"` AuthType string `protobuf:"bytes,2,opt,name=authType,proto3" json:"authType,omitempty"` VerifyCode *string `protobuf:"bytes,3,opt,name=verifyCode,proto3,oneof" json:"verifyCode,omitempty"` Password *string `protobuf:"bytes,4,opt,name=password,proto3,oneof" json:"password,omitempty"` // contains filtered or unexported fields }
登录请求
func (*SignInReq) Descriptor
deprecated
func (*SignInReq) GetAuthType ¶
func (*SignInReq) GetPassword ¶
func (*SignInReq) GetVerifyCode ¶
func (*SignInReq) ProtoMessage ¶
func (*SignInReq) ProtoMessage()
func (*SignInReq) ProtoReflect ¶
func (x *SignInReq) ProtoReflect() protoreflect.Message
type SignInResp ¶
type SignInResp struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` AccessToken string `protobuf:"bytes,2,opt,name=accessToken,proto3" json:"accessToken,omitempty"` AccessExpire int64 `protobuf:"varint,3,opt,name=accessExpire,proto3" json:"accessExpire,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
登录响应
func (*SignInResp) Descriptor
deprecated
func (*SignInResp) Descriptor() ([]byte, []int)
Deprecated: Use SignInResp.ProtoReflect.Descriptor instead.
func (*SignInResp) FastWrite ¶
func (x *SignInResp) FastWrite(buf []byte) (offset int)
func (*SignInResp) GetAccessExpire ¶
func (x *SignInResp) GetAccessExpire() int64
func (*SignInResp) GetAccessToken ¶
func (x *SignInResp) GetAccessToken() string
func (*SignInResp) GetId ¶
func (x *SignInResp) GetId() string
func (*SignInResp) GetName ¶
func (x *SignInResp) GetName() string
func (*SignInResp) ProtoMessage ¶
func (*SignInResp) ProtoMessage()
func (*SignInResp) ProtoReflect ¶
func (x *SignInResp) ProtoReflect() protoreflect.Message
func (*SignInResp) Reset ¶
func (x *SignInResp) Reset()
func (*SignInResp) Size ¶
func (x *SignInResp) Size() (n int)
func (*SignInResp) String ¶
func (x *SignInResp) String() string
type SignUpReq ¶
type SignUpReq struct { AuthId string `protobuf:"bytes,1,opt,name=authId,proto3" json:"authId,omitempty"` AuthType string `protobuf:"bytes,2,opt,name=authType,proto3" json:"authType,omitempty"` VerifyCode string `protobuf:"bytes,3,opt,name=verifyCode,proto3" json:"verifyCode,omitempty"` Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` // 需要MD5加密 Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
注册请求
func (*SignUpReq) Descriptor
deprecated
func (*SignUpReq) GetAuthType ¶
func (*SignUpReq) GetPassword ¶
func (*SignUpReq) GetVerifyCode ¶
func (*SignUpReq) ProtoMessage ¶
func (*SignUpReq) ProtoMessage()
func (*SignUpReq) ProtoReflect ¶
func (x *SignUpReq) ProtoReflect() protoreflect.Message
type SignUpResp ¶
type SignUpResp struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` AccessToken string `protobuf:"bytes,2,opt,name=accessToken,proto3" json:"accessToken,omitempty"` AccessExpire int64 `protobuf:"varint,3,opt,name=accessExpire,proto3" json:"accessExpire,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
注册响应
func (*SignUpResp) Descriptor
deprecated
func (*SignUpResp) Descriptor() ([]byte, []int)
Deprecated: Use SignUpResp.ProtoReflect.Descriptor instead.
func (*SignUpResp) FastWrite ¶
func (x *SignUpResp) FastWrite(buf []byte) (offset int)
func (*SignUpResp) GetAccessExpire ¶
func (x *SignUpResp) GetAccessExpire() int64
func (*SignUpResp) GetAccessToken ¶
func (x *SignUpResp) GetAccessToken() string
func (*SignUpResp) GetId ¶
func (x *SignUpResp) GetId() string
func (*SignUpResp) GetName ¶
func (x *SignUpResp) GetName() string
func (*SignUpResp) ProtoMessage ¶
func (*SignUpResp) ProtoMessage()
func (*SignUpResp) ProtoReflect ¶
func (x *SignUpResp) ProtoReflect() protoreflect.Message
func (*SignUpResp) Reset ¶
func (x *SignUpResp) Reset()
func (*SignUpResp) Size ¶
func (x *SignUpResp) Size() (n int)
func (*SignUpResp) String ¶
func (x *SignUpResp) String() string
type UpdatePasswordReq ¶
type UpdatePasswordReq struct { VerifyCode string `protobuf:"bytes,1,opt,name=verifyCode,proto3" json:"verifyCode,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
修改密码请求
func (*UpdatePasswordReq) Descriptor
deprecated
func (*UpdatePasswordReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePasswordReq.ProtoReflect.Descriptor instead.
func (*UpdatePasswordReq) FastWrite ¶
func (x *UpdatePasswordReq) FastWrite(buf []byte) (offset int)
func (*UpdatePasswordReq) GetPassword ¶
func (x *UpdatePasswordReq) GetPassword() string
func (*UpdatePasswordReq) GetVerifyCode ¶
func (x *UpdatePasswordReq) GetVerifyCode() string
func (*UpdatePasswordReq) ProtoMessage ¶
func (*UpdatePasswordReq) ProtoMessage()
func (*UpdatePasswordReq) ProtoReflect ¶
func (x *UpdatePasswordReq) ProtoReflect() protoreflect.Message
func (*UpdatePasswordReq) Reset ¶
func (x *UpdatePasswordReq) Reset()
func (*UpdatePasswordReq) Size ¶
func (x *UpdatePasswordReq) Size() (n int)
func (*UpdatePasswordReq) String ¶
func (x *UpdatePasswordReq) String() string
type UpdatePasswordResp ¶
type UpdatePasswordResp struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` AccessToken string `protobuf:"bytes,2,opt,name=accessToken,proto3" json:"accessToken,omitempty"` AccessExpire int64 `protobuf:"varint,3,opt,name=accessExpire,proto3" json:"accessExpire,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
修改密码相应
func (*UpdatePasswordResp) Descriptor
deprecated
func (*UpdatePasswordResp) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePasswordResp.ProtoReflect.Descriptor instead.
func (*UpdatePasswordResp) FastWrite ¶
func (x *UpdatePasswordResp) FastWrite(buf []byte) (offset int)
func (*UpdatePasswordResp) GetAccessExpire ¶
func (x *UpdatePasswordResp) GetAccessExpire() int64
func (*UpdatePasswordResp) GetAccessToken ¶
func (x *UpdatePasswordResp) GetAccessToken() string
func (*UpdatePasswordResp) GetId ¶
func (x *UpdatePasswordResp) GetId() string
func (*UpdatePasswordResp) GetName ¶
func (x *UpdatePasswordResp) GetName() string
func (*UpdatePasswordResp) ProtoMessage ¶
func (*UpdatePasswordResp) ProtoMessage()
func (*UpdatePasswordResp) ProtoReflect ¶
func (x *UpdatePasswordResp) ProtoReflect() protoreflect.Message
func (*UpdatePasswordResp) Reset ¶
func (x *UpdatePasswordResp) Reset()
func (*UpdatePasswordResp) Size ¶
func (x *UpdatePasswordResp) Size() (n int)
func (*UpdatePasswordResp) String ¶
func (x *UpdatePasswordResp) String() string
type UpdateUserInfoReq ¶
type UpdateUserInfoReq struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
更新用户信息
func (*UpdateUserInfoReq) Descriptor
deprecated
func (*UpdateUserInfoReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserInfoReq.ProtoReflect.Descriptor instead.
func (*UpdateUserInfoReq) FastWrite ¶
func (x *UpdateUserInfoReq) FastWrite(buf []byte) (offset int)
func (*UpdateUserInfoReq) GetName ¶
func (x *UpdateUserInfoReq) GetName() string
func (*UpdateUserInfoReq) ProtoMessage ¶
func (*UpdateUserInfoReq) ProtoMessage()
func (*UpdateUserInfoReq) ProtoReflect ¶
func (x *UpdateUserInfoReq) ProtoReflect() protoreflect.Message
func (*UpdateUserInfoReq) Reset ¶
func (x *UpdateUserInfoReq) Reset()
func (*UpdateUserInfoReq) Size ¶
func (x *UpdateUserInfoReq) Size() (n int)
func (*UpdateUserInfoReq) String ¶
func (x *UpdateUserInfoReq) String() string