core_api

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_schedule_core_api_common_proto protoreflect.FileDescriptor
View Source
var File_schedule_core_api_core_api_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CoreApi

type CoreApi interface {
	SignUp(ctx context.Context, req *SignUpReq) (res *SignUpResp, err error)
	SignIn(ctx context.Context, req *SignInReq) (res *SignInResp, err error)
	SendVerifyCode(ctx context.Context, req *SendVerifyCodeReq) (res *SendVerifyCodeResp, err error)
	CreateSchedule(ctx context.Context, req *CreateScheduleReq) (res *CreateScheduleResp, err error)
	CreateScheduleFromOrigin(ctx context.Context, req *CreateScheduleFromOriginReq) (res *CreateScheduleFromOriginResp, err error)
	CreateSchedules(ctx context.Context, req *CreateSchedulesReq) (res *CreateSchedulesResp, err error)
	UpdateSchedule(ctx context.Context, req *UpdateScheduleReq) (res *UpdateScheduleResp, err error)
	GetSchedules(ctx context.Context, req *GetSchedulesReq) (res *GetSchedulesResp, err error)
}

type CreateScheduleFromOriginReq

type CreateScheduleFromOriginReq struct {
	Origin string `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"` // 原话
	// contains filtered or unexported fields
}

原话创建日程请求

func (*CreateScheduleFromOriginReq) Descriptor deprecated

func (*CreateScheduleFromOriginReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateScheduleFromOriginReq.ProtoReflect.Descriptor instead.

func (*CreateScheduleFromOriginReq) FastRead

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

func (*CreateScheduleFromOriginReq) FastWrite

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

func (*CreateScheduleFromOriginReq) GetOrigin

func (x *CreateScheduleFromOriginReq) GetOrigin() string

func (*CreateScheduleFromOriginReq) ProtoMessage

func (*CreateScheduleFromOriginReq) ProtoMessage()

func (*CreateScheduleFromOriginReq) ProtoReflect

func (*CreateScheduleFromOriginReq) Reset

func (x *CreateScheduleFromOriginReq) Reset()

func (*CreateScheduleFromOriginReq) Size

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

func (*CreateScheduleFromOriginReq) String

func (x *CreateScheduleFromOriginReq) String() string

type CreateScheduleFromOriginResp

type CreateScheduleFromOriginResp 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"`
	Schedules []*Schedule `protobuf:"bytes,3,rep,name=schedules,proto3" json:"schedules,omitempty"`
	// contains filtered or unexported fields
}

原话创建日程响应

func (*CreateScheduleFromOriginResp) Descriptor deprecated

func (*CreateScheduleFromOriginResp) Descriptor() ([]byte, []int)

Deprecated: Use CreateScheduleFromOriginResp.ProtoReflect.Descriptor instead.

func (*CreateScheduleFromOriginResp) FastRead

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

func (*CreateScheduleFromOriginResp) FastWrite

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

func (*CreateScheduleFromOriginResp) GetCode

func (x *CreateScheduleFromOriginResp) GetCode() int64

func (*CreateScheduleFromOriginResp) GetMsg

func (*CreateScheduleFromOriginResp) GetSchedules

func (x *CreateScheduleFromOriginResp) GetSchedules() []*Schedule

func (*CreateScheduleFromOriginResp) ProtoMessage

func (*CreateScheduleFromOriginResp) ProtoMessage()

func (*CreateScheduleFromOriginResp) ProtoReflect

func (*CreateScheduleFromOriginResp) Reset

func (x *CreateScheduleFromOriginResp) Reset()

func (*CreateScheduleFromOriginResp) Size

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

func (*CreateScheduleFromOriginResp) String

type CreateScheduleReq

type CreateScheduleReq struct {
	Group       string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	Title       string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Progress    int64  `protobuf:"varint,4,opt,name=progress,proto3" json:"progress,omitempty"`
	Priority    int64  `protobuf:"varint,5,opt,name=priority,proto3" json:"priority,omitempty"`
	Top         int64  `protobuf:"varint,6,opt,name=top,proto3" json:"top,omitempty"`
	Ddl         int64  `protobuf:"varint,7,opt,name=ddl,proto3" json:"ddl,omitempty"`
	// contains filtered or unexported fields
}

创建日程请求

func (*CreateScheduleReq) Descriptor deprecated

func (*CreateScheduleReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateScheduleReq.ProtoReflect.Descriptor instead.

func (*CreateScheduleReq) FastRead

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

func (*CreateScheduleReq) FastWrite

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

func (*CreateScheduleReq) GetDdl

func (x *CreateScheduleReq) GetDdl() int64

func (*CreateScheduleReq) GetDescription

func (x *CreateScheduleReq) GetDescription() string

func (*CreateScheduleReq) GetGroup

func (x *CreateScheduleReq) GetGroup() string

func (*CreateScheduleReq) GetPriority

func (x *CreateScheduleReq) GetPriority() int64

func (*CreateScheduleReq) GetProgress

func (x *CreateScheduleReq) GetProgress() int64

func (*CreateScheduleReq) GetTitle

func (x *CreateScheduleReq) GetTitle() string

func (*CreateScheduleReq) GetTop

func (x *CreateScheduleReq) GetTop() int64

func (*CreateScheduleReq) ProtoMessage

func (*CreateScheduleReq) ProtoMessage()

func (*CreateScheduleReq) ProtoReflect

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

func (*CreateScheduleReq) Reset

func (x *CreateScheduleReq) Reset()

func (*CreateScheduleReq) Size

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

func (*CreateScheduleReq) String

func (x *CreateScheduleReq) String() string

type CreateScheduleResp

type CreateScheduleResp 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"`
	Schedule *Schedule `protobuf:"bytes,3,opt,name=schedule,proto3" json:"schedule,omitempty"`
	// contains filtered or unexported fields
}

创建日程响应

func (*CreateScheduleResp) Descriptor deprecated

func (*CreateScheduleResp) Descriptor() ([]byte, []int)

Deprecated: Use CreateScheduleResp.ProtoReflect.Descriptor instead.

func (*CreateScheduleResp) FastRead

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

func (*CreateScheduleResp) FastWrite

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

func (*CreateScheduleResp) GetCode

func (x *CreateScheduleResp) GetCode() int64

func (*CreateScheduleResp) GetMsg

func (x *CreateScheduleResp) GetMsg() string

func (*CreateScheduleResp) GetSchedule

func (x *CreateScheduleResp) GetSchedule() *Schedule

func (*CreateScheduleResp) ProtoMessage

func (*CreateScheduleResp) ProtoMessage()

func (*CreateScheduleResp) ProtoReflect

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

func (*CreateScheduleResp) Reset

func (x *CreateScheduleResp) Reset()

func (*CreateScheduleResp) Size

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

func (*CreateScheduleResp) String

func (x *CreateScheduleResp) String() string

type CreateSchedulesReq

type CreateSchedulesReq struct {
	Schedules []*Schedule `protobuf:"bytes,1,rep,name=schedules,proto3" json:"schedules,omitempty"`
	// contains filtered or unexported fields
}

批量创建日程

func (*CreateSchedulesReq) Descriptor deprecated

func (*CreateSchedulesReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateSchedulesReq.ProtoReflect.Descriptor instead.

func (*CreateSchedulesReq) FastRead

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

func (*CreateSchedulesReq) FastWrite

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

func (*CreateSchedulesReq) GetSchedules

func (x *CreateSchedulesReq) GetSchedules() []*Schedule

func (*CreateSchedulesReq) ProtoMessage

func (*CreateSchedulesReq) ProtoMessage()

func (*CreateSchedulesReq) ProtoReflect

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

func (*CreateSchedulesReq) Reset

func (x *CreateSchedulesReq) Reset()

func (*CreateSchedulesReq) Size

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

func (*CreateSchedulesReq) String

func (x *CreateSchedulesReq) String() string

type CreateSchedulesResp

type CreateSchedulesResp 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 (*CreateSchedulesResp) Descriptor deprecated

func (*CreateSchedulesResp) Descriptor() ([]byte, []int)

Deprecated: Use CreateSchedulesResp.ProtoReflect.Descriptor instead.

func (*CreateSchedulesResp) FastRead

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

func (*CreateSchedulesResp) FastWrite

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

func (*CreateSchedulesResp) GetCode

func (x *CreateSchedulesResp) GetCode() int64

func (*CreateSchedulesResp) GetMsg

func (x *CreateSchedulesResp) GetMsg() string

func (*CreateSchedulesResp) ProtoMessage

func (*CreateSchedulesResp) ProtoMessage()

func (*CreateSchedulesResp) ProtoReflect

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

func (*CreateSchedulesResp) Reset

func (x *CreateSchedulesResp) Reset()

func (*CreateSchedulesResp) Size

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

func (*CreateSchedulesResp) String

func (x *CreateSchedulesResp) String() string

type GetSchedulesReq

type GetSchedulesReq struct {
	PaginationOptions *basic.PaginationOptions `protobuf:"bytes,1,opt,name=paginationOptions,proto3" json:"paginationOptions,omitempty"`
	// contains filtered or unexported fields
}

获取日程列表

func (*GetSchedulesReq) Descriptor deprecated

func (*GetSchedulesReq) Descriptor() ([]byte, []int)

Deprecated: Use GetSchedulesReq.ProtoReflect.Descriptor instead.

func (*GetSchedulesReq) FastRead

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

func (*GetSchedulesReq) FastWrite

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

func (*GetSchedulesReq) GetPaginationOptions

func (x *GetSchedulesReq) GetPaginationOptions() *basic.PaginationOptions

func (*GetSchedulesReq) ProtoMessage

func (*GetSchedulesReq) ProtoMessage()

func (*GetSchedulesReq) ProtoReflect

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

func (*GetSchedulesReq) Reset

func (x *GetSchedulesReq) Reset()

func (*GetSchedulesReq) Size

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

func (*GetSchedulesReq) String

func (x *GetSchedulesReq) String() string

type GetSchedulesResp

type GetSchedulesResp struct {
	Total     int64       `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Schedules []*Schedule `protobuf:"bytes,2,rep,name=schedules,proto3" json:"schedules,omitempty"`
	// contains filtered or unexported fields
}

获取日程列表响应

func (*GetSchedulesResp) Descriptor deprecated

func (*GetSchedulesResp) Descriptor() ([]byte, []int)

Deprecated: Use GetSchedulesResp.ProtoReflect.Descriptor instead.

func (*GetSchedulesResp) FastRead

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

func (*GetSchedulesResp) FastWrite

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

func (*GetSchedulesResp) GetSchedules

func (x *GetSchedulesResp) GetSchedules() []*Schedule

func (*GetSchedulesResp) GetTotal

func (x *GetSchedulesResp) GetTotal() int64

func (*GetSchedulesResp) ProtoMessage

func (*GetSchedulesResp) ProtoMessage()

func (*GetSchedulesResp) ProtoReflect

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

func (*GetSchedulesResp) Reset

func (x *GetSchedulesResp) Reset()

func (*GetSchedulesResp) Size

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

func (*GetSchedulesResp) String

func (x *GetSchedulesResp) String() string

type Schedule

type Schedule struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	UserId      string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"`
	Group       string `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"`
	Origin      string `protobuf:"bytes,4,opt,name=origin,proto3" json:"origin,omitempty"`
	Title       string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	Done        int64  `protobuf:"varint,7,opt,name=done,proto3" json:"done,omitempty"`
	Progress    int64  `protobuf:"varint,8,opt,name=progress,proto3" json:"progress,omitempty"`
	Priority    int64  `protobuf:"varint,9,opt,name=priority,proto3" json:"priority,omitempty"`
	Top         int64  `protobuf:"varint,10,opt,name=top,proto3" json:"top,omitempty"`
	Ddl         int64  `protobuf:"varint,11,opt,name=ddl,proto3" json:"ddl,omitempty"`
	CreateTime  int64  `protobuf:"varint,12,opt,name=createTime,proto3" json:"createTime,omitempty"`
	UpdateTime  int64  `protobuf:"varint,13,opt,name=updateTime,proto3" json:"updateTime,omitempty"`
	// contains filtered or unexported fields
}

日程对象

func (*Schedule) Descriptor deprecated

func (*Schedule) Descriptor() ([]byte, []int)

Deprecated: Use Schedule.ProtoReflect.Descriptor instead.

func (*Schedule) FastRead

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

func (*Schedule) FastWrite

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

func (*Schedule) GetCreateTime

func (x *Schedule) GetCreateTime() int64

func (*Schedule) GetDdl

func (x *Schedule) GetDdl() int64

func (*Schedule) GetDescription

func (x *Schedule) GetDescription() string

func (*Schedule) GetDone

func (x *Schedule) GetDone() int64

func (*Schedule) GetGroup

func (x *Schedule) GetGroup() string

func (*Schedule) GetId

func (x *Schedule) GetId() string

func (*Schedule) GetOrigin

func (x *Schedule) GetOrigin() string

func (*Schedule) GetPriority

func (x *Schedule) GetPriority() int64

func (*Schedule) GetProgress

func (x *Schedule) GetProgress() int64

func (*Schedule) GetTitle

func (x *Schedule) GetTitle() string

func (*Schedule) GetTop

func (x *Schedule) GetTop() int64

func (*Schedule) GetUpdateTime

func (x *Schedule) GetUpdateTime() int64

func (*Schedule) GetUserId

func (x *Schedule) GetUserId() string

func (*Schedule) ProtoMessage

func (*Schedule) ProtoMessage()

func (*Schedule) ProtoReflect

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

func (*Schedule) Reset

func (x *Schedule) Reset()

func (*Schedule) Size

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

func (*Schedule) String

func (x *Schedule) 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 SendVerifyCodeResp

type SendVerifyCodeResp 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 (*SendVerifyCodeResp) Descriptor deprecated

func (*SendVerifyCodeResp) Descriptor() ([]byte, []int)

Deprecated: Use SendVerifyCodeResp.ProtoReflect.Descriptor instead.

func (*SendVerifyCodeResp) FastRead

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

func (*SendVerifyCodeResp) FastWrite

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

func (*SendVerifyCodeResp) GetCode

func (x *SendVerifyCodeResp) GetCode() int64

func (*SendVerifyCodeResp) GetMsg

func (x *SendVerifyCodeResp) GetMsg() string

func (*SendVerifyCodeResp) ProtoMessage

func (*SendVerifyCodeResp) ProtoMessage()

func (*SendVerifyCodeResp) ProtoReflect

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

func (*SendVerifyCodeResp) Reset

func (x *SendVerifyCodeResp) Reset()

func (*SendVerifyCodeResp) Size

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

func (*SendVerifyCodeResp) String

func (x *SendVerifyCodeResp) String() string

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"`
	// 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) 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"` // 为空则不设置密码
	// 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) 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"`
	// 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) 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 UpdateScheduleReq

type UpdateScheduleReq struct {
	Schedule *Schedule `protobuf:"bytes,1,opt,name=schedule,proto3" json:"schedule,omitempty"`
	// contains filtered or unexported fields
}

更新日程请求

func (*UpdateScheduleReq) Descriptor deprecated

func (*UpdateScheduleReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdateScheduleReq.ProtoReflect.Descriptor instead.

func (*UpdateScheduleReq) FastRead

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

func (*UpdateScheduleReq) FastWrite

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

func (*UpdateScheduleReq) GetSchedule

func (x *UpdateScheduleReq) GetSchedule() *Schedule

func (*UpdateScheduleReq) ProtoMessage

func (*UpdateScheduleReq) ProtoMessage()

func (*UpdateScheduleReq) ProtoReflect

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

func (*UpdateScheduleReq) Reset

func (x *UpdateScheduleReq) Reset()

func (*UpdateScheduleReq) Size

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

func (*UpdateScheduleReq) String

func (x *UpdateScheduleReq) String() string

type UpdateScheduleResp

type UpdateScheduleResp 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"`
	Schedule *Schedule `protobuf:"bytes,3,opt,name=schedule,proto3" json:"schedule,omitempty"`
	// contains filtered or unexported fields
}

更新日程响应

func (*UpdateScheduleResp) Descriptor deprecated

func (*UpdateScheduleResp) Descriptor() ([]byte, []int)

Deprecated: Use UpdateScheduleResp.ProtoReflect.Descriptor instead.

func (*UpdateScheduleResp) FastRead

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

func (*UpdateScheduleResp) FastWrite

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

func (*UpdateScheduleResp) GetCode

func (x *UpdateScheduleResp) GetCode() int64

func (*UpdateScheduleResp) GetMsg

func (x *UpdateScheduleResp) GetMsg() string

func (*UpdateScheduleResp) GetSchedule

func (x *UpdateScheduleResp) GetSchedule() *Schedule

func (*UpdateScheduleResp) ProtoMessage

func (*UpdateScheduleResp) ProtoMessage()

func (*UpdateScheduleResp) ProtoReflect

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

func (*UpdateScheduleResp) Reset

func (x *UpdateScheduleResp) Reset()

func (*UpdateScheduleResp) Size

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

func (*UpdateScheduleResp) String

func (x *UpdateScheduleResp) 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