Documentation ¶
Index ¶
- Variables
- type CoreApi
- type CreateScheduleFromOriginReq
- func (*CreateScheduleFromOriginReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateScheduleFromOriginReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *CreateScheduleFromOriginReq) FastWrite(buf []byte) (offset int)
- func (x *CreateScheduleFromOriginReq) GetOrigin() string
- func (*CreateScheduleFromOriginReq) ProtoMessage()
- func (x *CreateScheduleFromOriginReq) ProtoReflect() protoreflect.Message
- func (x *CreateScheduleFromOriginReq) Reset()
- func (x *CreateScheduleFromOriginReq) Size() (n int)
- func (x *CreateScheduleFromOriginReq) String() string
- type CreateScheduleFromOriginResp
- func (*CreateScheduleFromOriginResp) Descriptor() ([]byte, []int)deprecated
- func (x *CreateScheduleFromOriginResp) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *CreateScheduleFromOriginResp) FastWrite(buf []byte) (offset int)
- func (x *CreateScheduleFromOriginResp) GetCode() int64
- func (x *CreateScheduleFromOriginResp) GetMsg() string
- func (x *CreateScheduleFromOriginResp) GetSchedules() []*Schedule
- func (*CreateScheduleFromOriginResp) ProtoMessage()
- func (x *CreateScheduleFromOriginResp) ProtoReflect() protoreflect.Message
- func (x *CreateScheduleFromOriginResp) Reset()
- func (x *CreateScheduleFromOriginResp) Size() (n int)
- func (x *CreateScheduleFromOriginResp) String() string
- type CreateScheduleReq
- func (*CreateScheduleReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateScheduleReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *CreateScheduleReq) FastWrite(buf []byte) (offset int)
- func (x *CreateScheduleReq) GetDdl() int64
- func (x *CreateScheduleReq) GetDescription() string
- func (x *CreateScheduleReq) GetGroup() string
- func (x *CreateScheduleReq) GetPriority() int64
- func (x *CreateScheduleReq) GetProgress() int64
- func (x *CreateScheduleReq) GetTitle() string
- func (x *CreateScheduleReq) GetTop() int64
- func (*CreateScheduleReq) ProtoMessage()
- func (x *CreateScheduleReq) ProtoReflect() protoreflect.Message
- func (x *CreateScheduleReq) Reset()
- func (x *CreateScheduleReq) Size() (n int)
- func (x *CreateScheduleReq) String() string
- type CreateScheduleResp
- func (*CreateScheduleResp) Descriptor() ([]byte, []int)deprecated
- func (x *CreateScheduleResp) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *CreateScheduleResp) FastWrite(buf []byte) (offset int)
- func (x *CreateScheduleResp) GetCode() int64
- func (x *CreateScheduleResp) GetMsg() string
- func (x *CreateScheduleResp) GetSchedule() *Schedule
- func (*CreateScheduleResp) ProtoMessage()
- func (x *CreateScheduleResp) ProtoReflect() protoreflect.Message
- func (x *CreateScheduleResp) Reset()
- func (x *CreateScheduleResp) Size() (n int)
- func (x *CreateScheduleResp) String() string
- type CreateSchedulesReq
- func (*CreateSchedulesReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSchedulesReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *CreateSchedulesReq) FastWrite(buf []byte) (offset int)
- func (x *CreateSchedulesReq) GetSchedules() []*Schedule
- func (*CreateSchedulesReq) ProtoMessage()
- func (x *CreateSchedulesReq) ProtoReflect() protoreflect.Message
- func (x *CreateSchedulesReq) Reset()
- func (x *CreateSchedulesReq) Size() (n int)
- func (x *CreateSchedulesReq) String() string
- type CreateSchedulesResp
- func (*CreateSchedulesResp) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSchedulesResp) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *CreateSchedulesResp) FastWrite(buf []byte) (offset int)
- func (x *CreateSchedulesResp) GetCode() int64
- func (x *CreateSchedulesResp) GetMsg() string
- func (*CreateSchedulesResp) ProtoMessage()
- func (x *CreateSchedulesResp) ProtoReflect() protoreflect.Message
- func (x *CreateSchedulesResp) Reset()
- func (x *CreateSchedulesResp) Size() (n int)
- func (x *CreateSchedulesResp) String() string
- type GetSchedulesReq
- func (*GetSchedulesReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetSchedulesReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *GetSchedulesReq) FastWrite(buf []byte) (offset int)
- func (x *GetSchedulesReq) GetPaginationOptions() *basic.PaginationOptions
- func (*GetSchedulesReq) ProtoMessage()
- func (x *GetSchedulesReq) ProtoReflect() protoreflect.Message
- func (x *GetSchedulesReq) Reset()
- func (x *GetSchedulesReq) Size() (n int)
- func (x *GetSchedulesReq) String() string
- type GetSchedulesResp
- func (*GetSchedulesResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetSchedulesResp) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *GetSchedulesResp) FastWrite(buf []byte) (offset int)
- func (x *GetSchedulesResp) GetSchedules() []*Schedule
- func (x *GetSchedulesResp) GetTotal() int64
- func (*GetSchedulesResp) ProtoMessage()
- func (x *GetSchedulesResp) ProtoReflect() protoreflect.Message
- func (x *GetSchedulesResp) Reset()
- func (x *GetSchedulesResp) Size() (n int)
- func (x *GetSchedulesResp) String() string
- type Schedule
- func (*Schedule) Descriptor() ([]byte, []int)deprecated
- func (x *Schedule) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *Schedule) FastWrite(buf []byte) (offset int)
- func (x *Schedule) GetCreateTime() int64
- func (x *Schedule) GetDdl() int64
- func (x *Schedule) GetDescription() string
- func (x *Schedule) GetDone() int64
- func (x *Schedule) GetGroup() string
- func (x *Schedule) GetId() string
- func (x *Schedule) GetOrigin() string
- func (x *Schedule) GetPriority() int64
- func (x *Schedule) GetProgress() int64
- func (x *Schedule) GetTitle() string
- func (x *Schedule) GetTop() int64
- func (x *Schedule) GetUpdateTime() int64
- func (x *Schedule) GetUserId() string
- func (*Schedule) ProtoMessage()
- func (x *Schedule) ProtoReflect() protoreflect.Message
- func (x *Schedule) Reset()
- func (x *Schedule) Size() (n int)
- func (x *Schedule) 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 SendVerifyCodeResp
- func (*SendVerifyCodeResp) Descriptor() ([]byte, []int)deprecated
- func (x *SendVerifyCodeResp) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *SendVerifyCodeResp) FastWrite(buf []byte) (offset int)
- func (x *SendVerifyCodeResp) GetCode() int64
- func (x *SendVerifyCodeResp) GetMsg() string
- func (*SendVerifyCodeResp) ProtoMessage()
- func (x *SendVerifyCodeResp) ProtoReflect() protoreflect.Message
- func (x *SendVerifyCodeResp) Reset()
- func (x *SendVerifyCodeResp) Size() (n int)
- func (x *SendVerifyCodeResp) String() string
- 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 (*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) 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 (*SignUpResp) ProtoMessage()
- func (x *SignUpResp) ProtoReflect() protoreflect.Message
- func (x *SignUpResp) Reset()
- func (x *SignUpResp) Size() (n int)
- func (x *SignUpResp) String() string
- type UpdateScheduleReq
- func (*UpdateScheduleReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateScheduleReq) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *UpdateScheduleReq) FastWrite(buf []byte) (offset int)
- func (x *UpdateScheduleReq) GetSchedule() *Schedule
- func (*UpdateScheduleReq) ProtoMessage()
- func (x *UpdateScheduleReq) ProtoReflect() protoreflect.Message
- func (x *UpdateScheduleReq) Reset()
- func (x *UpdateScheduleReq) Size() (n int)
- func (x *UpdateScheduleReq) String() string
- type UpdateScheduleResp
- func (*UpdateScheduleResp) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateScheduleResp) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *UpdateScheduleResp) FastWrite(buf []byte) (offset int)
- func (x *UpdateScheduleResp) GetCode() int64
- func (x *UpdateScheduleResp) GetMsg() string
- func (x *UpdateScheduleResp) GetSchedule() *Schedule
- func (*UpdateScheduleResp) ProtoMessage()
- func (x *UpdateScheduleResp) ProtoReflect() protoreflect.Message
- func (x *UpdateScheduleResp) Reset()
- func (x *UpdateScheduleResp) Size() (n int)
- func (x *UpdateScheduleResp) String() string
Constants ¶
This section is empty.
Variables ¶
var File_schedule_core_api_common_proto protoreflect.FileDescriptor
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) 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 (x *CreateScheduleFromOriginReq) ProtoReflect() protoreflect.Message
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) FastWrite ¶
func (x *CreateScheduleFromOriginResp) FastWrite(buf []byte) (offset int)
func (*CreateScheduleFromOriginResp) GetCode ¶
func (x *CreateScheduleFromOriginResp) GetCode() int64
func (*CreateScheduleFromOriginResp) GetMsg ¶
func (x *CreateScheduleFromOriginResp) GetMsg() string
func (*CreateScheduleFromOriginResp) GetSchedules ¶
func (x *CreateScheduleFromOriginResp) GetSchedules() []*Schedule
func (*CreateScheduleFromOriginResp) ProtoMessage ¶
func (*CreateScheduleFromOriginResp) ProtoMessage()
func (*CreateScheduleFromOriginResp) ProtoReflect ¶
func (x *CreateScheduleFromOriginResp) ProtoReflect() protoreflect.Message
func (*CreateScheduleFromOriginResp) Reset ¶
func (x *CreateScheduleFromOriginResp) Reset()
func (*CreateScheduleFromOriginResp) Size ¶
func (x *CreateScheduleFromOriginResp) Size() (n int)
func (*CreateScheduleFromOriginResp) String ¶
func (x *CreateScheduleFromOriginResp) String() 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) 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) 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) 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) 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) 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) 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) GetCreateTime ¶
func (*Schedule) GetDescription ¶
func (*Schedule) GetPriority ¶
func (*Schedule) GetProgress ¶
func (*Schedule) GetUpdateTime ¶
func (*Schedule) ProtoMessage ¶
func (*Schedule) ProtoMessage()
func (*Schedule) ProtoReflect ¶
func (x *Schedule) 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 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) 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) 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"` // 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) 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) 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"` // 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) 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) 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) 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