show

package
v0.0.0-...-4036ab3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2025 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_essay_show_common_proto protoreflect.FileDescriptor
View Source
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) FastRead

func (x *ApplySignedUrlReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

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) FastRead

func (x *ApplySignedUrlResp) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

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) FastRead

func (x *EssayEvaluateReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

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) FastRead

func (x *EssayEvaluateResp) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

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) FastRead

func (x *GetEssayEvaluateLogsReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

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) FastRead

func (x *GetEssayEvaluateLogsResp) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

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) FastRead

func (x *GetUserInfoReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

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) FastRead

func (x *GetUserInfoResp) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

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) FastRead

func (x *GetUserInfoResp_Payload) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

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) Descriptor() ([]byte, []int)

Deprecated: Use Log.ProtoReflect.Descriptor instead.

func (*Log) FastRead

func (x *Log) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*Log) FastWrite

func (x *Log) FastWrite(buf []byte) (offset int)

func (*Log) GetCreateTime

func (x *Log) GetCreateTime() int64

func (*Log) GetGrade

func (x *Log) GetGrade() int64

func (*Log) GetId

func (x *Log) GetId() string

func (*Log) GetOcr

func (x *Log) GetOcr() []string

func (*Log) GetResponse

func (x *Log) GetResponse() string

func (*Log) ProtoMessage

func (*Log) ProtoMessage()

func (*Log) ProtoReflect

func (x *Log) ProtoReflect() protoreflect.Message

func (*Log) Reset

func (x *Log) Reset()

func (*Log) Size

func (x *Log) Size() (n int)

func (*Log) String

func (x *Log) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use OCRReq.ProtoReflect.Descriptor instead.

func (*OCRReq) FastRead

func (x *OCRReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*OCRReq) FastWrite

func (x *OCRReq) FastWrite(buf []byte) (offset int)

func (*OCRReq) GetOcr

func (x *OCRReq) GetOcr() []string

func (*OCRReq) ProtoMessage

func (*OCRReq) ProtoMessage()

func (*OCRReq) ProtoReflect

func (x *OCRReq) ProtoReflect() protoreflect.Message

func (*OCRReq) Reset

func (x *OCRReq) Reset()

func (*OCRReq) Size

func (x *OCRReq) Size() (n int)

func (*OCRReq) String

func (x *OCRReq) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use OCRResp.ProtoReflect.Descriptor instead.

func (*OCRResp) FastRead

func (x *OCRResp) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*OCRResp) FastWrite

func (x *OCRResp) FastWrite(buf []byte) (offset int)

func (*OCRResp) GetText

func (x *OCRResp) GetText() string

func (*OCRResp) GetTitle

func (x *OCRResp) GetTitle() string

func (*OCRResp) ProtoMessage

func (*OCRResp) ProtoMessage()

func (*OCRResp) ProtoReflect

func (x *OCRResp) ProtoReflect() protoreflect.Message

func (*OCRResp) Reset

func (x *OCRResp) Reset()

func (*OCRResp) Size

func (x *OCRResp) Size() (n int)

func (*OCRResp) String

func (x *OCRResp) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) FastRead

func (x *Response) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*Response) FastWrite

func (x *Response) FastWrite(buf []byte) (offset int)

func (*Response) GetCode

func (x *Response) GetCode() int64

func (*Response) GetMsg

func (x *Response) GetMsg() string

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

func (x *Response) ProtoReflect() protoreflect.Message

func (*Response) Reset

func (x *Response) Reset()

func (*Response) Size

func (x *Response) Size() (n int)

func (*Response) String

func (x *Response) String() string

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) FastRead

func (x *SendVerifyCodeReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

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) Descriptor() ([]byte, []int)

Deprecated: Use SignInReq.ProtoReflect.Descriptor instead.

func (*SignInReq) FastRead

func (x *SignInReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*SignInReq) FastWrite

func (x *SignInReq) FastWrite(buf []byte) (offset int)

func (*SignInReq) GetAuthId

func (x *SignInReq) GetAuthId() string

func (*SignInReq) GetAuthType

func (x *SignInReq) GetAuthType() string

func (*SignInReq) GetPassword

func (x *SignInReq) GetPassword() string

func (*SignInReq) GetVerifyCode

func (x *SignInReq) GetVerifyCode() string

func (*SignInReq) ProtoMessage

func (*SignInReq) ProtoMessage()

func (*SignInReq) ProtoReflect

func (x *SignInReq) ProtoReflect() protoreflect.Message

func (*SignInReq) Reset

func (x *SignInReq) Reset()

func (*SignInReq) Size

func (x *SignInReq) Size() (n int)

func (*SignInReq) String

func (x *SignInReq) String() string

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) FastRead

func (x *SignInResp) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

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) Descriptor() ([]byte, []int)

Deprecated: Use SignUpReq.ProtoReflect.Descriptor instead.

func (*SignUpReq) FastRead

func (x *SignUpReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*SignUpReq) FastWrite

func (x *SignUpReq) FastWrite(buf []byte) (offset int)

func (*SignUpReq) GetAuthId

func (x *SignUpReq) GetAuthId() string

func (*SignUpReq) GetAuthType

func (x *SignUpReq) GetAuthType() string

func (*SignUpReq) GetName

func (x *SignUpReq) GetName() string

func (*SignUpReq) GetPassword

func (x *SignUpReq) GetPassword() string

func (*SignUpReq) GetVerifyCode

func (x *SignUpReq) GetVerifyCode() string

func (*SignUpReq) ProtoMessage

func (*SignUpReq) ProtoMessage()

func (*SignUpReq) ProtoReflect

func (x *SignUpReq) ProtoReflect() protoreflect.Message

func (*SignUpReq) Reset

func (x *SignUpReq) Reset()

func (*SignUpReq) Size

func (x *SignUpReq) Size() (n int)

func (*SignUpReq) String

func (x *SignUpReq) String() string

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) FastRead

func (x *SignUpResp) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

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) FastRead

func (x *UpdatePasswordReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

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) FastRead

func (x *UpdatePasswordResp) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

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) FastRead

func (x *UpdateUserInfoReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

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

Directories

Path Synopsis
Code generated by Kitex v0.12.1.
Code generated by Kitex v0.12.1.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL