Documentation ¶
Overview ¶
Package pb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package pb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package pb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package pb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package pb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package pb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package pb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterChapterServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterChapterServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ChapterServiceClient) error
- func RegisterChapterServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterChapterServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ChapterServiceServer) error
- func RegisterChapterServiceServer(s *grpc.Server, srv ChapterServiceServer)
- func RegisterClassStructServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterClassStructServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ClassStructServiceClient) error
- func RegisterClassStructServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterClassStructServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ClassStructServiceServer) error
- func RegisterClassStructServiceServer(s *grpc.Server, srv ClassStructServiceServer)
- func RegisterCollectingDataServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterCollectingDataServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CollectingDataServiceClient) error
- func RegisterCollectingDataServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterCollectingDataServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CollectingDataServiceServer) error
- func RegisterCollectingDataServiceServer(s *grpc.Server, srv CollectingDataServiceServer)
- func RegisterCourseServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterCourseServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CourseServiceClient) error
- func RegisterCourseServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterCourseServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CourseServiceServer) error
- func RegisterCourseServiceServer(s *grpc.Server, srv CourseServiceServer)
- func RegisterKnowledgePointServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterKnowledgePointServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client KnowledgePointServiceClient) error
- func RegisterKnowledgePointServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterKnowledgePointServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server KnowledgePointServiceServer) error
- func RegisterKnowledgePointServiceServer(s *grpc.Server, srv KnowledgePointServiceServer)
- func RegisterQuestionServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQuestionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QuestionServiceClient) error
- func RegisterQuestionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQuestionServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QuestionServiceServer) error
- func RegisterQuestionServiceServer(s *grpc.Server, srv QuestionServiceServer)
- func RegisterUserServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterUserServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserServiceClient) error
- func RegisterUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterUserServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServiceServer) error
- func RegisterUserServiceServer(s *grpc.Server, srv UserServiceServer)
- type AddClassStudentsRequest
- func (*AddClassStudentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddClassStudentsRequest) GetClassUUID() string
- func (x *AddClassStudentsRequest) GetStudents() []*StudentBasicInfo
- func (*AddClassStudentsRequest) ProtoMessage()
- func (x *AddClassStudentsRequest) ProtoReflect() protoreflect.Message
- func (x *AddClassStudentsRequest) Reset()
- func (x *AddClassStudentsRequest) String() string
- type AddClassStudentsResponse
- func (*AddClassStudentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddClassStudentsResponse) GetStatus() *ResponseStatus
- func (*AddClassStudentsResponse) ProtoMessage()
- func (x *AddClassStudentsResponse) ProtoReflect() protoreflect.Message
- func (x *AddClassStudentsResponse) Reset()
- func (x *AddClassStudentsResponse) String() string
- type Answer
- func (*Answer) Descriptor() ([]byte, []int)deprecated
- func (x *Answer) GetEndTime() uint32
- func (x *Answer) GetIsA() bool
- func (x *Answer) GetIsB() bool
- func (x *Answer) GetIsC() bool
- func (x *Answer) GetIsD() bool
- func (x *Answer) GetIsE() bool
- func (x *Answer) GetIsF() bool
- func (x *Answer) GetIsG() bool
- func (x *Answer) GetIsH() bool
- func (x *Answer) GetIsTrue() bool
- func (x *Answer) GetQuestionUUID() string
- func (x *Answer) GetStartTime() uint32
- func (*Answer) ProtoMessage()
- func (x *Answer) ProtoReflect() protoreflect.Message
- func (x *Answer) Reset()
- func (x *Answer) String() string
- type AnswerQuestionRequest
- func (*AnswerQuestionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AnswerQuestionRequest) GetEndTime() uint32
- func (x *AnswerQuestionRequest) GetIsA() bool
- func (x *AnswerQuestionRequest) GetIsB() bool
- func (x *AnswerQuestionRequest) GetIsC() bool
- func (x *AnswerQuestionRequest) GetIsD() bool
- func (x *AnswerQuestionRequest) GetIsE() bool
- func (x *AnswerQuestionRequest) GetIsF() bool
- func (x *AnswerQuestionRequest) GetIsG() bool
- func (x *AnswerQuestionRequest) GetIsH() bool
- func (x *AnswerQuestionRequest) GetIsTrue() bool
- func (x *AnswerQuestionRequest) GetQuestionUUID() string
- func (x *AnswerQuestionRequest) GetStartTime() uint32
- func (*AnswerQuestionRequest) ProtoMessage()
- func (x *AnswerQuestionRequest) ProtoReflect() protoreflect.Message
- func (x *AnswerQuestionRequest) Reset()
- func (x *AnswerQuestionRequest) String() string
- type AnswerQuestionResponse
- func (*AnswerQuestionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AnswerQuestionResponse) GetStatus() *ResponseStatus
- func (*AnswerQuestionResponse) ProtoMessage()
- func (x *AnswerQuestionResponse) ProtoReflect() protoreflect.Message
- func (x *AnswerQuestionResponse) Reset()
- func (x *AnswerQuestionResponse) String() string
- type ChapterBasicInfo
- func (*ChapterBasicInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ChapterBasicInfo) GetDescription() string
- func (x *ChapterBasicInfo) GetIndex() uint32
- func (x *ChapterBasicInfo) GetName() string
- func (x *ChapterBasicInfo) GetUUID() string
- func (*ChapterBasicInfo) ProtoMessage()
- func (x *ChapterBasicInfo) ProtoReflect() protoreflect.Message
- func (x *ChapterBasicInfo) Reset()
- func (x *ChapterBasicInfo) String() string
- type ChapterServiceClient
- type ChapterServiceServer
- type ClassBasicInfo
- func (*ClassBasicInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ClassBasicInfo) GetCourseUUID() string
- func (x *ClassBasicInfo) GetDescription() string
- func (x *ClassBasicInfo) GetName() string
- func (x *ClassBasicInfo) GetUUID() string
- func (*ClassBasicInfo) ProtoMessage()
- func (x *ClassBasicInfo) ProtoReflect() protoreflect.Message
- func (x *ClassBasicInfo) Reset()
- func (x *ClassBasicInfo) String() string
- type ClassStructServiceClient
- type ClassStructServiceServer
- type CollectingDataServiceClient
- type CollectingDataServiceServer
- type ContentReading
- func (*ContentReading) Descriptor() ([]byte, []int)deprecated
- func (x *ContentReading) GetChapterUUID() string
- func (x *ContentReading) GetEndTime() uint32
- func (x *ContentReading) GetStartTime() uint32
- func (*ContentReading) ProtoMessage()
- func (x *ContentReading) ProtoReflect() protoreflect.Message
- func (x *ContentReading) Reset()
- func (x *ContentReading) String() string
- type CourseServiceClient
- type CourseServiceServer
- type CreateChapterRequest
- func (*CreateChapterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateChapterRequest) GetCourseUUID() string
- func (x *CreateChapterRequest) GetDescription() string
- func (x *CreateChapterRequest) GetIndex() uint32
- func (x *CreateChapterRequest) GetName() string
- func (*CreateChapterRequest) ProtoMessage()
- func (x *CreateChapterRequest) ProtoReflect() protoreflect.Message
- func (x *CreateChapterRequest) Reset()
- func (x *CreateChapterRequest) String() string
- type CreateChapterResponse
- func (*CreateChapterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateChapterResponse) GetChapterUUID() string
- func (x *CreateChapterResponse) GetStatus() *ResponseStatus
- func (*CreateChapterResponse) ProtoMessage()
- func (x *CreateChapterResponse) ProtoReflect() protoreflect.Message
- func (x *CreateChapterResponse) Reset()
- func (x *CreateChapterResponse) String() string
- type CreateClassRequest
- func (*CreateClassRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateClassRequest) GetCourseUUID() string
- func (x *CreateClassRequest) GetDescription() string
- func (x *CreateClassRequest) GetManagerID() uint32
- func (x *CreateClassRequest) GetName() string
- func (*CreateClassRequest) ProtoMessage()
- func (x *CreateClassRequest) ProtoReflect() protoreflect.Message
- func (x *CreateClassRequest) Reset()
- func (x *CreateClassRequest) String() string
- type CreateClassResponse
- func (*CreateClassResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateClassResponse) GetStatus() *ResponseStatus
- func (x *CreateClassResponse) GetUUID() string
- func (*CreateClassResponse) ProtoMessage()
- func (x *CreateClassResponse) ProtoReflect() protoreflect.Message
- func (x *CreateClassResponse) Reset()
- func (x *CreateClassResponse) String() string
- type CreateCourseRequest
- func (*CreateCourseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCourseRequest) GetDescription() string
- func (x *CreateCourseRequest) GetManagerID() uint32
- func (x *CreateCourseRequest) GetName() string
- func (*CreateCourseRequest) ProtoMessage()
- func (x *CreateCourseRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCourseRequest) Reset()
- func (x *CreateCourseRequest) String() string
- type CreateCourseResponse
- func (*CreateCourseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCourseResponse) GetStatus() *ResponseStatus
- func (x *CreateCourseResponse) GetUUID() string
- func (*CreateCourseResponse) ProtoMessage()
- func (x *CreateCourseResponse) ProtoReflect() protoreflect.Message
- func (x *CreateCourseResponse) Reset()
- func (x *CreateCourseResponse) String() string
- type CreateKnowledgePointRequest
- func (*CreateKnowledgePointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateKnowledgePointRequest) GetChapterUUID() string
- func (x *CreateKnowledgePointRequest) GetName() string
- func (*CreateKnowledgePointRequest) ProtoMessage()
- func (x *CreateKnowledgePointRequest) ProtoReflect() protoreflect.Message
- func (x *CreateKnowledgePointRequest) Reset()
- func (x *CreateKnowledgePointRequest) String() string
- type CreateKnowledgePointResponse
- func (*CreateKnowledgePointResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateKnowledgePointResponse) GetStatus() *ResponseStatus
- func (x *CreateKnowledgePointResponse) GetUUID() string
- func (*CreateKnowledgePointResponse) ProtoMessage()
- func (x *CreateKnowledgePointResponse) ProtoReflect() protoreflect.Message
- func (x *CreateKnowledgePointResponse) Reset()
- func (x *CreateKnowledgePointResponse) String() string
- type CreateQuestionRequest
- func (*CreateQuestionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateQuestionRequest) GetAnalysis() string
- func (x *CreateQuestionRequest) GetAnswerA() string
- func (x *CreateQuestionRequest) GetAnswerB() string
- func (x *CreateQuestionRequest) GetAnswerC() string
- func (x *CreateQuestionRequest) GetAnswerD() string
- func (x *CreateQuestionRequest) GetAnswerE() string
- func (x *CreateQuestionRequest) GetAnswerF() string
- func (x *CreateQuestionRequest) GetAnswerG() string
- func (x *CreateQuestionRequest) GetAnswerH() string
- func (x *CreateQuestionRequest) GetChapterUUID() string
- func (x *CreateQuestionRequest) GetIsA() bool
- func (x *CreateQuestionRequest) GetIsB() bool
- func (x *CreateQuestionRequest) GetIsC() bool
- func (x *CreateQuestionRequest) GetIsD() bool
- func (x *CreateQuestionRequest) GetIsE() bool
- func (x *CreateQuestionRequest) GetIsExamQuestion() bool
- func (x *CreateQuestionRequest) GetIsF() bool
- func (x *CreateQuestionRequest) GetIsG() bool
- func (x *CreateQuestionRequest) GetIsH() bool
- func (x *CreateQuestionRequest) GetIsTrue() bool
- func (x *CreateQuestionRequest) GetKnowledgePointUUIDs() []string
- func (x *CreateQuestionRequest) GetLevel() QuestionLevel
- func (x *CreateQuestionRequest) GetQuestion() string
- func (x *CreateQuestionRequest) GetType() QuestionType
- func (*CreateQuestionRequest) ProtoMessage()
- func (x *CreateQuestionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateQuestionRequest) Reset()
- func (x *CreateQuestionRequest) String() string
- type CreateQuestionResponse
- func (*CreateQuestionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateQuestionResponse) GetStatus() *ResponseStatus
- func (x *CreateQuestionResponse) GetUUID() string
- func (*CreateQuestionResponse) ProtoMessage()
- func (x *CreateQuestionResponse) ProtoReflect() protoreflect.Message
- func (x *CreateQuestionResponse) Reset()
- func (x *CreateQuestionResponse) String() string
- type DeleteChapterRequest
- func (*DeleteChapterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteChapterRequest) GetUUID() string
- func (*DeleteChapterRequest) ProtoMessage()
- func (x *DeleteChapterRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteChapterRequest) Reset()
- func (x *DeleteChapterRequest) String() string
- type DeleteChapterResponse
- func (*DeleteChapterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteChapterResponse) GetStatus() *ResponseStatus
- func (*DeleteChapterResponse) ProtoMessage()
- func (x *DeleteChapterResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteChapterResponse) Reset()
- func (x *DeleteChapterResponse) String() string
- type DeleteClassRequest
- func (*DeleteClassRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteClassRequest) GetUUID() string
- func (*DeleteClassRequest) ProtoMessage()
- func (x *DeleteClassRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteClassRequest) Reset()
- func (x *DeleteClassRequest) String() string
- type DeleteClassResponse
- func (*DeleteClassResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteClassResponse) GetStatus() *ResponseStatus
- func (*DeleteClassResponse) ProtoMessage()
- func (x *DeleteClassResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteClassResponse) Reset()
- func (x *DeleteClassResponse) String() string
- type DeleteCourseRequest
- func (*DeleteCourseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCourseRequest) GetUUID() string
- func (*DeleteCourseRequest) ProtoMessage()
- func (x *DeleteCourseRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteCourseRequest) Reset()
- func (x *DeleteCourseRequest) String() string
- type DeleteCourseResponse
- func (*DeleteCourseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCourseResponse) GetStatus() *ResponseStatus
- func (*DeleteCourseResponse) ProtoMessage()
- func (x *DeleteCourseResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteCourseResponse) Reset()
- func (x *DeleteCourseResponse) String() string
- type DeleteKnowledgePointRequest
- func (*DeleteKnowledgePointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteKnowledgePointRequest) GetUUID() string
- func (*DeleteKnowledgePointRequest) ProtoMessage()
- func (x *DeleteKnowledgePointRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteKnowledgePointRequest) Reset()
- func (x *DeleteKnowledgePointRequest) String() string
- type DeleteKnowledgePointResponse
- func (*DeleteKnowledgePointResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteKnowledgePointResponse) GetStatus() *ResponseStatus
- func (*DeleteKnowledgePointResponse) ProtoMessage()
- func (x *DeleteKnowledgePointResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteKnowledgePointResponse) Reset()
- func (x *DeleteKnowledgePointResponse) String() string
- type DeleteQuestionRequest
- func (*DeleteQuestionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteQuestionRequest) GetUUID() string
- func (*DeleteQuestionRequest) ProtoMessage()
- func (x *DeleteQuestionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteQuestionRequest) Reset()
- func (x *DeleteQuestionRequest) String() string
- type DeleteQuestionResponse
- func (*DeleteQuestionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteQuestionResponse) GetStatus() *ResponseStatus
- func (*DeleteQuestionResponse) ProtoMessage()
- func (x *DeleteQuestionResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteQuestionResponse) Reset()
- func (x *DeleteQuestionResponse) String() string
- type DeleteUserRequest
- type DeleteUserResponse
- func (*DeleteUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserResponse) GetStatus() *ResponseStatus
- func (*DeleteUserResponse) ProtoMessage()
- func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteUserResponse) Reset()
- func (x *DeleteUserResponse) String() string
- type Empty
- type GetChapterRequest
- type GetChapterResponse
- func (*GetChapterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetChapterResponse) GetContent() string
- func (x *GetChapterResponse) GetDescription() string
- func (x *GetChapterResponse) GetIndex() uint32
- func (x *GetChapterResponse) GetName() string
- func (x *GetChapterResponse) GetStatus() *ResponseStatus
- func (x *GetChapterResponse) GetUUID() string
- func (*GetChapterResponse) ProtoMessage()
- func (x *GetChapterResponse) ProtoReflect() protoreflect.Message
- func (x *GetChapterResponse) Reset()
- func (x *GetChapterResponse) String() string
- type GetCourseRequest
- type GetCourseResponse
- func (*GetCourseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCourseResponse) GetChapters() []*ChapterBasicInfo
- func (x *GetCourseResponse) GetDescription() string
- func (x *GetCourseResponse) GetName() string
- func (x *GetCourseResponse) GetStatus() *ResponseStatus
- func (x *GetCourseResponse) GetUUID() string
- func (*GetCourseResponse) ProtoMessage()
- func (x *GetCourseResponse) ProtoReflect() protoreflect.Message
- func (x *GetCourseResponse) Reset()
- func (x *GetCourseResponse) String() string
- type GetQuestionsFullInfoRequest
- func (*GetQuestionsFullInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetQuestionsFullInfoRequest) GetQuestionUUIDs() []string
- func (*GetQuestionsFullInfoRequest) ProtoMessage()
- func (x *GetQuestionsFullInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetQuestionsFullInfoRequest) Reset()
- func (x *GetQuestionsFullInfoRequest) String() string
- type GetQuestionsFullInfoResponse
- func (*GetQuestionsFullInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetQuestionsFullInfoResponse) GetQuestions() []*QuestionFullInfo
- func (x *GetQuestionsFullInfoResponse) GetStatus() *ResponseStatus
- func (*GetQuestionsFullInfoResponse) ProtoMessage()
- func (x *GetQuestionsFullInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetQuestionsFullInfoResponse) Reset()
- func (x *GetQuestionsFullInfoResponse) String() string
- type GetQuestionsRequest
- func (*GetQuestionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetQuestionsRequest) GetQuestionUUIDs() []string
- func (*GetQuestionsRequest) ProtoMessage()
- func (x *GetQuestionsRequest) ProtoReflect() protoreflect.Message
- func (x *GetQuestionsRequest) Reset()
- func (x *GetQuestionsRequest) String() string
- type GetQuestionsResponse
- func (*GetQuestionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetQuestionsResponse) GetQuestions() []*QuestionBasicInfo
- func (x *GetQuestionsResponse) GetStatus() *ResponseStatus
- func (*GetQuestionsResponse) ProtoMessage()
- func (x *GetQuestionsResponse) ProtoReflect() protoreflect.Message
- func (x *GetQuestionsResponse) Reset()
- func (x *GetQuestionsResponse) String() string
- type KnowledgePointBasicInfo
- func (*KnowledgePointBasicInfo) Descriptor() ([]byte, []int)deprecated
- func (x *KnowledgePointBasicInfo) GetName() string
- func (x *KnowledgePointBasicInfo) GetUUID() string
- func (*KnowledgePointBasicInfo) ProtoMessage()
- func (x *KnowledgePointBasicInfo) ProtoReflect() protoreflect.Message
- func (x *KnowledgePointBasicInfo) Reset()
- func (x *KnowledgePointBasicInfo) String() string
- type KnowledgePointFullInfo
- func (*KnowledgePointFullInfo) Descriptor() ([]byte, []int)deprecated
- func (x *KnowledgePointFullInfo) GetChapterUUID() string
- func (x *KnowledgePointFullInfo) GetName() string
- func (x *KnowledgePointFullInfo) GetUUID() string
- func (*KnowledgePointFullInfo) ProtoMessage()
- func (x *KnowledgePointFullInfo) ProtoReflect() protoreflect.Message
- func (x *KnowledgePointFullInfo) Reset()
- func (x *KnowledgePointFullInfo) String() string
- type KnowledgePointServiceClient
- type KnowledgePointServiceServer
- type ListChapterKnowledgePointsRequest
- func (*ListChapterKnowledgePointsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListChapterKnowledgePointsRequest) GetChapterUUID() string
- func (*ListChapterKnowledgePointsRequest) ProtoMessage()
- func (x *ListChapterKnowledgePointsRequest) ProtoReflect() protoreflect.Message
- func (x *ListChapterKnowledgePointsRequest) Reset()
- func (x *ListChapterKnowledgePointsRequest) String() string
- type ListChapterKnowledgePointsResponse
- func (*ListChapterKnowledgePointsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListChapterKnowledgePointsResponse) GetKnowledgePoints() []*KnowledgePointBasicInfo
- func (x *ListChapterKnowledgePointsResponse) GetStatus() *ResponseStatus
- func (*ListChapterKnowledgePointsResponse) ProtoMessage()
- func (x *ListChapterKnowledgePointsResponse) ProtoReflect() protoreflect.Message
- func (x *ListChapterKnowledgePointsResponse) Reset()
- func (x *ListChapterKnowledgePointsResponse) String() string
- type ListChaptersRequest
- func (*ListChaptersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListChaptersRequest) GetCourseUUID() string
- func (*ListChaptersRequest) ProtoMessage()
- func (x *ListChaptersRequest) ProtoReflect() protoreflect.Message
- func (x *ListChaptersRequest) Reset()
- func (x *ListChaptersRequest) String() string
- type ListChaptersResponse
- func (*ListChaptersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListChaptersResponse) GetChapters() []*ChapterBasicInfo
- func (x *ListChaptersResponse) GetStatus() *ResponseStatus
- func (*ListChaptersResponse) ProtoMessage()
- func (x *ListChaptersResponse) ProtoReflect() protoreflect.Message
- func (x *ListChaptersResponse) Reset()
- func (x *ListChaptersResponse) String() string
- type ListClassStudentsRequest
- func (*ListClassStudentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListClassStudentsRequest) GetClassUUID() string
- func (*ListClassStudentsRequest) ProtoMessage()
- func (x *ListClassStudentsRequest) ProtoReflect() protoreflect.Message
- func (x *ListClassStudentsRequest) Reset()
- func (x *ListClassStudentsRequest) String() string
- type ListClassStudentsResponse
- func (*ListClassStudentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListClassStudentsResponse) GetStatus() *ResponseStatus
- func (x *ListClassStudentsResponse) GetStudents() []*StudentBasicInfo
- func (*ListClassStudentsResponse) ProtoMessage()
- func (x *ListClassStudentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListClassStudentsResponse) Reset()
- func (x *ListClassStudentsResponse) String() string
- type ListClassesResponse
- func (*ListClassesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListClassesResponse) GetClasses() []*ClassBasicInfo
- func (x *ListClassesResponse) GetStatus() *ResponseStatus
- func (*ListClassesResponse) ProtoMessage()
- func (x *ListClassesResponse) ProtoReflect() protoreflect.Message
- func (x *ListClassesResponse) Reset()
- func (x *ListClassesResponse) String() string
- type ListCourseClassesRequest
- func (*ListCourseClassesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCourseClassesRequest) GetCourseUUID() string
- func (*ListCourseClassesRequest) ProtoMessage()
- func (x *ListCourseClassesRequest) ProtoReflect() protoreflect.Message
- func (x *ListCourseClassesRequest) Reset()
- func (x *ListCourseClassesRequest) String() string
- type ListCourseClassesResponse
- func (*ListCourseClassesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCourseClassesResponse) GetClasses() []*ClassBasicInfo
- func (x *ListCourseClassesResponse) GetStatus() *ResponseStatus
- func (*ListCourseClassesResponse) ProtoMessage()
- func (x *ListCourseClassesResponse) ProtoReflect() protoreflect.Message
- func (x *ListCourseClassesResponse) Reset()
- func (x *ListCourseClassesResponse) String() string
- type ListCourseKnowledgePointsRequest
- func (*ListCourseKnowledgePointsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCourseKnowledgePointsRequest) GetCourseUUID() string
- func (*ListCourseKnowledgePointsRequest) ProtoMessage()
- func (x *ListCourseKnowledgePointsRequest) ProtoReflect() protoreflect.Message
- func (x *ListCourseKnowledgePointsRequest) Reset()
- func (x *ListCourseKnowledgePointsRequest) String() string
- type ListCourseKnowledgePointsResponse
- func (*ListCourseKnowledgePointsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCourseKnowledgePointsResponse) GetKnowledgePoints() []*KnowledgePointFullInfo
- func (x *ListCourseKnowledgePointsResponse) GetStatus() *ResponseStatus
- func (*ListCourseKnowledgePointsResponse) ProtoMessage()
- func (x *ListCourseKnowledgePointsResponse) ProtoReflect() protoreflect.Message
- func (x *ListCourseKnowledgePointsResponse) Reset()
- func (x *ListCourseKnowledgePointsResponse) String() string
- type ListCoursesResponse
- func (*ListCoursesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCoursesResponse) GetCourses() []*ListCoursesResponse_CourseBasicInfo
- func (x *ListCoursesResponse) GetStatus() *ResponseStatus
- func (*ListCoursesResponse) ProtoMessage()
- func (x *ListCoursesResponse) ProtoReflect() protoreflect.Message
- func (x *ListCoursesResponse) Reset()
- func (x *ListCoursesResponse) String() string
- type ListCoursesResponse_CourseBasicInfo
- func (*ListCoursesResponse_CourseBasicInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ListCoursesResponse_CourseBasicInfo) GetDescription() string
- func (x *ListCoursesResponse_CourseBasicInfo) GetName() string
- func (x *ListCoursesResponse_CourseBasicInfo) GetUUID() string
- func (*ListCoursesResponse_CourseBasicInfo) ProtoMessage()
- func (x *ListCoursesResponse_CourseBasicInfo) ProtoReflect() protoreflect.Message
- func (x *ListCoursesResponse_CourseBasicInfo) Reset()
- func (x *ListCoursesResponse_CourseBasicInfo) String() string
- type ListManagedClassesResponse
- func (*ListManagedClassesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListManagedClassesResponse) GetClasses() []*ClassBasicInfo
- func (x *ListManagedClassesResponse) GetStatus() *ResponseStatus
- func (*ListManagedClassesResponse) ProtoMessage()
- func (x *ListManagedClassesResponse) ProtoReflect() protoreflect.Message
- func (x *ListManagedClassesResponse) Reset()
- func (x *ListManagedClassesResponse) String() string
- type ListQuestionsRequest
- func (*ListQuestionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListQuestionsRequest) GetChapterUUID() string
- func (*ListQuestionsRequest) ProtoMessage()
- func (x *ListQuestionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListQuestionsRequest) Reset()
- func (x *ListQuestionsRequest) String() string
- type ListQuestionsResponse
- func (*ListQuestionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListQuestionsResponse) GetQuestions() []*QuestionMoreInfo
- func (x *ListQuestionsResponse) GetStatus() *ResponseStatus
- func (*ListQuestionsResponse) ProtoMessage()
- func (x *ListQuestionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListQuestionsResponse) Reset()
- func (x *ListQuestionsResponse) String() string
- type ListRecommendedQuestionsResponse
- func (*ListRecommendedQuestionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRecommendedQuestionsResponse) GetQuestions() []*QuestionBasicInfo
- func (x *ListRecommendedQuestionsResponse) GetStatus() *ResponseStatus
- func (*ListRecommendedQuestionsResponse) ProtoMessage()
- func (x *ListRecommendedQuestionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListRecommendedQuestionsResponse) Reset()
- func (x *ListRecommendedQuestionsResponse) String() string
- type ListWrongQuestionAnswersResponse
- func (*ListWrongQuestionAnswersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListWrongQuestionAnswersResponse) GetQuestions() []*QuestionBasicInfoAndAnswer
- func (x *ListWrongQuestionAnswersResponse) GetStatus() *ResponseStatus
- func (*ListWrongQuestionAnswersResponse) ProtoMessage()
- func (x *ListWrongQuestionAnswersResponse) ProtoReflect() protoreflect.Message
- func (x *ListWrongQuestionAnswersResponse) Reset()
- func (x *ListWrongQuestionAnswersResponse) String() string
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetAccountID() uint32
- func (x *LoginRequest) GetPasswordMD5() string
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse) GetStatus() *ResponseStatus
- func (x *LoginResponse) GetToken() string
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (x *LoginResponse) String() string
- type QuestionAnswers
- func (*QuestionAnswers) Descriptor() ([]byte, []int)deprecated
- func (x *QuestionAnswers) GetAnswerA() string
- func (x *QuestionAnswers) GetAnswerB() string
- func (x *QuestionAnswers) GetAnswerC() string
- func (x *QuestionAnswers) GetAnswerD() string
- func (x *QuestionAnswers) GetAnswerE() string
- func (x *QuestionAnswers) GetAnswerF() string
- func (x *QuestionAnswers) GetAnswerG() string
- func (x *QuestionAnswers) GetAnswerH() string
- func (*QuestionAnswers) ProtoMessage()
- func (x *QuestionAnswers) ProtoReflect() protoreflect.Message
- func (x *QuestionAnswers) Reset()
- func (x *QuestionAnswers) String() string
- type QuestionBasicInfo
- func (*QuestionBasicInfo) Descriptor() ([]byte, []int)deprecated
- func (x *QuestionBasicInfo) GetAnalysis() string
- func (x *QuestionBasicInfo) GetAnswers() *QuestionAnswers
- func (x *QuestionBasicInfo) GetOptions() *QuestionOptions
- func (x *QuestionBasicInfo) GetQuestion() string
- func (x *QuestionBasicInfo) GetType() QuestionType
- func (x *QuestionBasicInfo) GetUUID() string
- func (*QuestionBasicInfo) ProtoMessage()
- func (x *QuestionBasicInfo) ProtoReflect() protoreflect.Message
- func (x *QuestionBasicInfo) Reset()
- func (x *QuestionBasicInfo) String() string
- type QuestionBasicInfoAndAnswer
- func (*QuestionBasicInfoAndAnswer) Descriptor() ([]byte, []int)deprecated
- func (x *QuestionBasicInfoAndAnswer) GetAnswers() *QuestionOptions
- func (x *QuestionBasicInfoAndAnswer) GetQuestion() *QuestionBasicInfo
- func (*QuestionBasicInfoAndAnswer) ProtoMessage()
- func (x *QuestionBasicInfoAndAnswer) ProtoReflect() protoreflect.Message
- func (x *QuestionBasicInfoAndAnswer) Reset()
- func (x *QuestionBasicInfoAndAnswer) String() string
- type QuestionFullInfo
- func (*QuestionFullInfo) Descriptor() ([]byte, []int)deprecated
- func (x *QuestionFullInfo) GetAnalysis() string
- func (x *QuestionFullInfo) GetAnswerCount() uint32
- func (x *QuestionFullInfo) GetAnswers() *QuestionAnswers
- func (x *QuestionFullInfo) GetChapterUUID() string
- func (x *QuestionFullInfo) GetCorrectCount() uint32
- func (x *QuestionFullInfo) GetKnowledgePoints() []*KnowledgePointBasicInfo
- func (x *QuestionFullInfo) GetLevel() QuestionLevel
- func (x *QuestionFullInfo) GetOptions() *QuestionOptions
- func (x *QuestionFullInfo) GetQuestion() string
- func (x *QuestionFullInfo) GetType() QuestionType
- func (x *QuestionFullInfo) GetUUID() string
- func (*QuestionFullInfo) ProtoMessage()
- func (x *QuestionFullInfo) ProtoReflect() protoreflect.Message
- func (x *QuestionFullInfo) Reset()
- func (x *QuestionFullInfo) String() string
- type QuestionLevel
- func (QuestionLevel) Descriptor() protoreflect.EnumDescriptor
- func (x QuestionLevel) Enum() *QuestionLevel
- func (QuestionLevel) EnumDescriptor() ([]byte, []int)deprecated
- func (x QuestionLevel) Number() protoreflect.EnumNumber
- func (x QuestionLevel) String() string
- func (QuestionLevel) Type() protoreflect.EnumType
- type QuestionLittleInfo
- func (*QuestionLittleInfo) Descriptor() ([]byte, []int)deprecated
- func (x *QuestionLittleInfo) GetAnswerCount() int32
- func (x *QuestionLittleInfo) GetChapterUUID() string
- func (x *QuestionLittleInfo) GetCorrectCount() int32
- func (x *QuestionLittleInfo) GetKnowledgePoints() []*KnowledgePointBasicInfo
- func (x *QuestionLittleInfo) GetLevel() QuestionLevel
- func (x *QuestionLittleInfo) GetQuestion() string
- func (x *QuestionLittleInfo) GetType() QuestionType
- func (x *QuestionLittleInfo) GetUUID() string
- func (*QuestionLittleInfo) ProtoMessage()
- func (x *QuestionLittleInfo) ProtoReflect() protoreflect.Message
- func (x *QuestionLittleInfo) Reset()
- func (x *QuestionLittleInfo) String() string
- type QuestionMoreInfo
- func (*QuestionMoreInfo) Descriptor() ([]byte, []int)deprecated
- func (x *QuestionMoreInfo) GetAnalysis() string
- func (x *QuestionMoreInfo) GetAnswerCount() uint32
- func (x *QuestionMoreInfo) GetAnswers() *QuestionAnswers
- func (x *QuestionMoreInfo) GetChapterUUID() string
- func (x *QuestionMoreInfo) GetCorrectCount() uint32
- func (x *QuestionMoreInfo) GetLevel() QuestionLevel
- func (x *QuestionMoreInfo) GetOptions() *QuestionOptions
- func (x *QuestionMoreInfo) GetQuestion() string
- func (x *QuestionMoreInfo) GetType() QuestionType
- func (x *QuestionMoreInfo) GetUUID() string
- func (*QuestionMoreInfo) ProtoMessage()
- func (x *QuestionMoreInfo) ProtoReflect() protoreflect.Message
- func (x *QuestionMoreInfo) Reset()
- func (x *QuestionMoreInfo) String() string
- type QuestionOptions
- func (*QuestionOptions) Descriptor() ([]byte, []int)deprecated
- func (x *QuestionOptions) GetIsA() bool
- func (x *QuestionOptions) GetIsB() bool
- func (x *QuestionOptions) GetIsC() bool
- func (x *QuestionOptions) GetIsD() bool
- func (x *QuestionOptions) GetIsE() bool
- func (x *QuestionOptions) GetIsF() bool
- func (x *QuestionOptions) GetIsG() bool
- func (x *QuestionOptions) GetIsH() bool
- func (x *QuestionOptions) GetIsTrue() bool
- func (*QuestionOptions) ProtoMessage()
- func (x *QuestionOptions) ProtoReflect() protoreflect.Message
- func (x *QuestionOptions) Reset()
- func (x *QuestionOptions) String() string
- type QuestionServiceClient
- type QuestionServiceServer
- type QuestionType
- func (QuestionType) Descriptor() protoreflect.EnumDescriptor
- func (x QuestionType) Enum() *QuestionType
- func (QuestionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x QuestionType) Number() protoreflect.EnumNumber
- func (x QuestionType) String() string
- func (QuestionType) Type() protoreflect.EnumType
- type RegisterRequest
- func (*RegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterRequest) GetAccountID() uint32
- func (x *RegisterRequest) GetGender() UserGender
- func (x *RegisterRequest) GetName() string
- func (x *RegisterRequest) GetType() UserType
- func (*RegisterRequest) ProtoMessage()
- func (x *RegisterRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterRequest) Reset()
- func (x *RegisterRequest) String() string
- type RegisterResponse
- type RemoveClassStudentRequest
- func (*RemoveClassStudentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveClassStudentRequest) GetClassUUID() string
- func (x *RemoveClassStudentRequest) GetStudentUUID() string
- func (*RemoveClassStudentRequest) ProtoMessage()
- func (x *RemoveClassStudentRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveClassStudentRequest) Reset()
- func (x *RemoveClassStudentRequest) String() string
- type RemoveClassStudentResponse
- func (*RemoveClassStudentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveClassStudentResponse) GetStatus() *ResponseStatus
- func (*RemoveClassStudentResponse) ProtoMessage()
- func (x *RemoveClassStudentResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveClassStudentResponse) Reset()
- func (x *RemoveClassStudentResponse) String() string
- type ResetPasswordRequest
- func (*ResetPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResetPasswordRequest) GetAccountID() uint32
- func (*ResetPasswordRequest) ProtoMessage()
- func (x *ResetPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *ResetPasswordRequest) Reset()
- func (x *ResetPasswordRequest) String() string
- type ResetPasswordResponse
- func (*ResetPasswordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResetPasswordResponse) GetStatus() *ResponseStatus
- func (*ResetPasswordResponse) ProtoMessage()
- func (x *ResetPasswordResponse) ProtoReflect() protoreflect.Message
- func (x *ResetPasswordResponse) Reset()
- func (x *ResetPasswordResponse) String() string
- type ResponseStatus
- func (*ResponseStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseStatus) GetCode() ResponseStatusCode
- func (x *ResponseStatus) GetError() string
- func (x *ResponseStatus) GetMessage() string
- func (*ResponseStatus) ProtoMessage()
- func (x *ResponseStatus) ProtoReflect() protoreflect.Message
- func (x *ResponseStatus) Reset()
- func (x *ResponseStatus) String() string
- type ResponseStatusCode
- func (ResponseStatusCode) Descriptor() protoreflect.EnumDescriptor
- func (x ResponseStatusCode) Enum() *ResponseStatusCode
- func (ResponseStatusCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResponseStatusCode) Number() protoreflect.EnumNumber
- func (x ResponseStatusCode) String() string
- func (ResponseStatusCode) Type() protoreflect.EnumType
- type SetClassManagerRequest
- func (*SetClassManagerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetClassManagerRequest) GetClassUUID() string
- func (x *SetClassManagerRequest) GetManagerID() uint32
- func (x *SetClassManagerRequest) GetSet() bool
- func (*SetClassManagerRequest) ProtoMessage()
- func (x *SetClassManagerRequest) ProtoReflect() protoreflect.Message
- func (x *SetClassManagerRequest) Reset()
- func (x *SetClassManagerRequest) String() string
- type SetClassManagerResponse
- func (*SetClassManagerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetClassManagerResponse) GetStatus() *ResponseStatus
- func (*SetClassManagerResponse) ProtoMessage()
- func (x *SetClassManagerResponse) ProtoReflect() protoreflect.Message
- func (x *SetClassManagerResponse) Reset()
- func (x *SetClassManagerResponse) String() string
- type SetCourseManagerRequest
- func (*SetCourseManagerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetCourseManagerRequest) GetCourseUUID() string
- func (x *SetCourseManagerRequest) GetManagerID() uint32
- func (x *SetCourseManagerRequest) GetSet() bool
- func (*SetCourseManagerRequest) ProtoMessage()
- func (x *SetCourseManagerRequest) ProtoReflect() protoreflect.Message
- func (x *SetCourseManagerRequest) Reset()
- func (x *SetCourseManagerRequest) String() string
- type SetCourseManagerResponse
- func (*SetCourseManagerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetCourseManagerResponse) GetStatus() *ResponseStatus
- func (*SetCourseManagerResponse) ProtoMessage()
- func (x *SetCourseManagerResponse) ProtoReflect() protoreflect.Message
- func (x *SetCourseManagerResponse) Reset()
- func (x *SetCourseManagerResponse) String() string
- type SetUserAsManagerRequest
- func (*SetUserAsManagerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetUserAsManagerRequest) GetAccountID() uint32
- func (x *SetUserAsManagerRequest) GetSet() bool
- func (*SetUserAsManagerRequest) ProtoMessage()
- func (x *SetUserAsManagerRequest) ProtoReflect() protoreflect.Message
- func (x *SetUserAsManagerRequest) Reset()
- func (x *SetUserAsManagerRequest) String() string
- type SetUserAsManagerResponse
- func (*SetUserAsManagerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetUserAsManagerResponse) GetStatus() *ResponseStatus
- func (*SetUserAsManagerResponse) ProtoMessage()
- func (x *SetUserAsManagerResponse) ProtoReflect() protoreflect.Message
- func (x *SetUserAsManagerResponse) Reset()
- func (x *SetUserAsManagerResponse) String() string
- type StudentBasicInfo
- func (*StudentBasicInfo) Descriptor() ([]byte, []int)deprecated
- func (x *StudentBasicInfo) GetAccountID() uint32
- func (x *StudentBasicInfo) GetGender() UserGender
- func (x *StudentBasicInfo) GetName() string
- func (*StudentBasicInfo) ProtoMessage()
- func (x *StudentBasicInfo) ProtoReflect() protoreflect.Message
- func (x *StudentBasicInfo) Reset()
- func (x *StudentBasicInfo) String() string
- type UnimplementedChapterServiceServer
- func (*UnimplementedChapterServiceServer) CreateChapter(context.Context, *CreateChapterRequest) (*CreateChapterResponse, error)
- func (*UnimplementedChapterServiceServer) DeleteChapter(context.Context, *DeleteChapterRequest) (*DeleteChapterResponse, error)
- func (*UnimplementedChapterServiceServer) GetChapter(context.Context, *GetChapterRequest) (*GetChapterResponse, error)
- func (*UnimplementedChapterServiceServer) ListChapters(context.Context, *ListChaptersRequest) (*ListChaptersResponse, error)
- func (*UnimplementedChapterServiceServer) UpdateChapter(context.Context, *UpdateChapterRequest) (*UpdateChapterResponse, error)
- func (*UnimplementedChapterServiceServer) UpdateChapterContent(context.Context, *UpdateChapterContentRequest) (*UpdateChapterContentResponse, error)
- type UnimplementedClassStructServiceServer
- func (*UnimplementedClassStructServiceServer) AddClassStudents(context.Context, *AddClassStudentsRequest) (*AddClassStudentsResponse, error)
- func (*UnimplementedClassStructServiceServer) CreateClass(context.Context, *CreateClassRequest) (*CreateClassResponse, error)
- func (*UnimplementedClassStructServiceServer) DeleteClass(context.Context, *DeleteClassRequest) (*DeleteClassResponse, error)
- func (*UnimplementedClassStructServiceServer) ListClassStudents(context.Context, *ListClassStudentsRequest) (*ListClassStudentsResponse, error)
- func (*UnimplementedClassStructServiceServer) ListClasses(context.Context, *Empty) (*ListClassesResponse, error)
- func (*UnimplementedClassStructServiceServer) ListCourseClasses(context.Context, *ListCourseClassesRequest) (*ListCourseClassesResponse, error)
- func (*UnimplementedClassStructServiceServer) ListManagedClasses(context.Context, *Empty) (*ListManagedClassesResponse, error)
- func (*UnimplementedClassStructServiceServer) RemoveClassStudent(context.Context, *RemoveClassStudentRequest) (*RemoveClassStudentResponse, error)
- func (*UnimplementedClassStructServiceServer) SetClassManager(context.Context, *SetClassManagerRequest) (*SetClassManagerResponse, error)
- func (*UnimplementedClassStructServiceServer) UpdateClass(context.Context, *UpdateClassRequest) (*UpdateClassResponse, error)
- type UnimplementedCollectingDataServiceServer
- type UnimplementedCourseServiceServer
- func (*UnimplementedCourseServiceServer) CreateCourse(context.Context, *CreateCourseRequest) (*CreateCourseResponse, error)
- func (*UnimplementedCourseServiceServer) DeleteCourse(context.Context, *DeleteCourseRequest) (*DeleteCourseResponse, error)
- func (*UnimplementedCourseServiceServer) GetCourse(context.Context, *GetCourseRequest) (*GetCourseResponse, error)
- func (*UnimplementedCourseServiceServer) ListCourses(context.Context, *Empty) (*ListCoursesResponse, error)
- func (*UnimplementedCourseServiceServer) SetCourseManager(context.Context, *SetCourseManagerRequest) (*SetCourseManagerResponse, error)
- func (*UnimplementedCourseServiceServer) UpdateCourse(context.Context, *UpdateCourseRequest) (*UpdateCourseResponse, error)
- type UnimplementedKnowledgePointServiceServer
- func (*UnimplementedKnowledgePointServiceServer) CreateKnowledgePoint(context.Context, *CreateKnowledgePointRequest) (*CreateKnowledgePointResponse, error)
- func (*UnimplementedKnowledgePointServiceServer) DeleteKnowledgePoint(context.Context, *DeleteKnowledgePointRequest) (*DeleteKnowledgePointResponse, error)
- func (*UnimplementedKnowledgePointServiceServer) ListChapterKnowledgePoints(context.Context, *ListChapterKnowledgePointsRequest) (*ListChapterKnowledgePointsResponse, error)
- func (*UnimplementedKnowledgePointServiceServer) ListCourseKnowledgePoints(context.Context, *ListCourseKnowledgePointsRequest) (*ListCourseKnowledgePointsResponse, error)
- type UnimplementedQuestionServiceServer
- func (*UnimplementedQuestionServiceServer) AnswerQuestion(context.Context, *AnswerQuestionRequest) (*AnswerQuestionResponse, error)
- func (*UnimplementedQuestionServiceServer) CreateQuestion(context.Context, *CreateQuestionRequest) (*CreateQuestionResponse, error)
- func (*UnimplementedQuestionServiceServer) DeleteQuestion(context.Context, *DeleteQuestionRequest) (*DeleteQuestionResponse, error)
- func (*UnimplementedQuestionServiceServer) GetQuestions(context.Context, *GetQuestionsRequest) (*GetQuestionsResponse, error)
- func (*UnimplementedQuestionServiceServer) GetQuestionsFullInfo(context.Context, *GetQuestionsFullInfoRequest) (*GetQuestionsFullInfoResponse, error)
- func (*UnimplementedQuestionServiceServer) ListQuestions(context.Context, *ListQuestionsRequest) (*ListQuestionsResponse, error)
- func (*UnimplementedQuestionServiceServer) ListRecommendedQuestions(context.Context, *Empty) (*ListRecommendedQuestionsResponse, error)
- func (*UnimplementedQuestionServiceServer) ListWrongQuestionAnswers(context.Context, *Empty) (*ListWrongQuestionAnswersResponse, error)
- func (*UnimplementedQuestionServiceServer) UpdateQuestion(context.Context, *UpdateQuestionRequest) (*UpdateQuestionResponse, error)
- type UnimplementedUserServiceServer
- func (*UnimplementedUserServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
- func (*UnimplementedUserServiceServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
- func (*UnimplementedUserServiceServer) Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
- func (*UnimplementedUserServiceServer) ResetPassword(context.Context, *ResetPasswordRequest) (*ResetPasswordResponse, error)
- func (*UnimplementedUserServiceServer) SetUserAsManager(context.Context, *SetUserAsManagerRequest) (*SetUserAsManagerResponse, error)
- func (*UnimplementedUserServiceServer) UpdateInfo(context.Context, *UpdateInfoRequest) (*UpdateInfoResponse, error)
- func (*UnimplementedUserServiceServer) UpdatePassword(context.Context, *UpdatePasswordRequest) (*UpdatePasswordResponse, error)
- type UpdateChapterContentRequest
- func (*UpdateChapterContentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateChapterContentRequest) GetChapterUUID() string
- func (x *UpdateChapterContentRequest) GetContent() string
- func (*UpdateChapterContentRequest) ProtoMessage()
- func (x *UpdateChapterContentRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateChapterContentRequest) Reset()
- func (x *UpdateChapterContentRequest) String() string
- type UpdateChapterContentResponse
- func (*UpdateChapterContentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateChapterContentResponse) GetStatus() *ResponseStatus
- func (*UpdateChapterContentResponse) ProtoMessage()
- func (x *UpdateChapterContentResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateChapterContentResponse) Reset()
- func (x *UpdateChapterContentResponse) String() string
- type UpdateChapterRequest
- func (*UpdateChapterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateChapterRequest) GetDescription() string
- func (x *UpdateChapterRequest) GetIndex() uint32
- func (x *UpdateChapterRequest) GetName() string
- func (x *UpdateChapterRequest) GetUUID() string
- func (*UpdateChapterRequest) ProtoMessage()
- func (x *UpdateChapterRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateChapterRequest) Reset()
- func (x *UpdateChapterRequest) String() string
- type UpdateChapterResponse
- func (*UpdateChapterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateChapterResponse) GetStatus() *ResponseStatus
- func (*UpdateChapterResponse) ProtoMessage()
- func (x *UpdateChapterResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateChapterResponse) Reset()
- func (x *UpdateChapterResponse) String() string
- type UpdateClassRequest
- func (*UpdateClassRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateClassRequest) GetDescription() string
- func (x *UpdateClassRequest) GetName() string
- func (x *UpdateClassRequest) GetUUID() string
- func (*UpdateClassRequest) ProtoMessage()
- func (x *UpdateClassRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateClassRequest) Reset()
- func (x *UpdateClassRequest) String() string
- type UpdateClassResponse
- func (*UpdateClassResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateClassResponse) GetStatus() *ResponseStatus
- func (*UpdateClassResponse) ProtoMessage()
- func (x *UpdateClassResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateClassResponse) Reset()
- func (x *UpdateClassResponse) String() string
- type UpdateCourseRequest
- func (*UpdateCourseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCourseRequest) GetDescription() string
- func (x *UpdateCourseRequest) GetName() string
- func (x *UpdateCourseRequest) GetUUID() string
- func (*UpdateCourseRequest) ProtoMessage()
- func (x *UpdateCourseRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCourseRequest) Reset()
- func (x *UpdateCourseRequest) String() string
- type UpdateCourseResponse
- func (*UpdateCourseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCourseResponse) GetStatus() *ResponseStatus
- func (*UpdateCourseResponse) ProtoMessage()
- func (x *UpdateCourseResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateCourseResponse) Reset()
- func (x *UpdateCourseResponse) String() string
- type UpdateInfoRequest
- func (*UpdateInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateInfoRequest) GetGender() UserGender
- func (x *UpdateInfoRequest) GetName() string
- func (*UpdateInfoRequest) ProtoMessage()
- func (x *UpdateInfoRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateInfoRequest) Reset()
- func (x *UpdateInfoRequest) String() string
- type UpdateInfoResponse
- func (*UpdateInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateInfoResponse) GetNewToken() string
- func (x *UpdateInfoResponse) GetStatus() *ResponseStatus
- func (*UpdateInfoResponse) ProtoMessage()
- func (x *UpdateInfoResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateInfoResponse) Reset()
- func (x *UpdateInfoResponse) String() string
- type UpdatePasswordRequest
- func (*UpdatePasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePasswordRequest) GetNewPasswordMD5() string
- func (x *UpdatePasswordRequest) GetOldPasswordMD5() string
- func (x *UpdatePasswordRequest) GetVerifyNewPasswordMD5() string
- func (*UpdatePasswordRequest) ProtoMessage()
- func (x *UpdatePasswordRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePasswordRequest) Reset()
- func (x *UpdatePasswordRequest) String() string
- type UpdatePasswordResponse
- func (*UpdatePasswordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePasswordResponse) GetStatus() *ResponseStatus
- func (*UpdatePasswordResponse) ProtoMessage()
- func (x *UpdatePasswordResponse) ProtoReflect() protoreflect.Message
- func (x *UpdatePasswordResponse) Reset()
- func (x *UpdatePasswordResponse) String() string
- type UpdateQuestionRequest
- func (*UpdateQuestionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateQuestionRequest) GetAnalysis() string
- func (x *UpdateQuestionRequest) GetAnswerA() string
- func (x *UpdateQuestionRequest) GetAnswerB() string
- func (x *UpdateQuestionRequest) GetAnswerC() string
- func (x *UpdateQuestionRequest) GetAnswerD() string
- func (x *UpdateQuestionRequest) GetAnswerE() string
- func (x *UpdateQuestionRequest) GetAnswerF() string
- func (x *UpdateQuestionRequest) GetAnswerG() string
- func (x *UpdateQuestionRequest) GetAnswerH() string
- func (x *UpdateQuestionRequest) GetIsA() bool
- func (x *UpdateQuestionRequest) GetIsB() bool
- func (x *UpdateQuestionRequest) GetIsC() bool
- func (x *UpdateQuestionRequest) GetIsD() bool
- func (x *UpdateQuestionRequest) GetIsE() bool
- func (x *UpdateQuestionRequest) GetIsExamQuestion() bool
- func (x *UpdateQuestionRequest) GetIsF() bool
- func (x *UpdateQuestionRequest) GetIsG() bool
- func (x *UpdateQuestionRequest) GetIsH() bool
- func (x *UpdateQuestionRequest) GetIsTrue() bool
- func (x *UpdateQuestionRequest) GetKnowledgePointUUIDs() []string
- func (x *UpdateQuestionRequest) GetLevel() QuestionLevel
- func (x *UpdateQuestionRequest) GetQuestion() string
- func (x *UpdateQuestionRequest) GetUUID() string
- func (*UpdateQuestionRequest) ProtoMessage()
- func (x *UpdateQuestionRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateQuestionRequest) Reset()
- func (x *UpdateQuestionRequest) String() string
- type UpdateQuestionResponse
- func (*UpdateQuestionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateQuestionResponse) GetStatus() *ResponseStatus
- func (*UpdateQuestionResponse) ProtoMessage()
- func (x *UpdateQuestionResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateQuestionResponse) Reset()
- func (x *UpdateQuestionResponse) String() string
- type UploadAnswersRequest
- func (*UploadAnswersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadAnswersRequest) GetAnswers() []*Answer
- func (*UploadAnswersRequest) ProtoMessage()
- func (x *UploadAnswersRequest) ProtoReflect() protoreflect.Message
- func (x *UploadAnswersRequest) Reset()
- func (x *UploadAnswersRequest) String() string
- type UploadAnswersResponse
- func (*UploadAnswersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UploadAnswersResponse) GetStatus() *ResponseStatus
- func (*UploadAnswersResponse) ProtoMessage()
- func (x *UploadAnswersResponse) ProtoReflect() protoreflect.Message
- func (x *UploadAnswersResponse) Reset()
- func (x *UploadAnswersResponse) String() string
- type UploadContentReadingsRequest
- func (*UploadContentReadingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadContentReadingsRequest) GetContentReadings() []*ContentReading
- func (*UploadContentReadingsRequest) ProtoMessage()
- func (x *UploadContentReadingsRequest) ProtoReflect() protoreflect.Message
- func (x *UploadContentReadingsRequest) Reset()
- func (x *UploadContentReadingsRequest) String() string
- type UploadContentReadingsResponse
- func (*UploadContentReadingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UploadContentReadingsResponse) GetStatus() *ResponseStatus
- func (*UploadContentReadingsResponse) ProtoMessage()
- func (x *UploadContentReadingsResponse) ProtoReflect() protoreflect.Message
- func (x *UploadContentReadingsResponse) Reset()
- func (x *UploadContentReadingsResponse) String() string
- type UserGender
- type UserServiceClient
- type UserServiceServer
- type UserType
Constants ¶
This section is empty.
Variables ¶
var ( ResponseStatusCode_name = map[int32]string{ 0: "Success", 1: "ServerError", 2: "NotAuth", 3: "FieldTypeError", 4: "OtherError", } ResponseStatusCode_value = map[string]int32{ "Success": 0, "ServerError": 1, "NotAuth": 2, "FieldTypeError": 3, "OtherError": 4, } )
Enum value maps for ResponseStatusCode.
var ( UserGender_name = map[int32]string{ 0: "Other", 1: "Man", 2: "Woman", } UserGender_value = map[string]int32{ "Other": 0, "Man": 1, "Woman": 2, } )
Enum value maps for UserGender.
var ( QuestionLevel_name = map[int32]string{ 0: "Basic", 1: "Normal", 2: "Difficult", 3: "Challenging", } QuestionLevel_value = map[string]int32{ "Basic": 0, "Normal": 1, "Difficult": 2, "Challenging": 3, } )
Enum value maps for QuestionLevel.
var ( QuestionType_name = map[int32]string{ 0: "Single", 1: "Multiple", 2: "Judge", } QuestionType_value = map[string]int32{ "Single": 0, "Multiple": 1, "Judge": 2, } )
Enum value maps for QuestionType.
var ( UserType_name = map[int32]string{ 0: "Undefine", 1: "Root", 2: "Maintainer", 3: "Manager", 4: "Leader", 5: "Teacher", 6: "Undergraduate", 7: "GraduateStudent", 8: "DoctoralStudent", } UserType_value = map[string]int32{ "Undefine": 0, "Root": 1, "Maintainer": 2, "Manager": 3, "Leader": 4, "Teacher": 5, "Undergraduate": 6, "GraduateStudent": 7, "DoctoralStudent": 8, } )
Enum value maps for UserType.
var File_chapterRequest_proto protoreflect.FileDescriptor
var File_chapterResponse_proto protoreflect.FileDescriptor
var File_chapterService_proto protoreflect.FileDescriptor
var File_classRequest_proto protoreflect.FileDescriptor
var File_classResponse_proto protoreflect.FileDescriptor
var File_classService_proto protoreflect.FileDescriptor
var File_collectingDataRequest_proto protoreflect.FileDescriptor
var File_collectingDataResponse_proto protoreflect.FileDescriptor
var File_collectingDataService_proto protoreflect.FileDescriptor
var File_courseRequest_proto protoreflect.FileDescriptor
var File_courseResponse_proto protoreflect.FileDescriptor
var File_courseService_proto protoreflect.FileDescriptor
var File_global_proto protoreflect.FileDescriptor
var File_knowledgePointRequest_proto protoreflect.FileDescriptor
var File_knowledgePointResponse_proto protoreflect.FileDescriptor
var File_knowledgePointService_proto protoreflect.FileDescriptor
var File_questionRequest_proto protoreflect.FileDescriptor
var File_questionResponse_proto protoreflect.FileDescriptor
var File_questionService_proto protoreflect.FileDescriptor
var File_userRequest_proto protoreflect.FileDescriptor
var File_userResponse_proto protoreflect.FileDescriptor
var File_userService_proto protoreflect.FileDescriptor
Functions ¶
func RegisterChapterServiceHandler ¶
func RegisterChapterServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterChapterServiceHandler registers the http handlers for service ChapterService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterChapterServiceHandlerClient ¶
func RegisterChapterServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ChapterServiceClient) error
RegisterChapterServiceHandlerClient registers the http handlers for service ChapterService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ChapterServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ChapterServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ChapterServiceClient" to call the correct interceptors.
func RegisterChapterServiceHandlerFromEndpoint ¶
func RegisterChapterServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterChapterServiceHandlerFromEndpoint is same as RegisterChapterServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterChapterServiceHandlerServer ¶
func RegisterChapterServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ChapterServiceServer) error
RegisterChapterServiceHandlerServer registers the http handlers for service ChapterService to "mux". UnaryRPC :call ChapterServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
func RegisterChapterServiceServer ¶
func RegisterChapterServiceServer(s *grpc.Server, srv ChapterServiceServer)
func RegisterClassStructServiceHandler ¶
func RegisterClassStructServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterClassStructServiceHandler registers the http handlers for service ClassStructService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterClassStructServiceHandlerClient ¶
func RegisterClassStructServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ClassStructServiceClient) error
RegisterClassStructServiceHandlerClient registers the http handlers for service ClassStructService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ClassStructServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ClassStructServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ClassStructServiceClient" to call the correct interceptors.
func RegisterClassStructServiceHandlerFromEndpoint ¶
func RegisterClassStructServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterClassStructServiceHandlerFromEndpoint is same as RegisterClassStructServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterClassStructServiceHandlerServer ¶
func RegisterClassStructServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ClassStructServiceServer) error
RegisterClassStructServiceHandlerServer registers the http handlers for service ClassStructService to "mux". UnaryRPC :call ClassStructServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
func RegisterClassStructServiceServer ¶
func RegisterClassStructServiceServer(s *grpc.Server, srv ClassStructServiceServer)
func RegisterCollectingDataServiceHandler ¶ added in v0.6.8
func RegisterCollectingDataServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterCollectingDataServiceHandler registers the http handlers for service CollectingDataService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterCollectingDataServiceHandlerClient ¶ added in v0.6.8
func RegisterCollectingDataServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CollectingDataServiceClient) error
RegisterCollectingDataServiceHandlerClient registers the http handlers for service CollectingDataService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "CollectingDataServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "CollectingDataServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "CollectingDataServiceClient" to call the correct interceptors.
func RegisterCollectingDataServiceHandlerFromEndpoint ¶ added in v0.6.8
func RegisterCollectingDataServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterCollectingDataServiceHandlerFromEndpoint is same as RegisterCollectingDataServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterCollectingDataServiceHandlerServer ¶ added in v0.6.8
func RegisterCollectingDataServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CollectingDataServiceServer) error
RegisterCollectingDataServiceHandlerServer registers the http handlers for service CollectingDataService to "mux". UnaryRPC :call CollectingDataServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
func RegisterCollectingDataServiceServer ¶ added in v0.6.8
func RegisterCollectingDataServiceServer(s *grpc.Server, srv CollectingDataServiceServer)
func RegisterCourseServiceHandler ¶
func RegisterCourseServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterCourseServiceHandler registers the http handlers for service CourseService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterCourseServiceHandlerClient ¶
func RegisterCourseServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CourseServiceClient) error
RegisterCourseServiceHandlerClient registers the http handlers for service CourseService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "CourseServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "CourseServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "CourseServiceClient" to call the correct interceptors.
func RegisterCourseServiceHandlerFromEndpoint ¶
func RegisterCourseServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterCourseServiceHandlerFromEndpoint is same as RegisterCourseServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterCourseServiceHandlerServer ¶
func RegisterCourseServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CourseServiceServer) error
RegisterCourseServiceHandlerServer registers the http handlers for service CourseService to "mux". UnaryRPC :call CourseServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
func RegisterCourseServiceServer ¶
func RegisterCourseServiceServer(s *grpc.Server, srv CourseServiceServer)
func RegisterKnowledgePointServiceHandler ¶ added in v0.6.8
func RegisterKnowledgePointServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterKnowledgePointServiceHandler registers the http handlers for service KnowledgePointService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterKnowledgePointServiceHandlerClient ¶ added in v0.6.8
func RegisterKnowledgePointServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client KnowledgePointServiceClient) error
RegisterKnowledgePointServiceHandlerClient registers the http handlers for service KnowledgePointService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "KnowledgePointServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "KnowledgePointServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "KnowledgePointServiceClient" to call the correct interceptors.
func RegisterKnowledgePointServiceHandlerFromEndpoint ¶ added in v0.6.8
func RegisterKnowledgePointServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterKnowledgePointServiceHandlerFromEndpoint is same as RegisterKnowledgePointServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterKnowledgePointServiceHandlerServer ¶ added in v0.6.8
func RegisterKnowledgePointServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server KnowledgePointServiceServer) error
RegisterKnowledgePointServiceHandlerServer registers the http handlers for service KnowledgePointService to "mux". UnaryRPC :call KnowledgePointServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
func RegisterKnowledgePointServiceServer ¶ added in v0.6.8
func RegisterKnowledgePointServiceServer(s *grpc.Server, srv KnowledgePointServiceServer)
func RegisterQuestionServiceHandler ¶
func RegisterQuestionServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterQuestionServiceHandler registers the http handlers for service QuestionService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQuestionServiceHandlerClient ¶
func RegisterQuestionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QuestionServiceClient) error
RegisterQuestionServiceHandlerClient registers the http handlers for service QuestionService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QuestionServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QuestionServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QuestionServiceClient" to call the correct interceptors.
func RegisterQuestionServiceHandlerFromEndpoint ¶
func RegisterQuestionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQuestionServiceHandlerFromEndpoint is same as RegisterQuestionServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQuestionServiceHandlerServer ¶
func RegisterQuestionServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QuestionServiceServer) error
RegisterQuestionServiceHandlerServer registers the http handlers for service QuestionService to "mux". UnaryRPC :call QuestionServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
func RegisterQuestionServiceServer ¶
func RegisterQuestionServiceServer(s *grpc.Server, srv QuestionServiceServer)
func RegisterUserServiceHandler ¶ added in v0.7.0
func RegisterUserServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterUserServiceHandler registers the http handlers for service UserService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterUserServiceHandlerClient ¶ added in v0.7.0
func RegisterUserServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserServiceClient) error
RegisterUserServiceHandlerClient registers the http handlers for service UserService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "UserServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "UserServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "UserServiceClient" to call the correct interceptors.
func RegisterUserServiceHandlerFromEndpoint ¶ added in v0.7.0
func RegisterUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterUserServiceHandlerFromEndpoint is same as RegisterUserServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterUserServiceHandlerServer ¶ added in v0.7.0
func RegisterUserServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServiceServer) error
RegisterUserServiceHandlerServer registers the http handlers for service UserService to "mux". UnaryRPC :call UserServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
func RegisterUserServiceServer ¶ added in v0.7.0
func RegisterUserServiceServer(s *grpc.Server, srv UserServiceServer)
Types ¶
type AddClassStudentsRequest ¶ added in v0.7.0
type AddClassStudentsRequest struct { ClassUUID string `protobuf:"bytes,1,opt,name=ClassUUID,proto3" json:"ClassUUID,omitempty"` Students []*StudentBasicInfo `protobuf:"bytes,2,rep,name=Students,proto3" json:"Students,omitempty"` // contains filtered or unexported fields }
func (*AddClassStudentsRequest) Descriptor
deprecated
added in
v0.7.0
func (*AddClassStudentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddClassStudentsRequest.ProtoReflect.Descriptor instead.
func (*AddClassStudentsRequest) GetClassUUID ¶ added in v0.7.0
func (x *AddClassStudentsRequest) GetClassUUID() string
func (*AddClassStudentsRequest) GetStudents ¶ added in v0.7.0
func (x *AddClassStudentsRequest) GetStudents() []*StudentBasicInfo
func (*AddClassStudentsRequest) ProtoMessage ¶ added in v0.7.0
func (*AddClassStudentsRequest) ProtoMessage()
func (*AddClassStudentsRequest) ProtoReflect ¶ added in v0.7.0
func (x *AddClassStudentsRequest) ProtoReflect() protoreflect.Message
func (*AddClassStudentsRequest) Reset ¶ added in v0.7.0
func (x *AddClassStudentsRequest) Reset()
func (*AddClassStudentsRequest) String ¶ added in v0.7.0
func (x *AddClassStudentsRequest) String() string
type AddClassStudentsResponse ¶ added in v0.7.0
type AddClassStudentsResponse struct { Status *ResponseStatus `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*AddClassStudentsResponse) Descriptor
deprecated
added in
v0.7.0
func (*AddClassStudentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddClassStudentsResponse.ProtoReflect.Descriptor instead.
func (*AddClassStudentsResponse) GetStatus ¶ added in v0.7.0
func (x *AddClassStudentsResponse) GetStatus() *ResponseStatus
func (*AddClassStudentsResponse) ProtoMessage ¶ added in v0.7.0
func (*AddClassStudentsResponse) ProtoMessage()
func (*AddClassStudentsResponse) ProtoReflect ¶ added in v0.7.0
func (x *AddClassStudentsResponse) ProtoReflect() protoreflect.Message
func (*AddClassStudentsResponse) Reset ¶ added in v0.7.0
func (x *AddClassStudentsResponse) Reset()
func (*AddClassStudentsResponse) String ¶ added in v0.7.0
func (x *AddClassStudentsResponse) String() string
type Answer ¶ added in v0.6.8
type Answer struct { // 开始时间戳 StartTime uint32 `protobuf:"fixed32,1,opt,name=StartTime,proto3" json:"StartTime,omitempty"` // 结束时间戳 EndTime uint32 `protobuf:"fixed32,2,opt,name=EndTime,proto3" json:"EndTime,omitempty"` // 题目 UUID QuestionUUID string `protobuf:"bytes,3,opt,name=QuestionUUID,proto3" json:"QuestionUUID,omitempty"` // 所写答案是否选中A IsA bool `protobuf:"varint,4,opt,name=IsA,proto3" json:"IsA,omitempty"` // 所写答案是否选中B IsB bool `protobuf:"varint,5,opt,name=IsB,proto3" json:"IsB,omitempty"` // 所写答案是否选中C IsC bool `protobuf:"varint,6,opt,name=IsC,proto3" json:"IsC,omitempty"` // 所写答案是否选中D IsD bool `protobuf:"varint,8,opt,name=IsD,proto3" json:"IsD,omitempty"` // 所写答案是否选中E IsE bool `protobuf:"varint,9,opt,name=IsE,proto3" json:"IsE,omitempty"` // 所写答案是否选中F IsF bool `protobuf:"varint,10,opt,name=IsF,proto3" json:"IsF,omitempty"` // 所写答案是否选中G IsG bool `protobuf:"varint,11,opt,name=IsG,proto3" json:"IsG,omitempty"` // 所写答案是否选中H IsH bool `protobuf:"varint,12,opt,name=IsH,proto3" json:"IsH,omitempty"` // 所写答案是否为正确 IsTrue bool `protobuf:"varint,13,opt,name=IsTrue,proto3" json:"IsTrue,omitempty"` // contains filtered or unexported fields }
func (*Answer) Descriptor
deprecated
added in
v0.6.8
func (*Answer) GetEndTime ¶ added in v0.6.8
func (*Answer) GetQuestionUUID ¶ added in v0.6.8
func (*Answer) GetStartTime ¶ added in v0.6.8
func (*Answer) ProtoMessage ¶ added in v0.6.8
func (*Answer) ProtoMessage()
func (*Answer) ProtoReflect ¶ added in v0.6.8
func (x *Answer) ProtoReflect() protoreflect.Message
type AnswerQuestionRequest ¶ added in v0.7.0
type AnswerQuestionRequest struct { // 开始时间戳 StartTime uint32 `protobuf:"fixed32,1,opt,name=StartTime,proto3" json:"StartTime,omitempty"` // 结束时间戳 EndTime uint32 `protobuf:"fixed32,2,opt,name=EndTime,proto3" json:"EndTime,omitempty"` // 题目 UUID QuestionUUID string `protobuf:"bytes,3,opt,name=QuestionUUID,proto3" json:"QuestionUUID,omitempty"` // 所写答案是否选中A IsA bool `protobuf:"varint,4,opt,name=IsA,proto3" json:"IsA,omitempty"` // 所写答案是否选中B IsB bool `protobuf:"varint,5,opt,name=IsB,proto3" json:"IsB,omitempty"` // 所写答案是否选中C IsC bool `protobuf:"varint,6,opt,name=IsC,proto3" json:"IsC,omitempty"` // 所写答案是否选中D IsD bool `protobuf:"varint,7,opt,name=IsD,proto3" json:"IsD,omitempty"` // 所写答案是否选中E IsE bool `protobuf:"varint,8,opt,name=IsE,proto3" json:"IsE,omitempty"` // 所写答案是否选中F IsF bool `protobuf:"varint,9,opt,name=IsF,proto3" json:"IsF,omitempty"` // 所写答案是否选中G IsG bool `protobuf:"varint,10,opt,name=IsG,proto3" json:"IsG,omitempty"` // 所写答案是否选中H IsH bool `protobuf:"varint,11,opt,name=IsH,proto3" json:"IsH,omitempty"` // 所写答案是否为正确 IsTrue bool `protobuf:"varint,12,opt,name=IsTrue,proto3" json:"IsTrue,omitempty"` // contains filtered or unexported fields }
func (*AnswerQuestionRequest) Descriptor
deprecated
added in
v0.7.0
func (*AnswerQuestionRequest) Descriptor() ([]byte, []int)
Deprecated: Use AnswerQuestionRequest.ProtoReflect.Descriptor instead.
func (*AnswerQuestionRequest) GetEndTime ¶ added in v0.7.0
func (x *AnswerQuestionRequest) GetEndTime() uint32
func (*AnswerQuestionRequest) GetIsA ¶ added in v0.7.0
func (x *AnswerQuestionRequest) GetIsA() bool
func (*AnswerQuestionRequest) GetIsB ¶ added in v0.7.0
func (x *AnswerQuestionRequest) GetIsB() bool
func (*AnswerQuestionRequest) GetIsC ¶ added in v0.7.0
func (x *AnswerQuestionRequest) GetIsC() bool
func (*AnswerQuestionRequest) GetIsD ¶ added in v0.7.0
func (x *AnswerQuestionRequest) GetIsD() bool
func (*AnswerQuestionRequest) GetIsE ¶ added in v0.7.0
func (x *AnswerQuestionRequest) GetIsE() bool
func (*AnswerQuestionRequest) GetIsF ¶ added in v0.7.0
func (x *AnswerQuestionRequest) GetIsF() bool
func (*AnswerQuestionRequest) GetIsG ¶ added in v0.7.0
func (x *AnswerQuestionRequest) GetIsG() bool
func (*AnswerQuestionRequest) GetIsH ¶ added in v0.7.0
func (x *AnswerQuestionRequest) GetIsH() bool
func (*AnswerQuestionRequest) GetIsTrue ¶ added in v0.7.0
func (x *AnswerQuestionRequest) GetIsTrue() bool
func (*AnswerQuestionRequest) GetQuestionUUID ¶ added in v0.7.0
func (x *AnswerQuestionRequest) GetQuestionUUID() string
func (*AnswerQuestionRequest) GetStartTime ¶ added in v0.7.0
func (x *AnswerQuestionRequest) GetStartTime() uint32
func (*AnswerQuestionRequest) ProtoMessage ¶ added in v0.7.0
func (*AnswerQuestionRequest) ProtoMessage()
func (*AnswerQuestionRequest) ProtoReflect ¶ added in v0.7.0
func (x *AnswerQuestionRequest) ProtoReflect() protoreflect.Message
func (*AnswerQuestionRequest) Reset ¶ added in v0.7.0
func (x *AnswerQuestionRequest) Reset()
func (*AnswerQuestionRequest) String ¶ added in v0.7.0
func (x *AnswerQuestionRequest) String() string
type AnswerQuestionResponse ¶ added in v0.7.0
type AnswerQuestionResponse struct { Status *ResponseStatus `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*AnswerQuestionResponse) Descriptor
deprecated
added in
v0.7.0
func (*AnswerQuestionResponse) Descriptor() ([]byte, []int)
Deprecated: Use AnswerQuestionResponse.ProtoReflect.Descriptor instead.
func (*AnswerQuestionResponse) GetStatus ¶ added in v0.7.0
func (x *AnswerQuestionResponse) GetStatus() *ResponseStatus
func (*AnswerQuestionResponse) ProtoMessage ¶ added in v0.7.0
func (*AnswerQuestionResponse) ProtoMessage()
func (*AnswerQuestionResponse) ProtoReflect ¶ added in v0.7.0
func (x *AnswerQuestionResponse) ProtoReflect() protoreflect.Message
func (*AnswerQuestionResponse) Reset ¶ added in v0.7.0
func (x *AnswerQuestionResponse) Reset()
func (*AnswerQuestionResponse) String ¶ added in v0.7.0
func (x *AnswerQuestionResponse) String() string
type ChapterBasicInfo ¶ added in v0.7.0
type ChapterBasicInfo struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"` Index uint32 `protobuf:"varint,4,opt,name=Index,proto3" json:"Index,omitempty"` // contains filtered or unexported fields }
func (*ChapterBasicInfo) Descriptor
deprecated
added in
v0.7.0
func (*ChapterBasicInfo) Descriptor() ([]byte, []int)
Deprecated: Use ChapterBasicInfo.ProtoReflect.Descriptor instead.
func (*ChapterBasicInfo) GetDescription ¶ added in v0.7.0
func (x *ChapterBasicInfo) GetDescription() string
func (*ChapterBasicInfo) GetIndex ¶ added in v0.7.0
func (x *ChapterBasicInfo) GetIndex() uint32
func (*ChapterBasicInfo) GetName ¶ added in v0.7.0
func (x *ChapterBasicInfo) GetName() string
func (*ChapterBasicInfo) GetUUID ¶ added in v0.7.0
func (x *ChapterBasicInfo) GetUUID() string
func (*ChapterBasicInfo) ProtoMessage ¶ added in v0.7.0
func (*ChapterBasicInfo) ProtoMessage()
func (*ChapterBasicInfo) ProtoReflect ¶ added in v0.7.0
func (x *ChapterBasicInfo) ProtoReflect() protoreflect.Message
func (*ChapterBasicInfo) Reset ¶ added in v0.7.0
func (x *ChapterBasicInfo) Reset()
func (*ChapterBasicInfo) String ¶ added in v0.7.0
func (x *ChapterBasicInfo) String() string
type ChapterServiceClient ¶
type ChapterServiceClient interface { GetChapter(ctx context.Context, in *GetChapterRequest, opts ...grpc.CallOption) (*GetChapterResponse, error) ListChapters(ctx context.Context, in *ListChaptersRequest, opts ...grpc.CallOption) (*ListChaptersResponse, error) CreateChapter(ctx context.Context, in *CreateChapterRequest, opts ...grpc.CallOption) (*CreateChapterResponse, error) DeleteChapter(ctx context.Context, in *DeleteChapterRequest, opts ...grpc.CallOption) (*DeleteChapterResponse, error) UpdateChapterContent(ctx context.Context, in *UpdateChapterContentRequest, opts ...grpc.CallOption) (*UpdateChapterContentResponse, error) UpdateChapter(ctx context.Context, in *UpdateChapterRequest, opts ...grpc.CallOption) (*UpdateChapterResponse, error) }
ChapterServiceClient is the client API for ChapterService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewChapterServiceClient ¶
func NewChapterServiceClient(cc grpc.ClientConnInterface) ChapterServiceClient
type ChapterServiceServer ¶
type ChapterServiceServer interface { GetChapter(context.Context, *GetChapterRequest) (*GetChapterResponse, error) ListChapters(context.Context, *ListChaptersRequest) (*ListChaptersResponse, error) CreateChapter(context.Context, *CreateChapterRequest) (*CreateChapterResponse, error) DeleteChapter(context.Context, *DeleteChapterRequest) (*DeleteChapterResponse, error) UpdateChapterContent(context.Context, *UpdateChapterContentRequest) (*UpdateChapterContentResponse, error) UpdateChapter(context.Context, *UpdateChapterRequest) (*UpdateChapterResponse, error) }
ChapterServiceServer is the server API for ChapterService service.
type ClassBasicInfo ¶ added in v0.7.0
type ClassBasicInfo struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"` CourseUUID string `protobuf:"bytes,4,opt,name=CourseUUID,proto3" json:"CourseUUID,omitempty"` // contains filtered or unexported fields }
func (*ClassBasicInfo) Descriptor
deprecated
added in
v0.7.0
func (*ClassBasicInfo) Descriptor() ([]byte, []int)
Deprecated: Use ClassBasicInfo.ProtoReflect.Descriptor instead.
func (*ClassBasicInfo) GetCourseUUID ¶ added in v0.7.0
func (x *ClassBasicInfo) GetCourseUUID() string
func (*ClassBasicInfo) GetDescription ¶ added in v0.7.0
func (x *ClassBasicInfo) GetDescription() string
func (*ClassBasicInfo) GetName ¶ added in v0.7.0
func (x *ClassBasicInfo) GetName() string
func (*ClassBasicInfo) GetUUID ¶ added in v0.7.0
func (x *ClassBasicInfo) GetUUID() string
func (*ClassBasicInfo) ProtoMessage ¶ added in v0.7.0
func (*ClassBasicInfo) ProtoMessage()
func (*ClassBasicInfo) ProtoReflect ¶ added in v0.7.0
func (x *ClassBasicInfo) ProtoReflect() protoreflect.Message
func (*ClassBasicInfo) Reset ¶ added in v0.7.0
func (x *ClassBasicInfo) Reset()
func (*ClassBasicInfo) String ¶ added in v0.7.0
func (x *ClassBasicInfo) String() string
type ClassStructServiceClient ¶
type ClassStructServiceClient interface { // 列举自己所在的班级 ListClasses(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ListClassesResponse, error) // 列举自己所管理的班级 ListManagedClasses(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ListManagedClassesResponse, error) // 列举使用指定课程的班级, 仅管理员可调用 ListCourseClasses(ctx context.Context, in *ListCourseClassesRequest, opts ...grpc.CallOption) (*ListCourseClassesResponse, error) ListClassStudents(ctx context.Context, in *ListClassStudentsRequest, opts ...grpc.CallOption) (*ListClassStudentsResponse, error) CreateClass(ctx context.Context, in *CreateClassRequest, opts ...grpc.CallOption) (*CreateClassResponse, error) UpdateClass(ctx context.Context, in *UpdateClassRequest, opts ...grpc.CallOption) (*UpdateClassResponse, error) DeleteClass(ctx context.Context, in *DeleteClassRequest, opts ...grpc.CallOption) (*DeleteClassResponse, error) AddClassStudents(ctx context.Context, in *AddClassStudentsRequest, opts ...grpc.CallOption) (*AddClassStudentsResponse, error) RemoveClassStudent(ctx context.Context, in *RemoveClassStudentRequest, opts ...grpc.CallOption) (*RemoveClassStudentResponse, error) SetClassManager(ctx context.Context, in *SetClassManagerRequest, opts ...grpc.CallOption) (*SetClassManagerResponse, error) }
ClassStructServiceClient is the client API for ClassStructService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewClassStructServiceClient ¶
func NewClassStructServiceClient(cc grpc.ClientConnInterface) ClassStructServiceClient
type ClassStructServiceServer ¶
type ClassStructServiceServer interface { // 列举自己所在的班级 ListClasses(context.Context, *Empty) (*ListClassesResponse, error) // 列举自己所管理的班级 ListManagedClasses(context.Context, *Empty) (*ListManagedClassesResponse, error) // 列举使用指定课程的班级, 仅管理员可调用 ListCourseClasses(context.Context, *ListCourseClassesRequest) (*ListCourseClassesResponse, error) ListClassStudents(context.Context, *ListClassStudentsRequest) (*ListClassStudentsResponse, error) CreateClass(context.Context, *CreateClassRequest) (*CreateClassResponse, error) UpdateClass(context.Context, *UpdateClassRequest) (*UpdateClassResponse, error) DeleteClass(context.Context, *DeleteClassRequest) (*DeleteClassResponse, error) AddClassStudents(context.Context, *AddClassStudentsRequest) (*AddClassStudentsResponse, error) RemoveClassStudent(context.Context, *RemoveClassStudentRequest) (*RemoveClassStudentResponse, error) SetClassManager(context.Context, *SetClassManagerRequest) (*SetClassManagerResponse, error) }
ClassStructServiceServer is the server API for ClassStructService service.
type CollectingDataServiceClient ¶ added in v0.6.8
type CollectingDataServiceClient interface { UploadContentReadings(ctx context.Context, in *UploadContentReadingsRequest, opts ...grpc.CallOption) (*UploadContentReadingsResponse, error) UploadAnswers(ctx context.Context, in *UploadAnswersRequest, opts ...grpc.CallOption) (*UploadAnswersResponse, error) }
CollectingDataServiceClient is the client API for CollectingDataService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCollectingDataServiceClient ¶ added in v0.6.8
func NewCollectingDataServiceClient(cc grpc.ClientConnInterface) CollectingDataServiceClient
type CollectingDataServiceServer ¶ added in v0.6.8
type CollectingDataServiceServer interface { UploadContentReadings(context.Context, *UploadContentReadingsRequest) (*UploadContentReadingsResponse, error) UploadAnswers(context.Context, *UploadAnswersRequest) (*UploadAnswersResponse, error) }
CollectingDataServiceServer is the server API for CollectingDataService service.
type ContentReading ¶ added in v0.6.8
type ContentReading struct { // 开始时间戳 StartTime uint32 `protobuf:"fixed32,1,opt,name=StartTime,proto3" json:"StartTime,omitempty"` // 结束时间戳 EndTime uint32 `protobuf:"fixed32,2,opt,name=EndTime,proto3" json:"EndTime,omitempty"` // 章节 UUID ChapterUUID string `protobuf:"bytes,3,opt,name=ChapterUUID,proto3" json:"ChapterUUID,omitempty"` // contains filtered or unexported fields }
func (*ContentReading) Descriptor
deprecated
added in
v0.6.8
func (*ContentReading) Descriptor() ([]byte, []int)
Deprecated: Use ContentReading.ProtoReflect.Descriptor instead.
func (*ContentReading) GetChapterUUID ¶ added in v0.6.8
func (x *ContentReading) GetChapterUUID() string
func (*ContentReading) GetEndTime ¶ added in v0.6.8
func (x *ContentReading) GetEndTime() uint32
func (*ContentReading) GetStartTime ¶ added in v0.6.8
func (x *ContentReading) GetStartTime() uint32
func (*ContentReading) ProtoMessage ¶ added in v0.6.8
func (*ContentReading) ProtoMessage()
func (*ContentReading) ProtoReflect ¶ added in v0.6.8
func (x *ContentReading) ProtoReflect() protoreflect.Message
func (*ContentReading) Reset ¶ added in v0.6.8
func (x *ContentReading) Reset()
func (*ContentReading) String ¶ added in v0.6.8
func (x *ContentReading) String() string
type CourseServiceClient ¶
type CourseServiceClient interface { // 获取指定课程的信息 GetCourse(ctx context.Context, in *GetCourseRequest, opts ...grpc.CallOption) (*GetCourseResponse, error) // 列举所有课程 ListCourses(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ListCoursesResponse, error) // 仅管理员可调用 CreateCourse(ctx context.Context, in *CreateCourseRequest, opts ...grpc.CallOption) (*CreateCourseResponse, error) DeleteCourse(ctx context.Context, in *DeleteCourseRequest, opts ...grpc.CallOption) (*DeleteCourseResponse, error) SetCourseManager(ctx context.Context, in *SetCourseManagerRequest, opts ...grpc.CallOption) (*SetCourseManagerResponse, error) UpdateCourse(ctx context.Context, in *UpdateCourseRequest, opts ...grpc.CallOption) (*UpdateCourseResponse, error) }
CourseServiceClient is the client API for CourseService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCourseServiceClient ¶
func NewCourseServiceClient(cc grpc.ClientConnInterface) CourseServiceClient
type CourseServiceServer ¶
type CourseServiceServer interface { // 获取指定课程的信息 GetCourse(context.Context, *GetCourseRequest) (*GetCourseResponse, error) // 列举所有课程 ListCourses(context.Context, *Empty) (*ListCoursesResponse, error) // 仅管理员可调用 CreateCourse(context.Context, *CreateCourseRequest) (*CreateCourseResponse, error) DeleteCourse(context.Context, *DeleteCourseRequest) (*DeleteCourseResponse, error) SetCourseManager(context.Context, *SetCourseManagerRequest) (*SetCourseManagerResponse, error) UpdateCourse(context.Context, *UpdateCourseRequest) (*UpdateCourseResponse, error) }
CourseServiceServer is the server API for CourseService service.
type CreateChapterRequest ¶
type CreateChapterRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Description string `protobuf:"bytes,2,opt,name=Description,proto3" json:"Description,omitempty"` Index uint32 `protobuf:"varint,3,opt,name=Index,proto3" json:"Index,omitempty"` CourseUUID string `protobuf:"bytes,4,opt,name=CourseUUID,proto3" json:"CourseUUID,omitempty"` // contains filtered or unexported fields }
func (*CreateChapterRequest) Descriptor
deprecated
func (*CreateChapterRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateChapterRequest.ProtoReflect.Descriptor instead.
func (*CreateChapterRequest) GetCourseUUID ¶
func (x *CreateChapterRequest) GetCourseUUID() string
func (*CreateChapterRequest) GetDescription ¶
func (x *CreateChapterRequest) GetDescription() string
func (*CreateChapterRequest) GetIndex ¶ added in v0.4.5
func (x *CreateChapterRequest) GetIndex() uint32
func (*CreateChapterRequest) GetName ¶
func (x *CreateChapterRequest) GetName() string
func (*CreateChapterRequest) ProtoMessage ¶
func (*CreateChapterRequest) ProtoMessage()
func (*CreateChapterRequest) ProtoReflect ¶ added in v0.6.8
func (x *CreateChapterRequest) ProtoReflect() protoreflect.Message
func (*CreateChapterRequest) Reset ¶
func (x *CreateChapterRequest) Reset()
func (*CreateChapterRequest) String ¶
func (x *CreateChapterRequest) String() string
type CreateChapterResponse ¶
type CreateChapterResponse struct { ChapterUUID string `protobuf:"bytes,1,opt,name=ChapterUUID,proto3" json:"ChapterUUID,omitempty"` Status *ResponseStatus `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*CreateChapterResponse) Descriptor
deprecated
func (*CreateChapterResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateChapterResponse.ProtoReflect.Descriptor instead.
func (*CreateChapterResponse) GetChapterUUID ¶ added in v0.7.0
func (x *CreateChapterResponse) GetChapterUUID() string
func (*CreateChapterResponse) GetStatus ¶
func (x *CreateChapterResponse) GetStatus() *ResponseStatus
func (*CreateChapterResponse) ProtoMessage ¶
func (*CreateChapterResponse) ProtoMessage()
func (*CreateChapterResponse) ProtoReflect ¶ added in v0.6.8
func (x *CreateChapterResponse) ProtoReflect() protoreflect.Message
func (*CreateChapterResponse) Reset ¶
func (x *CreateChapterResponse) Reset()
func (*CreateChapterResponse) String ¶
func (x *CreateChapterResponse) String() string
type CreateClassRequest ¶
type CreateClassRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Description string `protobuf:"bytes,2,opt,name=Description,proto3" json:"Description,omitempty"` ManagerID uint32 `protobuf:"varint,3,opt,name=ManagerID,proto3" json:"ManagerID,omitempty"` CourseUUID string `protobuf:"bytes,4,opt,name=CourseUUID,proto3" json:"CourseUUID,omitempty"` // contains filtered or unexported fields }
func (*CreateClassRequest) Descriptor
deprecated
func (*CreateClassRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateClassRequest.ProtoReflect.Descriptor instead.
func (*CreateClassRequest) GetCourseUUID ¶ added in v0.7.0
func (x *CreateClassRequest) GetCourseUUID() string
func (*CreateClassRequest) GetDescription ¶
func (x *CreateClassRequest) GetDescription() string
func (*CreateClassRequest) GetManagerID ¶ added in v0.7.0
func (x *CreateClassRequest) GetManagerID() uint32
func (*CreateClassRequest) GetName ¶
func (x *CreateClassRequest) GetName() string
func (*CreateClassRequest) ProtoMessage ¶
func (*CreateClassRequest) ProtoMessage()
func (*CreateClassRequest) ProtoReflect ¶ added in v0.6.8
func (x *CreateClassRequest) ProtoReflect() protoreflect.Message
func (*CreateClassRequest) Reset ¶
func (x *CreateClassRequest) Reset()
func (*CreateClassRequest) String ¶
func (x *CreateClassRequest) String() string
type CreateClassResponse ¶
type CreateClassResponse struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` Status *ResponseStatus `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*CreateClassResponse) Descriptor
deprecated
func (*CreateClassResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateClassResponse.ProtoReflect.Descriptor instead.
func (*CreateClassResponse) GetStatus ¶
func (x *CreateClassResponse) GetStatus() *ResponseStatus
func (*CreateClassResponse) GetUUID ¶
func (x *CreateClassResponse) GetUUID() string
func (*CreateClassResponse) ProtoMessage ¶
func (*CreateClassResponse) ProtoMessage()
func (*CreateClassResponse) ProtoReflect ¶ added in v0.6.8
func (x *CreateClassResponse) ProtoReflect() protoreflect.Message
func (*CreateClassResponse) Reset ¶
func (x *CreateClassResponse) Reset()
func (*CreateClassResponse) String ¶
func (x *CreateClassResponse) String() string
type CreateCourseRequest ¶
type CreateCourseRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Description string `protobuf:"bytes,2,opt,name=Description,proto3" json:"Description,omitempty"` ManagerID uint32 `protobuf:"varint,3,opt,name=ManagerID,proto3" json:"ManagerID,omitempty"` // contains filtered or unexported fields }
func (*CreateCourseRequest) Descriptor
deprecated
func (*CreateCourseRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCourseRequest.ProtoReflect.Descriptor instead.
func (*CreateCourseRequest) GetDescription ¶
func (x *CreateCourseRequest) GetDescription() string
func (*CreateCourseRequest) GetManagerID ¶ added in v0.7.0
func (x *CreateCourseRequest) GetManagerID() uint32
func (*CreateCourseRequest) GetName ¶
func (x *CreateCourseRequest) GetName() string
func (*CreateCourseRequest) ProtoMessage ¶
func (*CreateCourseRequest) ProtoMessage()
func (*CreateCourseRequest) ProtoReflect ¶ added in v0.6.8
func (x *CreateCourseRequest) ProtoReflect() protoreflect.Message
func (*CreateCourseRequest) Reset ¶
func (x *CreateCourseRequest) Reset()
func (*CreateCourseRequest) String ¶
func (x *CreateCourseRequest) String() string
type CreateCourseResponse ¶
type CreateCourseResponse struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` Status *ResponseStatus `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*CreateCourseResponse) Descriptor
deprecated
func (*CreateCourseResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateCourseResponse.ProtoReflect.Descriptor instead.
func (*CreateCourseResponse) GetStatus ¶
func (x *CreateCourseResponse) GetStatus() *ResponseStatus
func (*CreateCourseResponse) GetUUID ¶
func (x *CreateCourseResponse) GetUUID() string
func (*CreateCourseResponse) ProtoMessage ¶
func (*CreateCourseResponse) ProtoMessage()
func (*CreateCourseResponse) ProtoReflect ¶ added in v0.6.8
func (x *CreateCourseResponse) ProtoReflect() protoreflect.Message
func (*CreateCourseResponse) Reset ¶
func (x *CreateCourseResponse) Reset()
func (*CreateCourseResponse) String ¶
func (x *CreateCourseResponse) String() string
type CreateKnowledgePointRequest ¶ added in v0.6.8
type CreateKnowledgePointRequest struct { ChapterUUID string `protobuf:"bytes,1,opt,name=ChapterUUID,proto3" json:"ChapterUUID,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` // contains filtered or unexported fields }
func (*CreateKnowledgePointRequest) Descriptor
deprecated
added in
v0.6.8
func (*CreateKnowledgePointRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateKnowledgePointRequest.ProtoReflect.Descriptor instead.
func (*CreateKnowledgePointRequest) GetChapterUUID ¶ added in v0.7.0
func (x *CreateKnowledgePointRequest) GetChapterUUID() string
func (*CreateKnowledgePointRequest) GetName ¶ added in v0.6.8
func (x *CreateKnowledgePointRequest) GetName() string
func (*CreateKnowledgePointRequest) ProtoMessage ¶ added in v0.6.8
func (*CreateKnowledgePointRequest) ProtoMessage()
func (*CreateKnowledgePointRequest) ProtoReflect ¶ added in v0.6.8
func (x *CreateKnowledgePointRequest) ProtoReflect() protoreflect.Message
func (*CreateKnowledgePointRequest) Reset ¶ added in v0.6.8
func (x *CreateKnowledgePointRequest) Reset()
func (*CreateKnowledgePointRequest) String ¶ added in v0.6.8
func (x *CreateKnowledgePointRequest) String() string
type CreateKnowledgePointResponse ¶ added in v0.6.8
type CreateKnowledgePointResponse struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` Status *ResponseStatus `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*CreateKnowledgePointResponse) Descriptor
deprecated
added in
v0.6.8
func (*CreateKnowledgePointResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateKnowledgePointResponse.ProtoReflect.Descriptor instead.
func (*CreateKnowledgePointResponse) GetStatus ¶ added in v0.6.8
func (x *CreateKnowledgePointResponse) GetStatus() *ResponseStatus
func (*CreateKnowledgePointResponse) GetUUID ¶ added in v0.6.8
func (x *CreateKnowledgePointResponse) GetUUID() string
func (*CreateKnowledgePointResponse) ProtoMessage ¶ added in v0.6.8
func (*CreateKnowledgePointResponse) ProtoMessage()
func (*CreateKnowledgePointResponse) ProtoReflect ¶ added in v0.6.8
func (x *CreateKnowledgePointResponse) ProtoReflect() protoreflect.Message
func (*CreateKnowledgePointResponse) Reset ¶ added in v0.6.8
func (x *CreateKnowledgePointResponse) Reset()
func (*CreateKnowledgePointResponse) String ¶ added in v0.6.8
func (x *CreateKnowledgePointResponse) String() string
type CreateQuestionRequest ¶
type CreateQuestionRequest struct { Question string `protobuf:"bytes,1,opt,name=Question,proto3" json:"Question,omitempty"` Analysis string `protobuf:"bytes,2,opt,name=Analysis,proto3" json:"Analysis,omitempty"` AnswerA string `protobuf:"bytes,3,opt,name=AnswerA,proto3" json:"AnswerA,omitempty"` AnswerB string `protobuf:"bytes,4,opt,name=AnswerB,proto3" json:"AnswerB,omitempty"` AnswerC string `protobuf:"bytes,5,opt,name=AnswerC,proto3" json:"AnswerC,omitempty"` AnswerD string `protobuf:"bytes,6,opt,name=AnswerD,proto3" json:"AnswerD,omitempty"` AnswerE string `protobuf:"bytes,7,opt,name=AnswerE,proto3" json:"AnswerE,omitempty"` AnswerF string `protobuf:"bytes,8,opt,name=AnswerF,proto3" json:"AnswerF,omitempty"` AnswerG string `protobuf:"bytes,9,opt,name=AnswerG,proto3" json:"AnswerG,omitempty"` AnswerH string `protobuf:"bytes,10,opt,name=AnswerH,proto3" json:"AnswerH,omitempty"` IsA bool `protobuf:"varint,11,opt,name=IsA,proto3" json:"IsA,omitempty"` IsB bool `protobuf:"varint,12,opt,name=IsB,proto3" json:"IsB,omitempty"` IsC bool `protobuf:"varint,13,opt,name=IsC,proto3" json:"IsC,omitempty"` IsD bool `protobuf:"varint,14,opt,name=IsD,proto3" json:"IsD,omitempty"` IsE bool `protobuf:"varint,15,opt,name=IsE,proto3" json:"IsE,omitempty"` IsF bool `protobuf:"varint,16,opt,name=IsF,proto3" json:"IsF,omitempty"` IsG bool `protobuf:"varint,17,opt,name=IsG,proto3" json:"IsG,omitempty"` IsH bool `protobuf:"varint,18,opt,name=IsH,proto3" json:"IsH,omitempty"` IsTrue bool `protobuf:"varint,19,opt,name=IsTrue,proto3" json:"IsTrue,omitempty"` Type QuestionType `protobuf:"varint,20,opt,name=Type,proto3,enum=pb.QuestionType" json:"Type,omitempty"` Level QuestionLevel `protobuf:"varint,21,opt,name=Level,proto3,enum=pb.QuestionLevel" json:"Level,omitempty"` ChapterUUID string `protobuf:"bytes,22,opt,name=ChapterUUID,proto3" json:"ChapterUUID,omitempty"` IsExamQuestion bool `protobuf:"varint,23,opt,name=IsExamQuestion,proto3" json:"IsExamQuestion,omitempty"` KnowledgePointUUIDs []string `protobuf:"bytes,24,rep,name=KnowledgePointUUIDs,proto3" json:"KnowledgePointUUIDs,omitempty"` // contains filtered or unexported fields }
func (*CreateQuestionRequest) Descriptor
deprecated
func (*CreateQuestionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateQuestionRequest.ProtoReflect.Descriptor instead.
func (*CreateQuestionRequest) GetAnalysis ¶ added in v0.7.0
func (x *CreateQuestionRequest) GetAnalysis() string
func (*CreateQuestionRequest) GetAnswerA ¶ added in v0.7.0
func (x *CreateQuestionRequest) GetAnswerA() string
func (*CreateQuestionRequest) GetAnswerB ¶ added in v0.7.0
func (x *CreateQuestionRequest) GetAnswerB() string
func (*CreateQuestionRequest) GetAnswerC ¶ added in v0.7.0
func (x *CreateQuestionRequest) GetAnswerC() string
func (*CreateQuestionRequest) GetAnswerD ¶ added in v0.7.0
func (x *CreateQuestionRequest) GetAnswerD() string
func (*CreateQuestionRequest) GetAnswerE ¶ added in v0.7.0
func (x *CreateQuestionRequest) GetAnswerE() string
func (*CreateQuestionRequest) GetAnswerF ¶ added in v0.7.0
func (x *CreateQuestionRequest) GetAnswerF() string
func (*CreateQuestionRequest) GetAnswerG ¶ added in v0.7.0
func (x *CreateQuestionRequest) GetAnswerG() string
func (*CreateQuestionRequest) GetAnswerH ¶ added in v0.7.0
func (x *CreateQuestionRequest) GetAnswerH() string
func (*CreateQuestionRequest) GetChapterUUID ¶ added in v0.7.0
func (x *CreateQuestionRequest) GetChapterUUID() string
func (*CreateQuestionRequest) GetIsA ¶ added in v0.7.0
func (x *CreateQuestionRequest) GetIsA() bool
func (*CreateQuestionRequest) GetIsB ¶ added in v0.7.0
func (x *CreateQuestionRequest) GetIsB() bool
func (*CreateQuestionRequest) GetIsC ¶ added in v0.7.0
func (x *CreateQuestionRequest) GetIsC() bool
func (*CreateQuestionRequest) GetIsD ¶ added in v0.7.0
func (x *CreateQuestionRequest) GetIsD() bool
func (*CreateQuestionRequest) GetIsE ¶ added in v0.7.0
func (x *CreateQuestionRequest) GetIsE() bool
func (*CreateQuestionRequest) GetIsExamQuestion ¶ added in v0.7.0
func (x *CreateQuestionRequest) GetIsExamQuestion() bool
func (*CreateQuestionRequest) GetIsF ¶ added in v0.7.0
func (x *CreateQuestionRequest) GetIsF() bool
func (*CreateQuestionRequest) GetIsG ¶ added in v0.7.0
func (x *CreateQuestionRequest) GetIsG() bool
func (*CreateQuestionRequest) GetIsH ¶ added in v0.7.0
func (x *CreateQuestionRequest) GetIsH() bool
func (*CreateQuestionRequest) GetIsTrue ¶ added in v0.7.0
func (x *CreateQuestionRequest) GetIsTrue() bool
func (*CreateQuestionRequest) GetKnowledgePointUUIDs ¶ added in v0.7.0
func (x *CreateQuestionRequest) GetKnowledgePointUUIDs() []string
func (*CreateQuestionRequest) GetLevel ¶ added in v0.7.0
func (x *CreateQuestionRequest) GetLevel() QuestionLevel
func (*CreateQuestionRequest) GetQuestion ¶
func (x *CreateQuestionRequest) GetQuestion() string
func (*CreateQuestionRequest) GetType ¶ added in v0.7.0
func (x *CreateQuestionRequest) GetType() QuestionType
func (*CreateQuestionRequest) ProtoMessage ¶
func (*CreateQuestionRequest) ProtoMessage()
func (*CreateQuestionRequest) ProtoReflect ¶ added in v0.6.8
func (x *CreateQuestionRequest) ProtoReflect() protoreflect.Message
func (*CreateQuestionRequest) Reset ¶
func (x *CreateQuestionRequest) Reset()
func (*CreateQuestionRequest) String ¶
func (x *CreateQuestionRequest) String() string
type CreateQuestionResponse ¶
type CreateQuestionResponse struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` Status *ResponseStatus `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*CreateQuestionResponse) Descriptor
deprecated
func (*CreateQuestionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateQuestionResponse.ProtoReflect.Descriptor instead.
func (*CreateQuestionResponse) GetStatus ¶
func (x *CreateQuestionResponse) GetStatus() *ResponseStatus
func (*CreateQuestionResponse) GetUUID ¶
func (x *CreateQuestionResponse) GetUUID() string
func (*CreateQuestionResponse) ProtoMessage ¶
func (*CreateQuestionResponse) ProtoMessage()
func (*CreateQuestionResponse) ProtoReflect ¶ added in v0.6.8
func (x *CreateQuestionResponse) ProtoReflect() protoreflect.Message
func (*CreateQuestionResponse) Reset ¶
func (x *CreateQuestionResponse) Reset()
func (*CreateQuestionResponse) String ¶
func (x *CreateQuestionResponse) String() string
type DeleteChapterRequest ¶
type DeleteChapterRequest struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` // contains filtered or unexported fields }
func (*DeleteChapterRequest) Descriptor
deprecated
func (*DeleteChapterRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteChapterRequest.ProtoReflect.Descriptor instead.
func (*DeleteChapterRequest) GetUUID ¶ added in v0.7.0
func (x *DeleteChapterRequest) GetUUID() string
func (*DeleteChapterRequest) ProtoMessage ¶
func (*DeleteChapterRequest) ProtoMessage()
func (*DeleteChapterRequest) ProtoReflect ¶ added in v0.6.8
func (x *DeleteChapterRequest) ProtoReflect() protoreflect.Message
func (*DeleteChapterRequest) Reset ¶
func (x *DeleteChapterRequest) Reset()
func (*DeleteChapterRequest) String ¶
func (x *DeleteChapterRequest) String() string
type DeleteChapterResponse ¶
type DeleteChapterResponse struct { Status *ResponseStatus `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*DeleteChapterResponse) Descriptor
deprecated
func (*DeleteChapterResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteChapterResponse.ProtoReflect.Descriptor instead.
func (*DeleteChapterResponse) GetStatus ¶
func (x *DeleteChapterResponse) GetStatus() *ResponseStatus
func (*DeleteChapterResponse) ProtoMessage ¶
func (*DeleteChapterResponse) ProtoMessage()
func (*DeleteChapterResponse) ProtoReflect ¶ added in v0.6.8
func (x *DeleteChapterResponse) ProtoReflect() protoreflect.Message
func (*DeleteChapterResponse) Reset ¶
func (x *DeleteChapterResponse) Reset()
func (*DeleteChapterResponse) String ¶
func (x *DeleteChapterResponse) String() string
type DeleteClassRequest ¶
type DeleteClassRequest struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` // contains filtered or unexported fields }
func (*DeleteClassRequest) Descriptor
deprecated
func (*DeleteClassRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteClassRequest.ProtoReflect.Descriptor instead.
func (*DeleteClassRequest) GetUUID ¶ added in v0.7.0
func (x *DeleteClassRequest) GetUUID() string
func (*DeleteClassRequest) ProtoMessage ¶
func (*DeleteClassRequest) ProtoMessage()
func (*DeleteClassRequest) ProtoReflect ¶ added in v0.6.8
func (x *DeleteClassRequest) ProtoReflect() protoreflect.Message
func (*DeleteClassRequest) Reset ¶
func (x *DeleteClassRequest) Reset()
func (*DeleteClassRequest) String ¶
func (x *DeleteClassRequest) String() string
type DeleteClassResponse ¶
type DeleteClassResponse struct { Status *ResponseStatus `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*DeleteClassResponse) Descriptor
deprecated
func (*DeleteClassResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteClassResponse.ProtoReflect.Descriptor instead.
func (*DeleteClassResponse) GetStatus ¶
func (x *DeleteClassResponse) GetStatus() *ResponseStatus
func (*DeleteClassResponse) ProtoMessage ¶
func (*DeleteClassResponse) ProtoMessage()
func (*DeleteClassResponse) ProtoReflect ¶ added in v0.6.8
func (x *DeleteClassResponse) ProtoReflect() protoreflect.Message
func (*DeleteClassResponse) Reset ¶
func (x *DeleteClassResponse) Reset()
func (*DeleteClassResponse) String ¶
func (x *DeleteClassResponse) String() string
type DeleteCourseRequest ¶
type DeleteCourseRequest struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` // contains filtered or unexported fields }
func (*DeleteCourseRequest) Descriptor
deprecated
func (*DeleteCourseRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCourseRequest.ProtoReflect.Descriptor instead.
func (*DeleteCourseRequest) GetUUID ¶ added in v0.7.0
func (x *DeleteCourseRequest) GetUUID() string
func (*DeleteCourseRequest) ProtoMessage ¶
func (*DeleteCourseRequest) ProtoMessage()
func (*DeleteCourseRequest) ProtoReflect ¶ added in v0.6.8
func (x *DeleteCourseRequest) ProtoReflect() protoreflect.Message
func (*DeleteCourseRequest) Reset ¶
func (x *DeleteCourseRequest) Reset()
func (*DeleteCourseRequest) String ¶
func (x *DeleteCourseRequest) String() string
type DeleteCourseResponse ¶
type DeleteCourseResponse struct { Status *ResponseStatus `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*DeleteCourseResponse) Descriptor
deprecated
func (*DeleteCourseResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCourseResponse.ProtoReflect.Descriptor instead.
func (*DeleteCourseResponse) GetStatus ¶
func (x *DeleteCourseResponse) GetStatus() *ResponseStatus
func (*DeleteCourseResponse) ProtoMessage ¶
func (*DeleteCourseResponse) ProtoMessage()
func (*DeleteCourseResponse) ProtoReflect ¶ added in v0.6.8
func (x *DeleteCourseResponse) ProtoReflect() protoreflect.Message
func (*DeleteCourseResponse) Reset ¶
func (x *DeleteCourseResponse) Reset()
func (*DeleteCourseResponse) String ¶
func (x *DeleteCourseResponse) String() string
type DeleteKnowledgePointRequest ¶ added in v0.6.8
type DeleteKnowledgePointRequest struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` // contains filtered or unexported fields }
func (*DeleteKnowledgePointRequest) Descriptor
deprecated
added in
v0.6.8
func (*DeleteKnowledgePointRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteKnowledgePointRequest.ProtoReflect.Descriptor instead.
func (*DeleteKnowledgePointRequest) GetUUID ¶ added in v0.6.8
func (x *DeleteKnowledgePointRequest) GetUUID() string
func (*DeleteKnowledgePointRequest) ProtoMessage ¶ added in v0.6.8
func (*DeleteKnowledgePointRequest) ProtoMessage()
func (*DeleteKnowledgePointRequest) ProtoReflect ¶ added in v0.6.8
func (x *DeleteKnowledgePointRequest) ProtoReflect() protoreflect.Message
func (*DeleteKnowledgePointRequest) Reset ¶ added in v0.6.8
func (x *DeleteKnowledgePointRequest) Reset()
func (*DeleteKnowledgePointRequest) String ¶ added in v0.6.8
func (x *DeleteKnowledgePointRequest) String() string
type DeleteKnowledgePointResponse ¶ added in v0.6.8
type DeleteKnowledgePointResponse struct { Status *ResponseStatus `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*DeleteKnowledgePointResponse) Descriptor
deprecated
added in
v0.6.8
func (*DeleteKnowledgePointResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteKnowledgePointResponse.ProtoReflect.Descriptor instead.
func (*DeleteKnowledgePointResponse) GetStatus ¶ added in v0.6.8
func (x *DeleteKnowledgePointResponse) GetStatus() *ResponseStatus
func (*DeleteKnowledgePointResponse) ProtoMessage ¶ added in v0.6.8
func (*DeleteKnowledgePointResponse) ProtoMessage()
func (*DeleteKnowledgePointResponse) ProtoReflect ¶ added in v0.6.8
func (x *DeleteKnowledgePointResponse) ProtoReflect() protoreflect.Message
func (*DeleteKnowledgePointResponse) Reset ¶ added in v0.6.8
func (x *DeleteKnowledgePointResponse) Reset()
func (*DeleteKnowledgePointResponse) String ¶ added in v0.6.8
func (x *DeleteKnowledgePointResponse) String() string
type DeleteQuestionRequest ¶
type DeleteQuestionRequest struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` // contains filtered or unexported fields }
func (*DeleteQuestionRequest) Descriptor
deprecated
func (*DeleteQuestionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteQuestionRequest.ProtoReflect.Descriptor instead.
func (*DeleteQuestionRequest) GetUUID ¶ added in v0.7.0
func (x *DeleteQuestionRequest) GetUUID() string
func (*DeleteQuestionRequest) ProtoMessage ¶
func (*DeleteQuestionRequest) ProtoMessage()
func (*DeleteQuestionRequest) ProtoReflect ¶ added in v0.6.8
func (x *DeleteQuestionRequest) ProtoReflect() protoreflect.Message
func (*DeleteQuestionRequest) Reset ¶
func (x *DeleteQuestionRequest) Reset()
func (*DeleteQuestionRequest) String ¶
func (x *DeleteQuestionRequest) String() string
type DeleteQuestionResponse ¶
type DeleteQuestionResponse struct { Status *ResponseStatus `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*DeleteQuestionResponse) Descriptor
deprecated
func (*DeleteQuestionResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteQuestionResponse.ProtoReflect.Descriptor instead.
func (*DeleteQuestionResponse) GetStatus ¶
func (x *DeleteQuestionResponse) GetStatus() *ResponseStatus
func (*DeleteQuestionResponse) ProtoMessage ¶
func (*DeleteQuestionResponse) ProtoMessage()
func (*DeleteQuestionResponse) ProtoReflect ¶ added in v0.6.8
func (x *DeleteQuestionResponse) ProtoReflect() protoreflect.Message
func (*DeleteQuestionResponse) Reset ¶
func (x *DeleteQuestionResponse) Reset()
func (*DeleteQuestionResponse) String ¶
func (x *DeleteQuestionResponse) String() string
type DeleteUserRequest ¶
type DeleteUserRequest struct { AccountID uint32 `protobuf:"varint,1,opt,name=AccountID,proto3" json:"AccountID,omitempty"` // contains filtered or unexported fields }
func (*DeleteUserRequest) Descriptor
deprecated
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) GetAccountID ¶ added in v0.7.0
func (x *DeleteUserRequest) GetAccountID() uint32
func (*DeleteUserRequest) ProtoMessage ¶
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) ProtoReflect ¶ added in v0.6.8
func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserRequest) Reset ¶
func (x *DeleteUserRequest) Reset()
func (*DeleteUserRequest) String ¶
func (x *DeleteUserRequest) String() string
type DeleteUserResponse ¶
type DeleteUserResponse struct { Status *ResponseStatus `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*DeleteUserResponse) Descriptor
deprecated
func (*DeleteUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.
func (*DeleteUserResponse) GetStatus ¶
func (x *DeleteUserResponse) GetStatus() *ResponseStatus
func (*DeleteUserResponse) ProtoMessage ¶
func (*DeleteUserResponse) ProtoMessage()
func (*DeleteUserResponse) ProtoReflect ¶ added in v0.6.8
func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message
func (*DeleteUserResponse) Reset ¶
func (x *DeleteUserResponse) Reset()
func (*DeleteUserResponse) String ¶
func (x *DeleteUserResponse) String() string
type Empty ¶ added in v0.7.0
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
added in
v0.7.0
func (*Empty) ProtoMessage ¶ added in v0.7.0
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶ added in v0.7.0
func (x *Empty) ProtoReflect() protoreflect.Message
type GetChapterRequest ¶
type GetChapterRequest struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` // contains filtered or unexported fields }
func (*GetChapterRequest) Descriptor
deprecated
func (*GetChapterRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetChapterRequest.ProtoReflect.Descriptor instead.
func (*GetChapterRequest) GetUUID ¶ added in v0.7.0
func (x *GetChapterRequest) GetUUID() string
func (*GetChapterRequest) ProtoMessage ¶
func (*GetChapterRequest) ProtoMessage()
func (*GetChapterRequest) ProtoReflect ¶ added in v0.6.8
func (x *GetChapterRequest) ProtoReflect() protoreflect.Message
func (*GetChapterRequest) Reset ¶
func (x *GetChapterRequest) Reset()
func (*GetChapterRequest) String ¶
func (x *GetChapterRequest) String() string
type GetChapterResponse ¶
type GetChapterResponse struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"` Index uint32 `protobuf:"varint,4,opt,name=Index,proto3" json:"Index,omitempty"` Content string `protobuf:"bytes,5,opt,name=Content,proto3" json:"Content,omitempty"` Status *ResponseStatus `protobuf:"bytes,6,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*GetChapterResponse) Descriptor
deprecated
func (*GetChapterResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetChapterResponse.ProtoReflect.Descriptor instead.
func (*GetChapterResponse) GetContent ¶ added in v0.7.0
func (x *GetChapterResponse) GetContent() string
func (*GetChapterResponse) GetDescription ¶
func (x *GetChapterResponse) GetDescription() string
func (*GetChapterResponse) GetIndex ¶ added in v0.4.5
func (x *GetChapterResponse) GetIndex() uint32
func (*GetChapterResponse) GetName ¶
func (x *GetChapterResponse) GetName() string
func (*GetChapterResponse) GetStatus ¶
func (x *GetChapterResponse) GetStatus() *ResponseStatus
func (*GetChapterResponse) GetUUID ¶ added in v0.7.0
func (x *GetChapterResponse) GetUUID() string
func (*GetChapterResponse) ProtoMessage ¶
func (*GetChapterResponse) ProtoMessage()
func (*GetChapterResponse) ProtoReflect ¶ added in v0.6.8
func (x *GetChapterResponse) ProtoReflect() protoreflect.Message
func (*GetChapterResponse) Reset ¶
func (x *GetChapterResponse) Reset()
func (*GetChapterResponse) String ¶
func (x *GetChapterResponse) String() string
type GetCourseRequest ¶
type GetCourseRequest struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` // contains filtered or unexported fields }
func (*GetCourseRequest) Descriptor
deprecated
func (*GetCourseRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCourseRequest.ProtoReflect.Descriptor instead.
func (*GetCourseRequest) GetUUID ¶ added in v0.7.0
func (x *GetCourseRequest) GetUUID() string
func (*GetCourseRequest) ProtoMessage ¶
func (*GetCourseRequest) ProtoMessage()
func (*GetCourseRequest) ProtoReflect ¶ added in v0.6.8
func (x *GetCourseRequest) ProtoReflect() protoreflect.Message
func (*GetCourseRequest) Reset ¶
func (x *GetCourseRequest) Reset()
func (*GetCourseRequest) String ¶
func (x *GetCourseRequest) String() string
type GetCourseResponse ¶
type GetCourseResponse struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"` Chapters []*ChapterBasicInfo `protobuf:"bytes,4,rep,name=Chapters,proto3" json:"Chapters,omitempty"` Status *ResponseStatus `protobuf:"bytes,5,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*GetCourseResponse) Descriptor
deprecated
func (*GetCourseResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCourseResponse.ProtoReflect.Descriptor instead.
func (*GetCourseResponse) GetChapters ¶ added in v0.7.0
func (x *GetCourseResponse) GetChapters() []*ChapterBasicInfo
func (*GetCourseResponse) GetDescription ¶
func (x *GetCourseResponse) GetDescription() string
func (*GetCourseResponse) GetName ¶
func (x *GetCourseResponse) GetName() string
func (*GetCourseResponse) GetStatus ¶
func (x *GetCourseResponse) GetStatus() *ResponseStatus
func (*GetCourseResponse) GetUUID ¶ added in v0.7.0
func (x *GetCourseResponse) GetUUID() string
func (*GetCourseResponse) ProtoMessage ¶
func (*GetCourseResponse) ProtoMessage()
func (*GetCourseResponse) ProtoReflect ¶ added in v0.6.8
func (x *GetCourseResponse) ProtoReflect() protoreflect.Message
func (*GetCourseResponse) Reset ¶
func (x *GetCourseResponse) Reset()
func (*GetCourseResponse) String ¶
func (x *GetCourseResponse) String() string
type GetQuestionsFullInfoRequest ¶ added in v0.7.0
type GetQuestionsFullInfoRequest struct { QuestionUUIDs []string `protobuf:"bytes,1,rep,name=QuestionUUIDs,proto3" json:"QuestionUUIDs,omitempty"` // contains filtered or unexported fields }
func (*GetQuestionsFullInfoRequest) Descriptor
deprecated
added in
v0.7.0
func (*GetQuestionsFullInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetQuestionsFullInfoRequest.ProtoReflect.Descriptor instead.
func (*GetQuestionsFullInfoRequest) GetQuestionUUIDs ¶ added in v0.7.0
func (x *GetQuestionsFullInfoRequest) GetQuestionUUIDs() []string
func (*GetQuestionsFullInfoRequest) ProtoMessage ¶ added in v0.7.0
func (*GetQuestionsFullInfoRequest) ProtoMessage()
func (*GetQuestionsFullInfoRequest) ProtoReflect ¶ added in v0.7.0
func (x *GetQuestionsFullInfoRequest) ProtoReflect() protoreflect.Message
func (*GetQuestionsFullInfoRequest) Reset ¶ added in v0.7.0
func (x *GetQuestionsFullInfoRequest) Reset()
func (*GetQuestionsFullInfoRequest) String ¶ added in v0.7.0
func (x *GetQuestionsFullInfoRequest) String() string
type GetQuestionsFullInfoResponse ¶ added in v0.7.0
type GetQuestionsFullInfoResponse struct { Questions []*QuestionFullInfo `protobuf:"bytes,1,rep,name=Questions,proto3" json:"Questions,omitempty"` Status *ResponseStatus `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*GetQuestionsFullInfoResponse) Descriptor
deprecated
added in
v0.7.0
func (*GetQuestionsFullInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetQuestionsFullInfoResponse.ProtoReflect.Descriptor instead.
func (*GetQuestionsFullInfoResponse) GetQuestions ¶ added in v0.7.0
func (x *GetQuestionsFullInfoResponse) GetQuestions() []*QuestionFullInfo
func (*GetQuestionsFullInfoResponse) GetStatus ¶ added in v0.7.0
func (x *GetQuestionsFullInfoResponse) GetStatus() *ResponseStatus
func (*GetQuestionsFullInfoResponse) ProtoMessage ¶ added in v0.7.0
func (*GetQuestionsFullInfoResponse) ProtoMessage()
func (*GetQuestionsFullInfoResponse) ProtoReflect ¶ added in v0.7.0
func (x *GetQuestionsFullInfoResponse) ProtoReflect() protoreflect.Message
func (*GetQuestionsFullInfoResponse) Reset ¶ added in v0.7.0
func (x *GetQuestionsFullInfoResponse) Reset()
func (*GetQuestionsFullInfoResponse) String ¶ added in v0.7.0
func (x *GetQuestionsFullInfoResponse) String() string
type GetQuestionsRequest ¶ added in v0.7.0
type GetQuestionsRequest struct { QuestionUUIDs []string `protobuf:"bytes,1,rep,name=QuestionUUIDs,proto3" json:"QuestionUUIDs,omitempty"` // contains filtered or unexported fields }
func (*GetQuestionsRequest) Descriptor
deprecated
added in
v0.7.0
func (*GetQuestionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetQuestionsRequest.ProtoReflect.Descriptor instead.
func (*GetQuestionsRequest) GetQuestionUUIDs ¶ added in v0.7.0
func (x *GetQuestionsRequest) GetQuestionUUIDs() []string
func (*GetQuestionsRequest) ProtoMessage ¶ added in v0.7.0
func (*GetQuestionsRequest) ProtoMessage()
func (*GetQuestionsRequest) ProtoReflect ¶ added in v0.7.0
func (x *GetQuestionsRequest) ProtoReflect() protoreflect.Message
func (*GetQuestionsRequest) Reset ¶ added in v0.7.0
func (x *GetQuestionsRequest) Reset()
func (*GetQuestionsRequest) String ¶ added in v0.7.0
func (x *GetQuestionsRequest) String() string
type GetQuestionsResponse ¶ added in v0.7.0
type GetQuestionsResponse struct { Questions []*QuestionBasicInfo `protobuf:"bytes,1,rep,name=Questions,proto3" json:"Questions,omitempty"` Status *ResponseStatus `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*GetQuestionsResponse) Descriptor
deprecated
added in
v0.7.0
func (*GetQuestionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetQuestionsResponse.ProtoReflect.Descriptor instead.
func (*GetQuestionsResponse) GetQuestions ¶ added in v0.7.0
func (x *GetQuestionsResponse) GetQuestions() []*QuestionBasicInfo
func (*GetQuestionsResponse) GetStatus ¶ added in v0.7.0
func (x *GetQuestionsResponse) GetStatus() *ResponseStatus
func (*GetQuestionsResponse) ProtoMessage ¶ added in v0.7.0
func (*GetQuestionsResponse) ProtoMessage()
func (*GetQuestionsResponse) ProtoReflect ¶ added in v0.7.0
func (x *GetQuestionsResponse) ProtoReflect() protoreflect.Message
func (*GetQuestionsResponse) Reset ¶ added in v0.7.0
func (x *GetQuestionsResponse) Reset()
func (*GetQuestionsResponse) String ¶ added in v0.7.0
func (x *GetQuestionsResponse) String() string
type KnowledgePointBasicInfo ¶ added in v0.7.0
type KnowledgePointBasicInfo struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` // contains filtered or unexported fields }
func (*KnowledgePointBasicInfo) Descriptor
deprecated
added in
v0.7.0
func (*KnowledgePointBasicInfo) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgePointBasicInfo.ProtoReflect.Descriptor instead.
func (*KnowledgePointBasicInfo) GetName ¶ added in v0.7.0
func (x *KnowledgePointBasicInfo) GetName() string
func (*KnowledgePointBasicInfo) GetUUID ¶ added in v0.7.0
func (x *KnowledgePointBasicInfo) GetUUID() string
func (*KnowledgePointBasicInfo) ProtoMessage ¶ added in v0.7.0
func (*KnowledgePointBasicInfo) ProtoMessage()
func (*KnowledgePointBasicInfo) ProtoReflect ¶ added in v0.7.0
func (x *KnowledgePointBasicInfo) ProtoReflect() protoreflect.Message
func (*KnowledgePointBasicInfo) Reset ¶ added in v0.7.0
func (x *KnowledgePointBasicInfo) Reset()
func (*KnowledgePointBasicInfo) String ¶ added in v0.7.0
func (x *KnowledgePointBasicInfo) String() string
type KnowledgePointFullInfo ¶ added in v0.7.0
type KnowledgePointFullInfo struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` ChapterUUID string `protobuf:"bytes,3,opt,name=ChapterUUID,proto3" json:"ChapterUUID,omitempty"` // contains filtered or unexported fields }
func (*KnowledgePointFullInfo) Descriptor
deprecated
added in
v0.7.0
func (*KnowledgePointFullInfo) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgePointFullInfo.ProtoReflect.Descriptor instead.
func (*KnowledgePointFullInfo) GetChapterUUID ¶ added in v0.7.0
func (x *KnowledgePointFullInfo) GetChapterUUID() string
func (*KnowledgePointFullInfo) GetName ¶ added in v0.7.0
func (x *KnowledgePointFullInfo) GetName() string
func (*KnowledgePointFullInfo) GetUUID ¶ added in v0.7.0
func (x *KnowledgePointFullInfo) GetUUID() string
func (*KnowledgePointFullInfo) ProtoMessage ¶ added in v0.7.0
func (*KnowledgePointFullInfo) ProtoMessage()
func (*KnowledgePointFullInfo) ProtoReflect ¶ added in v0.7.0
func (x *KnowledgePointFullInfo) ProtoReflect() protoreflect.Message
func (*KnowledgePointFullInfo) Reset ¶ added in v0.7.0
func (x *KnowledgePointFullInfo) Reset()
func (*KnowledgePointFullInfo) String ¶ added in v0.7.0
func (x *KnowledgePointFullInfo) String() string
type KnowledgePointServiceClient ¶ added in v0.6.8
type KnowledgePointServiceClient interface { ListCourseKnowledgePoints(ctx context.Context, in *ListCourseKnowledgePointsRequest, opts ...grpc.CallOption) (*ListCourseKnowledgePointsResponse, error) ListChapterKnowledgePoints(ctx context.Context, in *ListChapterKnowledgePointsRequest, opts ...grpc.CallOption) (*ListChapterKnowledgePointsResponse, error) CreateKnowledgePoint(ctx context.Context, in *CreateKnowledgePointRequest, opts ...grpc.CallOption) (*CreateKnowledgePointResponse, error) DeleteKnowledgePoint(ctx context.Context, in *DeleteKnowledgePointRequest, opts ...grpc.CallOption) (*DeleteKnowledgePointResponse, error) }
KnowledgePointServiceClient is the client API for KnowledgePointService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewKnowledgePointServiceClient ¶ added in v0.6.8
func NewKnowledgePointServiceClient(cc grpc.ClientConnInterface) KnowledgePointServiceClient
type KnowledgePointServiceServer ¶ added in v0.6.8
type KnowledgePointServiceServer interface { ListCourseKnowledgePoints(context.Context, *ListCourseKnowledgePointsRequest) (*ListCourseKnowledgePointsResponse, error) ListChapterKnowledgePoints(context.Context, *ListChapterKnowledgePointsRequest) (*ListChapterKnowledgePointsResponse, error) CreateKnowledgePoint(context.Context, *CreateKnowledgePointRequest) (*CreateKnowledgePointResponse, error) DeleteKnowledgePoint(context.Context, *DeleteKnowledgePointRequest) (*DeleteKnowledgePointResponse, error) }
KnowledgePointServiceServer is the server API for KnowledgePointService service.
type ListChapterKnowledgePointsRequest ¶ added in v0.7.0
type ListChapterKnowledgePointsRequest struct { ChapterUUID string `protobuf:"bytes,1,opt,name=ChapterUUID,proto3" json:"ChapterUUID,omitempty"` // contains filtered or unexported fields }
func (*ListChapterKnowledgePointsRequest) Descriptor
deprecated
added in
v0.7.0
func (*ListChapterKnowledgePointsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListChapterKnowledgePointsRequest.ProtoReflect.Descriptor instead.
func (*ListChapterKnowledgePointsRequest) GetChapterUUID ¶ added in v0.7.0
func (x *ListChapterKnowledgePointsRequest) GetChapterUUID() string
func (*ListChapterKnowledgePointsRequest) ProtoMessage ¶ added in v0.7.0
func (*ListChapterKnowledgePointsRequest) ProtoMessage()
func (*ListChapterKnowledgePointsRequest) ProtoReflect ¶ added in v0.7.0
func (x *ListChapterKnowledgePointsRequest) ProtoReflect() protoreflect.Message
func (*ListChapterKnowledgePointsRequest) Reset ¶ added in v0.7.0
func (x *ListChapterKnowledgePointsRequest) Reset()
func (*ListChapterKnowledgePointsRequest) String ¶ added in v0.7.0
func (x *ListChapterKnowledgePointsRequest) String() string
type ListChapterKnowledgePointsResponse ¶ added in v0.7.0
type ListChapterKnowledgePointsResponse struct { KnowledgePoints []*KnowledgePointBasicInfo `protobuf:"bytes,1,rep,name=KnowledgePoints,proto3" json:"KnowledgePoints,omitempty"` Status *ResponseStatus `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*ListChapterKnowledgePointsResponse) Descriptor
deprecated
added in
v0.7.0
func (*ListChapterKnowledgePointsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListChapterKnowledgePointsResponse.ProtoReflect.Descriptor instead.
func (*ListChapterKnowledgePointsResponse) GetKnowledgePoints ¶ added in v0.7.0
func (x *ListChapterKnowledgePointsResponse) GetKnowledgePoints() []*KnowledgePointBasicInfo
func (*ListChapterKnowledgePointsResponse) GetStatus ¶ added in v0.7.0
func (x *ListChapterKnowledgePointsResponse) GetStatus() *ResponseStatus
func (*ListChapterKnowledgePointsResponse) ProtoMessage ¶ added in v0.7.0
func (*ListChapterKnowledgePointsResponse) ProtoMessage()
func (*ListChapterKnowledgePointsResponse) ProtoReflect ¶ added in v0.7.0
func (x *ListChapterKnowledgePointsResponse) ProtoReflect() protoreflect.Message
func (*ListChapterKnowledgePointsResponse) Reset ¶ added in v0.7.0
func (x *ListChapterKnowledgePointsResponse) Reset()
func (*ListChapterKnowledgePointsResponse) String ¶ added in v0.7.0
func (x *ListChapterKnowledgePointsResponse) String() string
type ListChaptersRequest ¶ added in v0.7.0
type ListChaptersRequest struct { CourseUUID string `protobuf:"bytes,1,opt,name=CourseUUID,proto3" json:"CourseUUID,omitempty"` // contains filtered or unexported fields }
func (*ListChaptersRequest) Descriptor
deprecated
added in
v0.7.0
func (*ListChaptersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListChaptersRequest.ProtoReflect.Descriptor instead.
func (*ListChaptersRequest) GetCourseUUID ¶ added in v0.7.0
func (x *ListChaptersRequest) GetCourseUUID() string
func (*ListChaptersRequest) ProtoMessage ¶ added in v0.7.0
func (*ListChaptersRequest) ProtoMessage()
func (*ListChaptersRequest) ProtoReflect ¶ added in v0.7.0
func (x *ListChaptersRequest) ProtoReflect() protoreflect.Message
func (*ListChaptersRequest) Reset ¶ added in v0.7.0
func (x *ListChaptersRequest) Reset()
func (*ListChaptersRequest) String ¶ added in v0.7.0
func (x *ListChaptersRequest) String() string
type ListChaptersResponse ¶ added in v0.7.0
type ListChaptersResponse struct { Chapters []*ChapterBasicInfo `protobuf:"bytes,1,rep,name=Chapters,proto3" json:"Chapters,omitempty"` Status *ResponseStatus `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*ListChaptersResponse) Descriptor
deprecated
added in
v0.7.0
func (*ListChaptersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListChaptersResponse.ProtoReflect.Descriptor instead.
func (*ListChaptersResponse) GetChapters ¶ added in v0.7.0
func (x *ListChaptersResponse) GetChapters() []*ChapterBasicInfo
func (*ListChaptersResponse) GetStatus ¶ added in v0.7.0
func (x *ListChaptersResponse) GetStatus() *ResponseStatus
func (*ListChaptersResponse) ProtoMessage ¶ added in v0.7.0
func (*ListChaptersResponse) ProtoMessage()
func (*ListChaptersResponse) ProtoReflect ¶ added in v0.7.0
func (x *ListChaptersResponse) ProtoReflect() protoreflect.Message
func (*ListChaptersResponse) Reset ¶ added in v0.7.0
func (x *ListChaptersResponse) Reset()
func (*ListChaptersResponse) String ¶ added in v0.7.0
func (x *ListChaptersResponse) String() string
type ListClassStudentsRequest ¶ added in v0.7.0
type ListClassStudentsRequest struct { ClassUUID string `protobuf:"bytes,1,opt,name=ClassUUID,proto3" json:"ClassUUID,omitempty"` // contains filtered or unexported fields }
func (*ListClassStudentsRequest) Descriptor
deprecated
added in
v0.7.0
func (*ListClassStudentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListClassStudentsRequest.ProtoReflect.Descriptor instead.
func (*ListClassStudentsRequest) GetClassUUID ¶ added in v0.7.0
func (x *ListClassStudentsRequest) GetClassUUID() string
func (*ListClassStudentsRequest) ProtoMessage ¶ added in v0.7.0
func (*ListClassStudentsRequest) ProtoMessage()
func (*ListClassStudentsRequest) ProtoReflect ¶ added in v0.7.0
func (x *ListClassStudentsRequest) ProtoReflect() protoreflect.Message
func (*ListClassStudentsRequest) Reset ¶ added in v0.7.0
func (x *ListClassStudentsRequest) Reset()
func (*ListClassStudentsRequest) String ¶ added in v0.7.0
func (x *ListClassStudentsRequest) String() string
type ListClassStudentsResponse ¶ added in v0.7.0
type ListClassStudentsResponse struct { Students []*StudentBasicInfo `protobuf:"bytes,1,rep,name=Students,proto3" json:"Students,omitempty"` Status *ResponseStatus `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*ListClassStudentsResponse) Descriptor
deprecated
added in
v0.7.0
func (*ListClassStudentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListClassStudentsResponse.ProtoReflect.Descriptor instead.
func (*ListClassStudentsResponse) GetStatus ¶ added in v0.7.0
func (x *ListClassStudentsResponse) GetStatus() *ResponseStatus
func (*ListClassStudentsResponse) GetStudents ¶ added in v0.7.0
func (x *ListClassStudentsResponse) GetStudents() []*StudentBasicInfo
func (*ListClassStudentsResponse) ProtoMessage ¶ added in v0.7.0
func (*ListClassStudentsResponse) ProtoMessage()
func (*ListClassStudentsResponse) ProtoReflect ¶ added in v0.7.0
func (x *ListClassStudentsResponse) ProtoReflect() protoreflect.Message
func (*ListClassStudentsResponse) Reset ¶ added in v0.7.0
func (x *ListClassStudentsResponse) Reset()
func (*ListClassStudentsResponse) String ¶ added in v0.7.0
func (x *ListClassStudentsResponse) String() string
type ListClassesResponse ¶ added in v0.7.0
type ListClassesResponse struct { Classes []*ClassBasicInfo `protobuf:"bytes,1,rep,name=Classes,proto3" json:"Classes,omitempty"` Status *ResponseStatus `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*ListClassesResponse) Descriptor
deprecated
added in
v0.7.0
func (*ListClassesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListClassesResponse.ProtoReflect.Descriptor instead.
func (*ListClassesResponse) GetClasses ¶ added in v0.7.0
func (x *ListClassesResponse) GetClasses() []*ClassBasicInfo
func (*ListClassesResponse) GetStatus ¶ added in v0.7.0
func (x *ListClassesResponse) GetStatus() *ResponseStatus
func (*ListClassesResponse) ProtoMessage ¶ added in v0.7.0
func (*ListClassesResponse) ProtoMessage()
func (*ListClassesResponse) ProtoReflect ¶ added in v0.7.0
func (x *ListClassesResponse) ProtoReflect() protoreflect.Message
func (*ListClassesResponse) Reset ¶ added in v0.7.0
func (x *ListClassesResponse) Reset()
func (*ListClassesResponse) String ¶ added in v0.7.0
func (x *ListClassesResponse) String() string
type ListCourseClassesRequest ¶ added in v0.7.0
type ListCourseClassesRequest struct { CourseUUID string `protobuf:"bytes,1,opt,name=CourseUUID,proto3" json:"CourseUUID,omitempty"` // contains filtered or unexported fields }
func (*ListCourseClassesRequest) Descriptor
deprecated
added in
v0.7.0
func (*ListCourseClassesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCourseClassesRequest.ProtoReflect.Descriptor instead.
func (*ListCourseClassesRequest) GetCourseUUID ¶ added in v0.7.0
func (x *ListCourseClassesRequest) GetCourseUUID() string
func (*ListCourseClassesRequest) ProtoMessage ¶ added in v0.7.0
func (*ListCourseClassesRequest) ProtoMessage()
func (*ListCourseClassesRequest) ProtoReflect ¶ added in v0.7.0
func (x *ListCourseClassesRequest) ProtoReflect() protoreflect.Message
func (*ListCourseClassesRequest) Reset ¶ added in v0.7.0
func (x *ListCourseClassesRequest) Reset()
func (*ListCourseClassesRequest) String ¶ added in v0.7.0
func (x *ListCourseClassesRequest) String() string
type ListCourseClassesResponse ¶ added in v0.7.0
type ListCourseClassesResponse struct { Classes []*ClassBasicInfo `protobuf:"bytes,1,rep,name=Classes,proto3" json:"Classes,omitempty"` Status *ResponseStatus `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*ListCourseClassesResponse) Descriptor
deprecated
added in
v0.7.0
func (*ListCourseClassesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCourseClassesResponse.ProtoReflect.Descriptor instead.
func (*ListCourseClassesResponse) GetClasses ¶ added in v0.7.0
func (x *ListCourseClassesResponse) GetClasses() []*ClassBasicInfo
func (*ListCourseClassesResponse) GetStatus ¶ added in v0.7.0
func (x *ListCourseClassesResponse) GetStatus() *ResponseStatus
func (*ListCourseClassesResponse) ProtoMessage ¶ added in v0.7.0
func (*ListCourseClassesResponse) ProtoMessage()
func (*ListCourseClassesResponse) ProtoReflect ¶ added in v0.7.0
func (x *ListCourseClassesResponse) ProtoReflect() protoreflect.Message
func (*ListCourseClassesResponse) Reset ¶ added in v0.7.0
func (x *ListCourseClassesResponse) Reset()
func (*ListCourseClassesResponse) String ¶ added in v0.7.0
func (x *ListCourseClassesResponse) String() string
type ListCourseKnowledgePointsRequest ¶ added in v0.7.0
type ListCourseKnowledgePointsRequest struct { CourseUUID string `protobuf:"bytes,1,opt,name=CourseUUID,proto3" json:"CourseUUID,omitempty"` // contains filtered or unexported fields }
func (*ListCourseKnowledgePointsRequest) Descriptor
deprecated
added in
v0.7.0
func (*ListCourseKnowledgePointsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCourseKnowledgePointsRequest.ProtoReflect.Descriptor instead.
func (*ListCourseKnowledgePointsRequest) GetCourseUUID ¶ added in v0.7.0
func (x *ListCourseKnowledgePointsRequest) GetCourseUUID() string
func (*ListCourseKnowledgePointsRequest) ProtoMessage ¶ added in v0.7.0
func (*ListCourseKnowledgePointsRequest) ProtoMessage()
func (*ListCourseKnowledgePointsRequest) ProtoReflect ¶ added in v0.7.0
func (x *ListCourseKnowledgePointsRequest) ProtoReflect() protoreflect.Message
func (*ListCourseKnowledgePointsRequest) Reset ¶ added in v0.7.0
func (x *ListCourseKnowledgePointsRequest) Reset()
func (*ListCourseKnowledgePointsRequest) String ¶ added in v0.7.0
func (x *ListCourseKnowledgePointsRequest) String() string
type ListCourseKnowledgePointsResponse ¶ added in v0.7.0
type ListCourseKnowledgePointsResponse struct { KnowledgePoints []*KnowledgePointFullInfo `protobuf:"bytes,1,rep,name=KnowledgePoints,proto3" json:"KnowledgePoints,omitempty"` Status *ResponseStatus `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*ListCourseKnowledgePointsResponse) Descriptor
deprecated
added in
v0.7.0
func (*ListCourseKnowledgePointsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCourseKnowledgePointsResponse.ProtoReflect.Descriptor instead.
func (*ListCourseKnowledgePointsResponse) GetKnowledgePoints ¶ added in v0.7.0
func (x *ListCourseKnowledgePointsResponse) GetKnowledgePoints() []*KnowledgePointFullInfo
func (*ListCourseKnowledgePointsResponse) GetStatus ¶ added in v0.7.0
func (x *ListCourseKnowledgePointsResponse) GetStatus() *ResponseStatus
func (*ListCourseKnowledgePointsResponse) ProtoMessage ¶ added in v0.7.0
func (*ListCourseKnowledgePointsResponse) ProtoMessage()
func (*ListCourseKnowledgePointsResponse) ProtoReflect ¶ added in v0.7.0
func (x *ListCourseKnowledgePointsResponse) ProtoReflect() protoreflect.Message
func (*ListCourseKnowledgePointsResponse) Reset ¶ added in v0.7.0
func (x *ListCourseKnowledgePointsResponse) Reset()
func (*ListCourseKnowledgePointsResponse) String ¶ added in v0.7.0
func (x *ListCourseKnowledgePointsResponse) String() string
type ListCoursesResponse ¶ added in v0.7.0
type ListCoursesResponse struct { Courses []*ListCoursesResponse_CourseBasicInfo `protobuf:"bytes,1,rep,name=Courses,proto3" json:"Courses,omitempty"` Status *ResponseStatus `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*ListCoursesResponse) Descriptor
deprecated
added in
v0.7.0
func (*ListCoursesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCoursesResponse.ProtoReflect.Descriptor instead.
func (*ListCoursesResponse) GetCourses ¶ added in v0.7.0
func (x *ListCoursesResponse) GetCourses() []*ListCoursesResponse_CourseBasicInfo
func (*ListCoursesResponse) GetStatus ¶ added in v0.7.0
func (x *ListCoursesResponse) GetStatus() *ResponseStatus
func (*ListCoursesResponse) ProtoMessage ¶ added in v0.7.0
func (*ListCoursesResponse) ProtoMessage()
func (*ListCoursesResponse) ProtoReflect ¶ added in v0.7.0
func (x *ListCoursesResponse) ProtoReflect() protoreflect.Message
func (*ListCoursesResponse) Reset ¶ added in v0.7.0
func (x *ListCoursesResponse) Reset()
func (*ListCoursesResponse) String ¶ added in v0.7.0
func (x *ListCoursesResponse) String() string
type ListCoursesResponse_CourseBasicInfo ¶ added in v0.7.0
type ListCoursesResponse_CourseBasicInfo struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"` // contains filtered or unexported fields }
func (*ListCoursesResponse_CourseBasicInfo) Descriptor
deprecated
added in
v0.7.0
func (*ListCoursesResponse_CourseBasicInfo) Descriptor() ([]byte, []int)
Deprecated: Use ListCoursesResponse_CourseBasicInfo.ProtoReflect.Descriptor instead.
func (*ListCoursesResponse_CourseBasicInfo) GetDescription ¶ added in v0.7.0
func (x *ListCoursesResponse_CourseBasicInfo) GetDescription() string
func (*ListCoursesResponse_CourseBasicInfo) GetName ¶ added in v0.7.0
func (x *ListCoursesResponse_CourseBasicInfo) GetName() string
func (*ListCoursesResponse_CourseBasicInfo) GetUUID ¶ added in v0.7.0
func (x *ListCoursesResponse_CourseBasicInfo) GetUUID() string
func (*ListCoursesResponse_CourseBasicInfo) ProtoMessage ¶ added in v0.7.0
func (*ListCoursesResponse_CourseBasicInfo) ProtoMessage()
func (*ListCoursesResponse_CourseBasicInfo) ProtoReflect ¶ added in v0.7.0
func (x *ListCoursesResponse_CourseBasicInfo) ProtoReflect() protoreflect.Message
func (*ListCoursesResponse_CourseBasicInfo) Reset ¶ added in v0.7.0
func (x *ListCoursesResponse_CourseBasicInfo) Reset()
func (*ListCoursesResponse_CourseBasicInfo) String ¶ added in v0.7.0
func (x *ListCoursesResponse_CourseBasicInfo) String() string
type ListManagedClassesResponse ¶ added in v0.7.0
type ListManagedClassesResponse struct { Classes []*ClassBasicInfo `protobuf:"bytes,1,rep,name=Classes,proto3" json:"Classes,omitempty"` Status *ResponseStatus `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*ListManagedClassesResponse) Descriptor
deprecated
added in
v0.7.0
func (*ListManagedClassesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListManagedClassesResponse.ProtoReflect.Descriptor instead.
func (*ListManagedClassesResponse) GetClasses ¶ added in v0.7.0
func (x *ListManagedClassesResponse) GetClasses() []*ClassBasicInfo
func (*ListManagedClassesResponse) GetStatus ¶ added in v0.7.0
func (x *ListManagedClassesResponse) GetStatus() *ResponseStatus
func (*ListManagedClassesResponse) ProtoMessage ¶ added in v0.7.0
func (*ListManagedClassesResponse) ProtoMessage()
func (*ListManagedClassesResponse) ProtoReflect ¶ added in v0.7.0
func (x *ListManagedClassesResponse) ProtoReflect() protoreflect.Message
func (*ListManagedClassesResponse) Reset ¶ added in v0.7.0
func (x *ListManagedClassesResponse) Reset()
func (*ListManagedClassesResponse) String ¶ added in v0.7.0
func (x *ListManagedClassesResponse) String() string
type ListQuestionsRequest ¶ added in v0.7.0
type ListQuestionsRequest struct { ChapterUUID string `protobuf:"bytes,1,opt,name=ChapterUUID,proto3" json:"ChapterUUID,omitempty"` // contains filtered or unexported fields }
func (*ListQuestionsRequest) Descriptor
deprecated
added in
v0.7.0
func (*ListQuestionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListQuestionsRequest.ProtoReflect.Descriptor instead.
func (*ListQuestionsRequest) GetChapterUUID ¶ added in v0.7.0
func (x *ListQuestionsRequest) GetChapterUUID() string
func (*ListQuestionsRequest) ProtoMessage ¶ added in v0.7.0
func (*ListQuestionsRequest) ProtoMessage()
func (*ListQuestionsRequest) ProtoReflect ¶ added in v0.7.0
func (x *ListQuestionsRequest) ProtoReflect() protoreflect.Message
func (*ListQuestionsRequest) Reset ¶ added in v0.7.0
func (x *ListQuestionsRequest) Reset()
func (*ListQuestionsRequest) String ¶ added in v0.7.0
func (x *ListQuestionsRequest) String() string
type ListQuestionsResponse ¶ added in v0.7.0
type ListQuestionsResponse struct { Questions []*QuestionMoreInfo `protobuf:"bytes,1,rep,name=Questions,proto3" json:"Questions,omitempty"` Status *ResponseStatus `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*ListQuestionsResponse) Descriptor
deprecated
added in
v0.7.0
func (*ListQuestionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListQuestionsResponse.ProtoReflect.Descriptor instead.
func (*ListQuestionsResponse) GetQuestions ¶ added in v0.7.0
func (x *ListQuestionsResponse) GetQuestions() []*QuestionMoreInfo
func (*ListQuestionsResponse) GetStatus ¶ added in v0.7.0
func (x *ListQuestionsResponse) GetStatus() *ResponseStatus
func (*ListQuestionsResponse) ProtoMessage ¶ added in v0.7.0
func (*ListQuestionsResponse) ProtoMessage()
func (*ListQuestionsResponse) ProtoReflect ¶ added in v0.7.0
func (x *ListQuestionsResponse) ProtoReflect() protoreflect.Message
func (*ListQuestionsResponse) Reset ¶ added in v0.7.0
func (x *ListQuestionsResponse) Reset()
func (*ListQuestionsResponse) String ¶ added in v0.7.0
func (x *ListQuestionsResponse) String() string
type ListRecommendedQuestionsResponse ¶ added in v0.7.0
type ListRecommendedQuestionsResponse struct { Questions []*QuestionBasicInfo `protobuf:"bytes,1,rep,name=Questions,proto3" json:"Questions,omitempty"` Status *ResponseStatus `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*ListRecommendedQuestionsResponse) Descriptor
deprecated
added in
v0.7.0
func (*ListRecommendedQuestionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRecommendedQuestionsResponse.ProtoReflect.Descriptor instead.
func (*ListRecommendedQuestionsResponse) GetQuestions ¶ added in v0.7.0
func (x *ListRecommendedQuestionsResponse) GetQuestions() []*QuestionBasicInfo
func (*ListRecommendedQuestionsResponse) GetStatus ¶ added in v0.7.0
func (x *ListRecommendedQuestionsResponse) GetStatus() *ResponseStatus
func (*ListRecommendedQuestionsResponse) ProtoMessage ¶ added in v0.7.0
func (*ListRecommendedQuestionsResponse) ProtoMessage()
func (*ListRecommendedQuestionsResponse) ProtoReflect ¶ added in v0.7.0
func (x *ListRecommendedQuestionsResponse) ProtoReflect() protoreflect.Message
func (*ListRecommendedQuestionsResponse) Reset ¶ added in v0.7.0
func (x *ListRecommendedQuestionsResponse) Reset()
func (*ListRecommendedQuestionsResponse) String ¶ added in v0.7.0
func (x *ListRecommendedQuestionsResponse) String() string
type ListWrongQuestionAnswersResponse ¶ added in v0.7.0
type ListWrongQuestionAnswersResponse struct { Questions []*QuestionBasicInfoAndAnswer `protobuf:"bytes,1,rep,name=Questions,proto3" json:"Questions,omitempty"` Status *ResponseStatus `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*ListWrongQuestionAnswersResponse) Descriptor
deprecated
added in
v0.7.0
func (*ListWrongQuestionAnswersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListWrongQuestionAnswersResponse.ProtoReflect.Descriptor instead.
func (*ListWrongQuestionAnswersResponse) GetQuestions ¶ added in v0.7.0
func (x *ListWrongQuestionAnswersResponse) GetQuestions() []*QuestionBasicInfoAndAnswer
func (*ListWrongQuestionAnswersResponse) GetStatus ¶ added in v0.7.0
func (x *ListWrongQuestionAnswersResponse) GetStatus() *ResponseStatus
func (*ListWrongQuestionAnswersResponse) ProtoMessage ¶ added in v0.7.0
func (*ListWrongQuestionAnswersResponse) ProtoMessage()
func (*ListWrongQuestionAnswersResponse) ProtoReflect ¶ added in v0.7.0
func (x *ListWrongQuestionAnswersResponse) ProtoReflect() protoreflect.Message
func (*ListWrongQuestionAnswersResponse) Reset ¶ added in v0.7.0
func (x *ListWrongQuestionAnswersResponse) Reset()
func (*ListWrongQuestionAnswersResponse) String ¶ added in v0.7.0
func (x *ListWrongQuestionAnswersResponse) String() string
type LoginRequest ¶
type LoginRequest struct { AccountID uint32 `protobuf:"varint,1,opt,name=AccountID,proto3" json:"AccountID,omitempty"` PasswordMD5 string `protobuf:"bytes,2,opt,name=PasswordMD5,proto3" json:"PasswordMD5,omitempty"` // contains filtered or unexported fields }
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetAccountID ¶
func (x *LoginRequest) GetAccountID() uint32
func (*LoginRequest) GetPasswordMD5 ¶
func (x *LoginRequest) GetPasswordMD5() string
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶ added in v0.6.8
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
type LoginResponse ¶
type LoginResponse struct { Token string `protobuf:"bytes,1,opt,name=Token,proto3" json:"Token,omitempty"` Status *ResponseStatus `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetStatus ¶
func (x *LoginResponse) GetStatus() *ResponseStatus
func (*LoginResponse) GetToken ¶
func (x *LoginResponse) GetToken() string
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶ added in v0.6.8
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (x *LoginResponse) String() string
type QuestionAnswers ¶ added in v0.7.0
type QuestionAnswers struct { AnswerA string `protobuf:"bytes,1,opt,name=AnswerA,proto3" json:"AnswerA,omitempty"` AnswerB string `protobuf:"bytes,2,opt,name=AnswerB,proto3" json:"AnswerB,omitempty"` AnswerC string `protobuf:"bytes,3,opt,name=AnswerC,proto3" json:"AnswerC,omitempty"` AnswerD string `protobuf:"bytes,4,opt,name=AnswerD,proto3" json:"AnswerD,omitempty"` AnswerE string `protobuf:"bytes,5,opt,name=AnswerE,proto3" json:"AnswerE,omitempty"` AnswerF string `protobuf:"bytes,6,opt,name=AnswerF,proto3" json:"AnswerF,omitempty"` AnswerG string `protobuf:"bytes,7,opt,name=AnswerG,proto3" json:"AnswerG,omitempty"` AnswerH string `protobuf:"bytes,8,opt,name=AnswerH,proto3" json:"AnswerH,omitempty"` // contains filtered or unexported fields }
func (*QuestionAnswers) Descriptor
deprecated
added in
v0.7.0
func (*QuestionAnswers) Descriptor() ([]byte, []int)
Deprecated: Use QuestionAnswers.ProtoReflect.Descriptor instead.
func (*QuestionAnswers) GetAnswerA ¶ added in v0.7.0
func (x *QuestionAnswers) GetAnswerA() string
func (*QuestionAnswers) GetAnswerB ¶ added in v0.7.0
func (x *QuestionAnswers) GetAnswerB() string
func (*QuestionAnswers) GetAnswerC ¶ added in v0.7.0
func (x *QuestionAnswers) GetAnswerC() string
func (*QuestionAnswers) GetAnswerD ¶ added in v0.7.0
func (x *QuestionAnswers) GetAnswerD() string
func (*QuestionAnswers) GetAnswerE ¶ added in v0.7.0
func (x *QuestionAnswers) GetAnswerE() string
func (*QuestionAnswers) GetAnswerF ¶ added in v0.7.0
func (x *QuestionAnswers) GetAnswerF() string
func (*QuestionAnswers) GetAnswerG ¶ added in v0.7.0
func (x *QuestionAnswers) GetAnswerG() string
func (*QuestionAnswers) GetAnswerH ¶ added in v0.7.0
func (x *QuestionAnswers) GetAnswerH() string
func (*QuestionAnswers) ProtoMessage ¶ added in v0.7.0
func (*QuestionAnswers) ProtoMessage()
func (*QuestionAnswers) ProtoReflect ¶ added in v0.7.0
func (x *QuestionAnswers) ProtoReflect() protoreflect.Message
func (*QuestionAnswers) Reset ¶ added in v0.7.0
func (x *QuestionAnswers) Reset()
func (*QuestionAnswers) String ¶ added in v0.7.0
func (x *QuestionAnswers) String() string
type QuestionBasicInfo ¶ added in v0.7.0
type QuestionBasicInfo struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` Question string `protobuf:"bytes,2,opt,name=Question,proto3" json:"Question,omitempty"` Analysis string `protobuf:"bytes,3,opt,name=Analysis,proto3" json:"Analysis,omitempty"` Answers *QuestionAnswers `protobuf:"bytes,4,opt,name=Answers,proto3" json:"Answers,omitempty"` Options *QuestionOptions `protobuf:"bytes,5,opt,name=Options,proto3" json:"Options,omitempty"` Type QuestionType `protobuf:"varint,6,opt,name=Type,proto3,enum=pb.QuestionType" json:"Type,omitempty"` // contains filtered or unexported fields }
func (*QuestionBasicInfo) Descriptor
deprecated
added in
v0.7.0
func (*QuestionBasicInfo) Descriptor() ([]byte, []int)
Deprecated: Use QuestionBasicInfo.ProtoReflect.Descriptor instead.
func (*QuestionBasicInfo) GetAnalysis ¶ added in v0.7.0
func (x *QuestionBasicInfo) GetAnalysis() string
func (*QuestionBasicInfo) GetAnswers ¶ added in v0.7.0
func (x *QuestionBasicInfo) GetAnswers() *QuestionAnswers
func (*QuestionBasicInfo) GetOptions ¶ added in v0.7.0
func (x *QuestionBasicInfo) GetOptions() *QuestionOptions
func (*QuestionBasicInfo) GetQuestion ¶ added in v0.7.0
func (x *QuestionBasicInfo) GetQuestion() string
func (*QuestionBasicInfo) GetType ¶ added in v0.7.0
func (x *QuestionBasicInfo) GetType() QuestionType
func (*QuestionBasicInfo) GetUUID ¶ added in v0.7.0
func (x *QuestionBasicInfo) GetUUID() string
func (*QuestionBasicInfo) ProtoMessage ¶ added in v0.7.0
func (*QuestionBasicInfo) ProtoMessage()
func (*QuestionBasicInfo) ProtoReflect ¶ added in v0.7.0
func (x *QuestionBasicInfo) ProtoReflect() protoreflect.Message
func (*QuestionBasicInfo) Reset ¶ added in v0.7.0
func (x *QuestionBasicInfo) Reset()
func (*QuestionBasicInfo) String ¶ added in v0.7.0
func (x *QuestionBasicInfo) String() string
type QuestionBasicInfoAndAnswer ¶ added in v0.7.0
type QuestionBasicInfoAndAnswer struct { Question *QuestionBasicInfo `protobuf:"bytes,1,opt,name=Question,proto3" json:"Question,omitempty"` Answers *QuestionOptions `protobuf:"bytes,2,opt,name=Answers,proto3" json:"Answers,omitempty"` // contains filtered or unexported fields }
func (*QuestionBasicInfoAndAnswer) Descriptor
deprecated
added in
v0.7.0
func (*QuestionBasicInfoAndAnswer) Descriptor() ([]byte, []int)
Deprecated: Use QuestionBasicInfoAndAnswer.ProtoReflect.Descriptor instead.
func (*QuestionBasicInfoAndAnswer) GetAnswers ¶ added in v0.7.0
func (x *QuestionBasicInfoAndAnswer) GetAnswers() *QuestionOptions
func (*QuestionBasicInfoAndAnswer) GetQuestion ¶ added in v0.7.0
func (x *QuestionBasicInfoAndAnswer) GetQuestion() *QuestionBasicInfo
func (*QuestionBasicInfoAndAnswer) ProtoMessage ¶ added in v0.7.0
func (*QuestionBasicInfoAndAnswer) ProtoMessage()
func (*QuestionBasicInfoAndAnswer) ProtoReflect ¶ added in v0.7.0
func (x *QuestionBasicInfoAndAnswer) ProtoReflect() protoreflect.Message
func (*QuestionBasicInfoAndAnswer) Reset ¶ added in v0.7.0
func (x *QuestionBasicInfoAndAnswer) Reset()
func (*QuestionBasicInfoAndAnswer) String ¶ added in v0.7.0
func (x *QuestionBasicInfoAndAnswer) String() string
type QuestionFullInfo ¶ added in v0.7.0
type QuestionFullInfo struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` Question string `protobuf:"bytes,2,opt,name=Question,proto3" json:"Question,omitempty"` Analysis string `protobuf:"bytes,3,opt,name=Analysis,proto3" json:"Analysis,omitempty"` Answers *QuestionAnswers `protobuf:"bytes,4,opt,name=Answers,proto3" json:"Answers,omitempty"` Options *QuestionOptions `protobuf:"bytes,5,opt,name=Options,proto3" json:"Options,omitempty"` Type QuestionType `protobuf:"varint,6,opt,name=Type,proto3,enum=pb.QuestionType" json:"Type,omitempty"` Level QuestionLevel `protobuf:"varint,7,opt,name=Level,proto3,enum=pb.QuestionLevel" json:"Level,omitempty"` AnswerCount uint32 `protobuf:"varint,8,opt,name=AnswerCount,proto3" json:"AnswerCount,omitempty"` CorrectCount uint32 `protobuf:"varint,9,opt,name=CorrectCount,proto3" json:"CorrectCount,omitempty"` ChapterUUID string `protobuf:"bytes,10,opt,name=ChapterUUID,proto3" json:"ChapterUUID,omitempty"` KnowledgePoints []*KnowledgePointBasicInfo `protobuf:"bytes,11,rep,name=KnowledgePoints,proto3" json:"KnowledgePoints,omitempty"` // contains filtered or unexported fields }
func (*QuestionFullInfo) Descriptor
deprecated
added in
v0.7.0
func (*QuestionFullInfo) Descriptor() ([]byte, []int)
Deprecated: Use QuestionFullInfo.ProtoReflect.Descriptor instead.
func (*QuestionFullInfo) GetAnalysis ¶ added in v0.7.0
func (x *QuestionFullInfo) GetAnalysis() string
func (*QuestionFullInfo) GetAnswerCount ¶ added in v0.7.0
func (x *QuestionFullInfo) GetAnswerCount() uint32
func (*QuestionFullInfo) GetAnswers ¶ added in v0.7.0
func (x *QuestionFullInfo) GetAnswers() *QuestionAnswers
func (*QuestionFullInfo) GetChapterUUID ¶ added in v0.7.0
func (x *QuestionFullInfo) GetChapterUUID() string
func (*QuestionFullInfo) GetCorrectCount ¶ added in v0.7.0
func (x *QuestionFullInfo) GetCorrectCount() uint32
func (*QuestionFullInfo) GetKnowledgePoints ¶ added in v0.7.0
func (x *QuestionFullInfo) GetKnowledgePoints() []*KnowledgePointBasicInfo
func (*QuestionFullInfo) GetLevel ¶ added in v0.7.0
func (x *QuestionFullInfo) GetLevel() QuestionLevel
func (*QuestionFullInfo) GetOptions ¶ added in v0.7.0
func (x *QuestionFullInfo) GetOptions() *QuestionOptions
func (*QuestionFullInfo) GetQuestion ¶ added in v0.7.0
func (x *QuestionFullInfo) GetQuestion() string
func (*QuestionFullInfo) GetType ¶ added in v0.7.0
func (x *QuestionFullInfo) GetType() QuestionType
func (*QuestionFullInfo) GetUUID ¶ added in v0.7.0
func (x *QuestionFullInfo) GetUUID() string
func (*QuestionFullInfo) ProtoMessage ¶ added in v0.7.0
func (*QuestionFullInfo) ProtoMessage()
func (*QuestionFullInfo) ProtoReflect ¶ added in v0.7.0
func (x *QuestionFullInfo) ProtoReflect() protoreflect.Message
func (*QuestionFullInfo) Reset ¶ added in v0.7.0
func (x *QuestionFullInfo) Reset()
func (*QuestionFullInfo) String ¶ added in v0.7.0
func (x *QuestionFullInfo) String() string
type QuestionLevel ¶ added in v0.7.0
type QuestionLevel int32
const ( QuestionLevel_Basic QuestionLevel = 0 QuestionLevel_Normal QuestionLevel = 1 QuestionLevel_Difficult QuestionLevel = 2 QuestionLevel_Challenging QuestionLevel = 3 )
func (QuestionLevel) Descriptor ¶ added in v0.7.0
func (QuestionLevel) Descriptor() protoreflect.EnumDescriptor
func (QuestionLevel) Enum ¶ added in v0.7.0
func (x QuestionLevel) Enum() *QuestionLevel
func (QuestionLevel) EnumDescriptor
deprecated
added in
v0.7.0
func (QuestionLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use QuestionLevel.Descriptor instead.
func (QuestionLevel) Number ¶ added in v0.7.0
func (x QuestionLevel) Number() protoreflect.EnumNumber
func (QuestionLevel) String ¶ added in v0.7.0
func (x QuestionLevel) String() string
func (QuestionLevel) Type ¶ added in v0.7.0
func (QuestionLevel) Type() protoreflect.EnumType
type QuestionLittleInfo ¶ added in v0.7.0
type QuestionLittleInfo struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` Question string `protobuf:"bytes,2,opt,name=Question,proto3" json:"Question,omitempty"` Type QuestionType `protobuf:"varint,3,opt,name=Type,proto3,enum=pb.QuestionType" json:"Type,omitempty"` Level QuestionLevel `protobuf:"varint,4,opt,name=Level,proto3,enum=pb.QuestionLevel" json:"Level,omitempty"` AnswerCount int32 `protobuf:"varint,5,opt,name=AnswerCount,proto3" json:"AnswerCount,omitempty"` CorrectCount int32 `protobuf:"varint,6,opt,name=CorrectCount,proto3" json:"CorrectCount,omitempty"` ChapterUUID string `protobuf:"bytes,7,opt,name=ChapterUUID,proto3" json:"ChapterUUID,omitempty"` KnowledgePoints []*KnowledgePointBasicInfo `protobuf:"bytes,8,rep,name=KnowledgePoints,proto3" json:"KnowledgePoints,omitempty"` // contains filtered or unexported fields }
func (*QuestionLittleInfo) Descriptor
deprecated
added in
v0.7.0
func (*QuestionLittleInfo) Descriptor() ([]byte, []int)
Deprecated: Use QuestionLittleInfo.ProtoReflect.Descriptor instead.
func (*QuestionLittleInfo) GetAnswerCount ¶ added in v0.7.0
func (x *QuestionLittleInfo) GetAnswerCount() int32
func (*QuestionLittleInfo) GetChapterUUID ¶ added in v0.7.0
func (x *QuestionLittleInfo) GetChapterUUID() string
func (*QuestionLittleInfo) GetCorrectCount ¶ added in v0.7.0
func (x *QuestionLittleInfo) GetCorrectCount() int32
func (*QuestionLittleInfo) GetKnowledgePoints ¶ added in v0.7.0
func (x *QuestionLittleInfo) GetKnowledgePoints() []*KnowledgePointBasicInfo
func (*QuestionLittleInfo) GetLevel ¶ added in v0.7.0
func (x *QuestionLittleInfo) GetLevel() QuestionLevel
func (*QuestionLittleInfo) GetQuestion ¶ added in v0.7.0
func (x *QuestionLittleInfo) GetQuestion() string
func (*QuestionLittleInfo) GetType ¶ added in v0.7.0
func (x *QuestionLittleInfo) GetType() QuestionType
func (*QuestionLittleInfo) GetUUID ¶ added in v0.7.0
func (x *QuestionLittleInfo) GetUUID() string
func (*QuestionLittleInfo) ProtoMessage ¶ added in v0.7.0
func (*QuestionLittleInfo) ProtoMessage()
func (*QuestionLittleInfo) ProtoReflect ¶ added in v0.7.0
func (x *QuestionLittleInfo) ProtoReflect() protoreflect.Message
func (*QuestionLittleInfo) Reset ¶ added in v0.7.0
func (x *QuestionLittleInfo) Reset()
func (*QuestionLittleInfo) String ¶ added in v0.7.0
func (x *QuestionLittleInfo) String() string
type QuestionMoreInfo ¶ added in v0.7.0
type QuestionMoreInfo struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` Question string `protobuf:"bytes,2,opt,name=Question,proto3" json:"Question,omitempty"` Analysis string `protobuf:"bytes,3,opt,name=Analysis,proto3" json:"Analysis,omitempty"` Answers *QuestionAnswers `protobuf:"bytes,4,opt,name=Answers,proto3" json:"Answers,omitempty"` Options *QuestionOptions `protobuf:"bytes,5,opt,name=Options,proto3" json:"Options,omitempty"` Type QuestionType `protobuf:"varint,21,opt,name=Type,proto3,enum=pb.QuestionType" json:"Type,omitempty"` Level QuestionLevel `protobuf:"varint,22,opt,name=Level,proto3,enum=pb.QuestionLevel" json:"Level,omitempty"` AnswerCount uint32 `protobuf:"varint,23,opt,name=AnswerCount,proto3" json:"AnswerCount,omitempty"` CorrectCount uint32 `protobuf:"varint,24,opt,name=CorrectCount,proto3" json:"CorrectCount,omitempty"` ChapterUUID string `protobuf:"bytes,25,opt,name=ChapterUUID,proto3" json:"ChapterUUID,omitempty"` // contains filtered or unexported fields }
func (*QuestionMoreInfo) Descriptor
deprecated
added in
v0.7.0
func (*QuestionMoreInfo) Descriptor() ([]byte, []int)
Deprecated: Use QuestionMoreInfo.ProtoReflect.Descriptor instead.
func (*QuestionMoreInfo) GetAnalysis ¶ added in v0.7.0
func (x *QuestionMoreInfo) GetAnalysis() string
func (*QuestionMoreInfo) GetAnswerCount ¶ added in v0.7.0
func (x *QuestionMoreInfo) GetAnswerCount() uint32
func (*QuestionMoreInfo) GetAnswers ¶ added in v0.7.0
func (x *QuestionMoreInfo) GetAnswers() *QuestionAnswers
func (*QuestionMoreInfo) GetChapterUUID ¶ added in v0.7.0
func (x *QuestionMoreInfo) GetChapterUUID() string
func (*QuestionMoreInfo) GetCorrectCount ¶ added in v0.7.0
func (x *QuestionMoreInfo) GetCorrectCount() uint32
func (*QuestionMoreInfo) GetLevel ¶ added in v0.7.0
func (x *QuestionMoreInfo) GetLevel() QuestionLevel
func (*QuestionMoreInfo) GetOptions ¶ added in v0.7.0
func (x *QuestionMoreInfo) GetOptions() *QuestionOptions
func (*QuestionMoreInfo) GetQuestion ¶ added in v0.7.0
func (x *QuestionMoreInfo) GetQuestion() string
func (*QuestionMoreInfo) GetType ¶ added in v0.7.0
func (x *QuestionMoreInfo) GetType() QuestionType
func (*QuestionMoreInfo) GetUUID ¶ added in v0.7.0
func (x *QuestionMoreInfo) GetUUID() string
func (*QuestionMoreInfo) ProtoMessage ¶ added in v0.7.0
func (*QuestionMoreInfo) ProtoMessage()
func (*QuestionMoreInfo) ProtoReflect ¶ added in v0.7.0
func (x *QuestionMoreInfo) ProtoReflect() protoreflect.Message
func (*QuestionMoreInfo) Reset ¶ added in v0.7.0
func (x *QuestionMoreInfo) Reset()
func (*QuestionMoreInfo) String ¶ added in v0.7.0
func (x *QuestionMoreInfo) String() string
type QuestionOptions ¶ added in v0.7.0
type QuestionOptions struct { IsA bool `protobuf:"varint,1,opt,name=IsA,proto3" json:"IsA,omitempty"` IsB bool `protobuf:"varint,2,opt,name=IsB,proto3" json:"IsB,omitempty"` IsC bool `protobuf:"varint,3,opt,name=IsC,proto3" json:"IsC,omitempty"` IsD bool `protobuf:"varint,4,opt,name=IsD,proto3" json:"IsD,omitempty"` IsE bool `protobuf:"varint,5,opt,name=IsE,proto3" json:"IsE,omitempty"` IsF bool `protobuf:"varint,6,opt,name=IsF,proto3" json:"IsF,omitempty"` IsG bool `protobuf:"varint,7,opt,name=IsG,proto3" json:"IsG,omitempty"` IsH bool `protobuf:"varint,8,opt,name=IsH,proto3" json:"IsH,omitempty"` IsTrue bool `protobuf:"varint,9,opt,name=IsTrue,proto3" json:"IsTrue,omitempty"` // contains filtered or unexported fields }
func (*QuestionOptions) Descriptor
deprecated
added in
v0.7.0
func (*QuestionOptions) Descriptor() ([]byte, []int)
Deprecated: Use QuestionOptions.ProtoReflect.Descriptor instead.
func (*QuestionOptions) GetIsA ¶ added in v0.7.0
func (x *QuestionOptions) GetIsA() bool
func (*QuestionOptions) GetIsB ¶ added in v0.7.0
func (x *QuestionOptions) GetIsB() bool
func (*QuestionOptions) GetIsC ¶ added in v0.7.0
func (x *QuestionOptions) GetIsC() bool
func (*QuestionOptions) GetIsD ¶ added in v0.7.0
func (x *QuestionOptions) GetIsD() bool
func (*QuestionOptions) GetIsE ¶ added in v0.7.0
func (x *QuestionOptions) GetIsE() bool
func (*QuestionOptions) GetIsF ¶ added in v0.7.0
func (x *QuestionOptions) GetIsF() bool
func (*QuestionOptions) GetIsG ¶ added in v0.7.0
func (x *QuestionOptions) GetIsG() bool
func (*QuestionOptions) GetIsH ¶ added in v0.7.0
func (x *QuestionOptions) GetIsH() bool
func (*QuestionOptions) GetIsTrue ¶ added in v0.7.0
func (x *QuestionOptions) GetIsTrue() bool
func (*QuestionOptions) ProtoMessage ¶ added in v0.7.0
func (*QuestionOptions) ProtoMessage()
func (*QuestionOptions) ProtoReflect ¶ added in v0.7.0
func (x *QuestionOptions) ProtoReflect() protoreflect.Message
func (*QuestionOptions) Reset ¶ added in v0.7.0
func (x *QuestionOptions) Reset()
func (*QuestionOptions) String ¶ added in v0.7.0
func (x *QuestionOptions) String() string
type QuestionServiceClient ¶
type QuestionServiceClient interface { // 获取指定UUID的题目信息, 仅学生调用 GetQuestions(ctx context.Context, in *GetQuestionsRequest, opts ...grpc.CallOption) (*GetQuestionsResponse, error) // 获取指定UUID的题目信息, 仅教师与管理员可调用 GetQuestionsFullInfo(ctx context.Context, in *GetQuestionsFullInfoRequest, opts ...grpc.CallOption) (*GetQuestionsFullInfoResponse, error) // 列举指定章节的题目, 仅教师与管理员可调用 ListQuestions(ctx context.Context, in *ListQuestionsRequest, opts ...grpc.CallOption) (*ListQuestionsResponse, error) ListWrongQuestionAnswers(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ListWrongQuestionAnswersResponse, error) ListRecommendedQuestions(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ListRecommendedQuestionsResponse, error) CreateQuestion(ctx context.Context, in *CreateQuestionRequest, opts ...grpc.CallOption) (*CreateQuestionResponse, error) UpdateQuestion(ctx context.Context, in *UpdateQuestionRequest, opts ...grpc.CallOption) (*UpdateQuestionResponse, error) DeleteQuestion(ctx context.Context, in *DeleteQuestionRequest, opts ...grpc.CallOption) (*DeleteQuestionResponse, error) AnswerQuestion(ctx context.Context, in *AnswerQuestionRequest, opts ...grpc.CallOption) (*AnswerQuestionResponse, error) }
QuestionServiceClient is the client API for QuestionService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQuestionServiceClient ¶
func NewQuestionServiceClient(cc grpc.ClientConnInterface) QuestionServiceClient
type QuestionServiceServer ¶
type QuestionServiceServer interface { // 获取指定UUID的题目信息, 仅学生调用 GetQuestions(context.Context, *GetQuestionsRequest) (*GetQuestionsResponse, error) // 获取指定UUID的题目信息, 仅教师与管理员可调用 GetQuestionsFullInfo(context.Context, *GetQuestionsFullInfoRequest) (*GetQuestionsFullInfoResponse, error) // 列举指定章节的题目, 仅教师与管理员可调用 ListQuestions(context.Context, *ListQuestionsRequest) (*ListQuestionsResponse, error) ListWrongQuestionAnswers(context.Context, *Empty) (*ListWrongQuestionAnswersResponse, error) ListRecommendedQuestions(context.Context, *Empty) (*ListRecommendedQuestionsResponse, error) CreateQuestion(context.Context, *CreateQuestionRequest) (*CreateQuestionResponse, error) UpdateQuestion(context.Context, *UpdateQuestionRequest) (*UpdateQuestionResponse, error) DeleteQuestion(context.Context, *DeleteQuestionRequest) (*DeleteQuestionResponse, error) AnswerQuestion(context.Context, *AnswerQuestionRequest) (*AnswerQuestionResponse, error) }
QuestionServiceServer is the server API for QuestionService service.
type QuestionType ¶ added in v0.7.0
type QuestionType int32
const ( QuestionType_Single QuestionType = 0 QuestionType_Multiple QuestionType = 1 QuestionType_Judge QuestionType = 2 )
func (QuestionType) Descriptor ¶ added in v0.7.0
func (QuestionType) Descriptor() protoreflect.EnumDescriptor
func (QuestionType) Enum ¶ added in v0.7.0
func (x QuestionType) Enum() *QuestionType
func (QuestionType) EnumDescriptor
deprecated
added in
v0.7.0
func (QuestionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use QuestionType.Descriptor instead.
func (QuestionType) Number ¶ added in v0.7.0
func (x QuestionType) Number() protoreflect.EnumNumber
func (QuestionType) String ¶ added in v0.7.0
func (x QuestionType) String() string
func (QuestionType) Type ¶ added in v0.7.0
func (QuestionType) Type() protoreflect.EnumType
type RegisterRequest ¶ added in v0.7.2
type RegisterRequest struct { AccountID uint32 `protobuf:"varint,1,opt,name=AccountID,proto3" json:"AccountID,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` Gender UserGender `protobuf:"varint,3,opt,name=Gender,proto3,enum=pb.UserGender" json:"Gender,omitempty"` Type UserType `protobuf:"varint,4,opt,name=Type,proto3,enum=pb.UserType" json:"Type,omitempty"` // contains filtered or unexported fields }
func (*RegisterRequest) Descriptor
deprecated
added in
v0.7.2
func (*RegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.
func (*RegisterRequest) GetAccountID ¶ added in v0.7.2
func (x *RegisterRequest) GetAccountID() uint32
func (*RegisterRequest) GetGender ¶ added in v0.7.2
func (x *RegisterRequest) GetGender() UserGender
func (*RegisterRequest) GetName ¶ added in v0.7.2
func (x *RegisterRequest) GetName() string
func (*RegisterRequest) GetType ¶ added in v0.7.2
func (x *RegisterRequest) GetType() UserType
func (*RegisterRequest) ProtoMessage ¶ added in v0.7.2
func (*RegisterRequest) ProtoMessage()
func (*RegisterRequest) ProtoReflect ¶ added in v0.7.2
func (x *RegisterRequest) ProtoReflect() protoreflect.Message
func (*RegisterRequest) Reset ¶ added in v0.7.2
func (x *RegisterRequest) Reset()
func (*RegisterRequest) String ¶ added in v0.7.2
func (x *RegisterRequest) String() string
type RegisterResponse ¶ added in v0.7.2
type RegisterResponse struct { Status *ResponseStatus `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*RegisterResponse) Descriptor
deprecated
added in
v0.7.2
func (*RegisterResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.
func (*RegisterResponse) GetStatus ¶ added in v0.7.2
func (x *RegisterResponse) GetStatus() *ResponseStatus
func (*RegisterResponse) ProtoMessage ¶ added in v0.7.2
func (*RegisterResponse) ProtoMessage()
func (*RegisterResponse) ProtoReflect ¶ added in v0.7.2
func (x *RegisterResponse) ProtoReflect() protoreflect.Message
func (*RegisterResponse) Reset ¶ added in v0.7.2
func (x *RegisterResponse) Reset()
func (*RegisterResponse) String ¶ added in v0.7.2
func (x *RegisterResponse) String() string
type RemoveClassStudentRequest ¶ added in v0.7.0
type RemoveClassStudentRequest struct { ClassUUID string `protobuf:"bytes,1,opt,name=ClassUUID,proto3" json:"ClassUUID,omitempty"` StudentUUID string `protobuf:"bytes,2,opt,name=StudentUUID,proto3" json:"StudentUUID,omitempty"` // contains filtered or unexported fields }
func (*RemoveClassStudentRequest) Descriptor
deprecated
added in
v0.7.0
func (*RemoveClassStudentRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveClassStudentRequest.ProtoReflect.Descriptor instead.
func (*RemoveClassStudentRequest) GetClassUUID ¶ added in v0.7.0
func (x *RemoveClassStudentRequest) GetClassUUID() string
func (*RemoveClassStudentRequest) GetStudentUUID ¶ added in v0.7.0
func (x *RemoveClassStudentRequest) GetStudentUUID() string
func (*RemoveClassStudentRequest) ProtoMessage ¶ added in v0.7.0
func (*RemoveClassStudentRequest) ProtoMessage()
func (*RemoveClassStudentRequest) ProtoReflect ¶ added in v0.7.0
func (x *RemoveClassStudentRequest) ProtoReflect() protoreflect.Message
func (*RemoveClassStudentRequest) Reset ¶ added in v0.7.0
func (x *RemoveClassStudentRequest) Reset()
func (*RemoveClassStudentRequest) String ¶ added in v0.7.0
func (x *RemoveClassStudentRequest) String() string
type RemoveClassStudentResponse ¶ added in v0.7.0
type RemoveClassStudentResponse struct { Status *ResponseStatus `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*RemoveClassStudentResponse) Descriptor
deprecated
added in
v0.7.0
func (*RemoveClassStudentResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveClassStudentResponse.ProtoReflect.Descriptor instead.
func (*RemoveClassStudentResponse) GetStatus ¶ added in v0.7.0
func (x *RemoveClassStudentResponse) GetStatus() *ResponseStatus
func (*RemoveClassStudentResponse) ProtoMessage ¶ added in v0.7.0
func (*RemoveClassStudentResponse) ProtoMessage()
func (*RemoveClassStudentResponse) ProtoReflect ¶ added in v0.7.0
func (x *RemoveClassStudentResponse) ProtoReflect() protoreflect.Message
func (*RemoveClassStudentResponse) Reset ¶ added in v0.7.0
func (x *RemoveClassStudentResponse) Reset()
func (*RemoveClassStudentResponse) String ¶ added in v0.7.0
func (x *RemoveClassStudentResponse) String() string
type ResetPasswordRequest ¶
type ResetPasswordRequest struct { AccountID uint32 `protobuf:"varint,1,opt,name=AccountID,proto3" json:"AccountID,omitempty"` // contains filtered or unexported fields }
func (*ResetPasswordRequest) Descriptor
deprecated
func (*ResetPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResetPasswordRequest.ProtoReflect.Descriptor instead.
func (*ResetPasswordRequest) GetAccountID ¶ added in v0.7.2
func (x *ResetPasswordRequest) GetAccountID() uint32
func (*ResetPasswordRequest) ProtoMessage ¶
func (*ResetPasswordRequest) ProtoMessage()
func (*ResetPasswordRequest) ProtoReflect ¶ added in v0.6.8
func (x *ResetPasswordRequest) ProtoReflect() protoreflect.Message
func (*ResetPasswordRequest) Reset ¶
func (x *ResetPasswordRequest) Reset()
func (*ResetPasswordRequest) String ¶
func (x *ResetPasswordRequest) String() string
type ResetPasswordResponse ¶
type ResetPasswordResponse struct { Status *ResponseStatus `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*ResetPasswordResponse) Descriptor
deprecated
func (*ResetPasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResetPasswordResponse.ProtoReflect.Descriptor instead.
func (*ResetPasswordResponse) GetStatus ¶
func (x *ResetPasswordResponse) GetStatus() *ResponseStatus
func (*ResetPasswordResponse) ProtoMessage ¶
func (*ResetPasswordResponse) ProtoMessage()
func (*ResetPasswordResponse) ProtoReflect ¶ added in v0.6.8
func (x *ResetPasswordResponse) ProtoReflect() protoreflect.Message
func (*ResetPasswordResponse) Reset ¶
func (x *ResetPasswordResponse) Reset()
func (*ResetPasswordResponse) String ¶
func (x *ResetPasswordResponse) String() string
type ResponseStatus ¶
type ResponseStatus struct { Code ResponseStatusCode `protobuf:"varint,1,opt,name=Code,proto3,enum=pb.ResponseStatusCode" json:"Code,omitempty"` Message string `protobuf:"bytes,2,opt,name=Message,proto3" json:"Message,omitempty"` Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"` // contains filtered or unexported fields }
func (*ResponseStatus) Descriptor
deprecated
func (*ResponseStatus) Descriptor() ([]byte, []int)
Deprecated: Use ResponseStatus.ProtoReflect.Descriptor instead.
func (*ResponseStatus) GetCode ¶
func (x *ResponseStatus) GetCode() ResponseStatusCode
func (*ResponseStatus) GetError ¶
func (x *ResponseStatus) GetError() string
func (*ResponseStatus) GetMessage ¶
func (x *ResponseStatus) GetMessage() string
func (*ResponseStatus) ProtoMessage ¶
func (*ResponseStatus) ProtoMessage()
func (*ResponseStatus) ProtoReflect ¶ added in v0.6.8
func (x *ResponseStatus) ProtoReflect() protoreflect.Message
func (*ResponseStatus) Reset ¶
func (x *ResponseStatus) Reset()
func (*ResponseStatus) String ¶
func (x *ResponseStatus) String() string
type ResponseStatusCode ¶
type ResponseStatusCode int32
const ( ResponseStatusCode_Success ResponseStatusCode = 0 ResponseStatusCode_ServerError ResponseStatusCode = 1 ResponseStatusCode_NotAuth ResponseStatusCode = 2 ResponseStatusCode_FieldTypeError ResponseStatusCode = 3 ResponseStatusCode_OtherError ResponseStatusCode = 4 )
func (ResponseStatusCode) Descriptor ¶ added in v0.6.8
func (ResponseStatusCode) Descriptor() protoreflect.EnumDescriptor
func (ResponseStatusCode) Enum ¶ added in v0.6.8
func (x ResponseStatusCode) Enum() *ResponseStatusCode
func (ResponseStatusCode) EnumDescriptor
deprecated
func (ResponseStatusCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResponseStatusCode.Descriptor instead.
func (ResponseStatusCode) Number ¶ added in v0.6.8
func (x ResponseStatusCode) Number() protoreflect.EnumNumber
func (ResponseStatusCode) String ¶
func (x ResponseStatusCode) String() string
func (ResponseStatusCode) Type ¶ added in v0.6.8
func (ResponseStatusCode) Type() protoreflect.EnumType
type SetClassManagerRequest ¶
type SetClassManagerRequest struct { ClassUUID string `protobuf:"bytes,1,opt,name=ClassUUID,proto3" json:"ClassUUID,omitempty"` ManagerID uint32 `protobuf:"varint,2,opt,name=ManagerID,proto3" json:"ManagerID,omitempty"` // 设置或取消设置 Set bool `protobuf:"varint,3,opt,name=Set,proto3" json:"Set,omitempty"` // contains filtered or unexported fields }
func (*SetClassManagerRequest) Descriptor
deprecated
func (*SetClassManagerRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetClassManagerRequest.ProtoReflect.Descriptor instead.
func (*SetClassManagerRequest) GetClassUUID ¶ added in v0.7.0
func (x *SetClassManagerRequest) GetClassUUID() string
func (*SetClassManagerRequest) GetManagerID ¶ added in v0.7.0
func (x *SetClassManagerRequest) GetManagerID() uint32
func (*SetClassManagerRequest) GetSet ¶ added in v0.7.0
func (x *SetClassManagerRequest) GetSet() bool
func (*SetClassManagerRequest) ProtoMessage ¶
func (*SetClassManagerRequest) ProtoMessage()
func (*SetClassManagerRequest) ProtoReflect ¶ added in v0.6.8
func (x *SetClassManagerRequest) ProtoReflect() protoreflect.Message
func (*SetClassManagerRequest) Reset ¶
func (x *SetClassManagerRequest) Reset()
func (*SetClassManagerRequest) String ¶
func (x *SetClassManagerRequest) String() string
type SetClassManagerResponse ¶
type SetClassManagerResponse struct { Status *ResponseStatus `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*SetClassManagerResponse) Descriptor
deprecated
func (*SetClassManagerResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetClassManagerResponse.ProtoReflect.Descriptor instead.
func (*SetClassManagerResponse) GetStatus ¶
func (x *SetClassManagerResponse) GetStatus() *ResponseStatus
func (*SetClassManagerResponse) ProtoMessage ¶
func (*SetClassManagerResponse) ProtoMessage()
func (*SetClassManagerResponse) ProtoReflect ¶ added in v0.6.8
func (x *SetClassManagerResponse) ProtoReflect() protoreflect.Message
func (*SetClassManagerResponse) Reset ¶
func (x *SetClassManagerResponse) Reset()
func (*SetClassManagerResponse) String ¶
func (x *SetClassManagerResponse) String() string
type SetCourseManagerRequest ¶
type SetCourseManagerRequest struct { CourseUUID string `protobuf:"bytes,1,opt,name=CourseUUID,proto3" json:"CourseUUID,omitempty"` ManagerID uint32 `protobuf:"varint,2,opt,name=ManagerID,proto3" json:"ManagerID,omitempty"` // 设置或取消设置 Set bool `protobuf:"varint,3,opt,name=Set,proto3" json:"Set,omitempty"` // contains filtered or unexported fields }
func (*SetCourseManagerRequest) Descriptor
deprecated
func (*SetCourseManagerRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetCourseManagerRequest.ProtoReflect.Descriptor instead.
func (*SetCourseManagerRequest) GetCourseUUID ¶ added in v0.7.0
func (x *SetCourseManagerRequest) GetCourseUUID() string
func (*SetCourseManagerRequest) GetManagerID ¶ added in v0.7.0
func (x *SetCourseManagerRequest) GetManagerID() uint32
func (*SetCourseManagerRequest) GetSet ¶ added in v0.7.0
func (x *SetCourseManagerRequest) GetSet() bool
func (*SetCourseManagerRequest) ProtoMessage ¶
func (*SetCourseManagerRequest) ProtoMessage()
func (*SetCourseManagerRequest) ProtoReflect ¶ added in v0.6.8
func (x *SetCourseManagerRequest) ProtoReflect() protoreflect.Message
func (*SetCourseManagerRequest) Reset ¶
func (x *SetCourseManagerRequest) Reset()
func (*SetCourseManagerRequest) String ¶
func (x *SetCourseManagerRequest) String() string
type SetCourseManagerResponse ¶
type SetCourseManagerResponse struct { Status *ResponseStatus `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*SetCourseManagerResponse) Descriptor
deprecated
func (*SetCourseManagerResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetCourseManagerResponse.ProtoReflect.Descriptor instead.
func (*SetCourseManagerResponse) GetStatus ¶
func (x *SetCourseManagerResponse) GetStatus() *ResponseStatus
func (*SetCourseManagerResponse) ProtoMessage ¶
func (*SetCourseManagerResponse) ProtoMessage()
func (*SetCourseManagerResponse) ProtoReflect ¶ added in v0.6.8
func (x *SetCourseManagerResponse) ProtoReflect() protoreflect.Message
func (*SetCourseManagerResponse) Reset ¶
func (x *SetCourseManagerResponse) Reset()
func (*SetCourseManagerResponse) String ¶
func (x *SetCourseManagerResponse) String() string
type SetUserAsManagerRequest ¶ added in v0.7.0
type SetUserAsManagerRequest struct { AccountID uint32 `protobuf:"varint,1,opt,name=AccountID,proto3" json:"AccountID,omitempty"` // 设置或取消设置 Set bool `protobuf:"varint,2,opt,name=Set,proto3" json:"Set,omitempty"` // contains filtered or unexported fields }
func (*SetUserAsManagerRequest) Descriptor
deprecated
added in
v0.7.0
func (*SetUserAsManagerRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetUserAsManagerRequest.ProtoReflect.Descriptor instead.
func (*SetUserAsManagerRequest) GetAccountID ¶ added in v0.7.0
func (x *SetUserAsManagerRequest) GetAccountID() uint32
func (*SetUserAsManagerRequest) GetSet ¶ added in v0.7.0
func (x *SetUserAsManagerRequest) GetSet() bool
func (*SetUserAsManagerRequest) ProtoMessage ¶ added in v0.7.0
func (*SetUserAsManagerRequest) ProtoMessage()
func (*SetUserAsManagerRequest) ProtoReflect ¶ added in v0.7.0
func (x *SetUserAsManagerRequest) ProtoReflect() protoreflect.Message
func (*SetUserAsManagerRequest) Reset ¶ added in v0.7.0
func (x *SetUserAsManagerRequest) Reset()
func (*SetUserAsManagerRequest) String ¶ added in v0.7.0
func (x *SetUserAsManagerRequest) String() string
type SetUserAsManagerResponse ¶ added in v0.7.0
type SetUserAsManagerResponse struct { Status *ResponseStatus `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*SetUserAsManagerResponse) Descriptor
deprecated
added in
v0.7.0
func (*SetUserAsManagerResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetUserAsManagerResponse.ProtoReflect.Descriptor instead.
func (*SetUserAsManagerResponse) GetStatus ¶ added in v0.7.0
func (x *SetUserAsManagerResponse) GetStatus() *ResponseStatus
func (*SetUserAsManagerResponse) ProtoMessage ¶ added in v0.7.0
func (*SetUserAsManagerResponse) ProtoMessage()
func (*SetUserAsManagerResponse) ProtoReflect ¶ added in v0.7.0
func (x *SetUserAsManagerResponse) ProtoReflect() protoreflect.Message
func (*SetUserAsManagerResponse) Reset ¶ added in v0.7.0
func (x *SetUserAsManagerResponse) Reset()
func (*SetUserAsManagerResponse) String ¶ added in v0.7.0
func (x *SetUserAsManagerResponse) String() string
type StudentBasicInfo ¶ added in v0.7.0
type StudentBasicInfo struct { AccountID uint32 `protobuf:"varint,1,opt,name=AccountID,proto3" json:"AccountID,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` Gender UserGender `protobuf:"varint,3,opt,name=Gender,proto3,enum=pb.UserGender" json:"Gender,omitempty"` // contains filtered or unexported fields }
func (*StudentBasicInfo) Descriptor
deprecated
added in
v0.7.0
func (*StudentBasicInfo) Descriptor() ([]byte, []int)
Deprecated: Use StudentBasicInfo.ProtoReflect.Descriptor instead.
func (*StudentBasicInfo) GetAccountID ¶ added in v0.7.0
func (x *StudentBasicInfo) GetAccountID() uint32
func (*StudentBasicInfo) GetGender ¶ added in v0.7.0
func (x *StudentBasicInfo) GetGender() UserGender
func (*StudentBasicInfo) GetName ¶ added in v0.7.0
func (x *StudentBasicInfo) GetName() string
func (*StudentBasicInfo) ProtoMessage ¶ added in v0.7.0
func (*StudentBasicInfo) ProtoMessage()
func (*StudentBasicInfo) ProtoReflect ¶ added in v0.7.0
func (x *StudentBasicInfo) ProtoReflect() protoreflect.Message
func (*StudentBasicInfo) Reset ¶ added in v0.7.0
func (x *StudentBasicInfo) Reset()
func (*StudentBasicInfo) String ¶ added in v0.7.0
func (x *StudentBasicInfo) String() string
type UnimplementedChapterServiceServer ¶
type UnimplementedChapterServiceServer struct { }
UnimplementedChapterServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedChapterServiceServer) CreateChapter ¶
func (*UnimplementedChapterServiceServer) CreateChapter(context.Context, *CreateChapterRequest) (*CreateChapterResponse, error)
func (*UnimplementedChapterServiceServer) DeleteChapter ¶
func (*UnimplementedChapterServiceServer) DeleteChapter(context.Context, *DeleteChapterRequest) (*DeleteChapterResponse, error)
func (*UnimplementedChapterServiceServer) GetChapter ¶
func (*UnimplementedChapterServiceServer) GetChapter(context.Context, *GetChapterRequest) (*GetChapterResponse, error)
func (*UnimplementedChapterServiceServer) ListChapters ¶ added in v0.7.0
func (*UnimplementedChapterServiceServer) ListChapters(context.Context, *ListChaptersRequest) (*ListChaptersResponse, error)
func (*UnimplementedChapterServiceServer) UpdateChapter ¶
func (*UnimplementedChapterServiceServer) UpdateChapter(context.Context, *UpdateChapterRequest) (*UpdateChapterResponse, error)
func (*UnimplementedChapterServiceServer) UpdateChapterContent ¶ added in v0.7.0
func (*UnimplementedChapterServiceServer) UpdateChapterContent(context.Context, *UpdateChapterContentRequest) (*UpdateChapterContentResponse, error)
type UnimplementedClassStructServiceServer ¶
type UnimplementedClassStructServiceServer struct { }
UnimplementedClassStructServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedClassStructServiceServer) AddClassStudents ¶ added in v0.7.0
func (*UnimplementedClassStructServiceServer) AddClassStudents(context.Context, *AddClassStudentsRequest) (*AddClassStudentsResponse, error)
func (*UnimplementedClassStructServiceServer) CreateClass ¶
func (*UnimplementedClassStructServiceServer) CreateClass(context.Context, *CreateClassRequest) (*CreateClassResponse, error)
func (*UnimplementedClassStructServiceServer) DeleteClass ¶
func (*UnimplementedClassStructServiceServer) DeleteClass(context.Context, *DeleteClassRequest) (*DeleteClassResponse, error)
func (*UnimplementedClassStructServiceServer) ListClassStudents ¶ added in v0.7.0
func (*UnimplementedClassStructServiceServer) ListClassStudents(context.Context, *ListClassStudentsRequest) (*ListClassStudentsResponse, error)
func (*UnimplementedClassStructServiceServer) ListClasses ¶ added in v0.7.0
func (*UnimplementedClassStructServiceServer) ListClasses(context.Context, *Empty) (*ListClassesResponse, error)
func (*UnimplementedClassStructServiceServer) ListCourseClasses ¶ added in v0.7.0
func (*UnimplementedClassStructServiceServer) ListCourseClasses(context.Context, *ListCourseClassesRequest) (*ListCourseClassesResponse, error)
func (*UnimplementedClassStructServiceServer) ListManagedClasses ¶ added in v0.7.0
func (*UnimplementedClassStructServiceServer) ListManagedClasses(context.Context, *Empty) (*ListManagedClassesResponse, error)
func (*UnimplementedClassStructServiceServer) RemoveClassStudent ¶ added in v0.7.0
func (*UnimplementedClassStructServiceServer) RemoveClassStudent(context.Context, *RemoveClassStudentRequest) (*RemoveClassStudentResponse, error)
func (*UnimplementedClassStructServiceServer) SetClassManager ¶
func (*UnimplementedClassStructServiceServer) SetClassManager(context.Context, *SetClassManagerRequest) (*SetClassManagerResponse, error)
func (*UnimplementedClassStructServiceServer) UpdateClass ¶
func (*UnimplementedClassStructServiceServer) UpdateClass(context.Context, *UpdateClassRequest) (*UpdateClassResponse, error)
type UnimplementedCollectingDataServiceServer ¶ added in v0.6.8
type UnimplementedCollectingDataServiceServer struct { }
UnimplementedCollectingDataServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedCollectingDataServiceServer) UploadAnswers ¶ added in v0.6.8
func (*UnimplementedCollectingDataServiceServer) UploadAnswers(context.Context, *UploadAnswersRequest) (*UploadAnswersResponse, error)
func (*UnimplementedCollectingDataServiceServer) UploadContentReadings ¶ added in v0.6.8
func (*UnimplementedCollectingDataServiceServer) UploadContentReadings(context.Context, *UploadContentReadingsRequest) (*UploadContentReadingsResponse, error)
type UnimplementedCourseServiceServer ¶
type UnimplementedCourseServiceServer struct { }
UnimplementedCourseServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedCourseServiceServer) CreateCourse ¶
func (*UnimplementedCourseServiceServer) CreateCourse(context.Context, *CreateCourseRequest) (*CreateCourseResponse, error)
func (*UnimplementedCourseServiceServer) DeleteCourse ¶
func (*UnimplementedCourseServiceServer) DeleteCourse(context.Context, *DeleteCourseRequest) (*DeleteCourseResponse, error)
func (*UnimplementedCourseServiceServer) GetCourse ¶
func (*UnimplementedCourseServiceServer) GetCourse(context.Context, *GetCourseRequest) (*GetCourseResponse, error)
func (*UnimplementedCourseServiceServer) ListCourses ¶ added in v0.7.0
func (*UnimplementedCourseServiceServer) ListCourses(context.Context, *Empty) (*ListCoursesResponse, error)
func (*UnimplementedCourseServiceServer) SetCourseManager ¶
func (*UnimplementedCourseServiceServer) SetCourseManager(context.Context, *SetCourseManagerRequest) (*SetCourseManagerResponse, error)
func (*UnimplementedCourseServiceServer) UpdateCourse ¶
func (*UnimplementedCourseServiceServer) UpdateCourse(context.Context, *UpdateCourseRequest) (*UpdateCourseResponse, error)
type UnimplementedKnowledgePointServiceServer ¶ added in v0.6.8
type UnimplementedKnowledgePointServiceServer struct { }
UnimplementedKnowledgePointServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedKnowledgePointServiceServer) CreateKnowledgePoint ¶ added in v0.6.8
func (*UnimplementedKnowledgePointServiceServer) CreateKnowledgePoint(context.Context, *CreateKnowledgePointRequest) (*CreateKnowledgePointResponse, error)
func (*UnimplementedKnowledgePointServiceServer) DeleteKnowledgePoint ¶ added in v0.6.8
func (*UnimplementedKnowledgePointServiceServer) DeleteKnowledgePoint(context.Context, *DeleteKnowledgePointRequest) (*DeleteKnowledgePointResponse, error)
func (*UnimplementedKnowledgePointServiceServer) ListChapterKnowledgePoints ¶ added in v0.7.0
func (*UnimplementedKnowledgePointServiceServer) ListChapterKnowledgePoints(context.Context, *ListChapterKnowledgePointsRequest) (*ListChapterKnowledgePointsResponse, error)
func (*UnimplementedKnowledgePointServiceServer) ListCourseKnowledgePoints ¶ added in v0.7.0
func (*UnimplementedKnowledgePointServiceServer) ListCourseKnowledgePoints(context.Context, *ListCourseKnowledgePointsRequest) (*ListCourseKnowledgePointsResponse, error)
type UnimplementedQuestionServiceServer ¶
type UnimplementedQuestionServiceServer struct { }
UnimplementedQuestionServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedQuestionServiceServer) AnswerQuestion ¶ added in v0.7.0
func (*UnimplementedQuestionServiceServer) AnswerQuestion(context.Context, *AnswerQuestionRequest) (*AnswerQuestionResponse, error)
func (*UnimplementedQuestionServiceServer) CreateQuestion ¶
func (*UnimplementedQuestionServiceServer) CreateQuestion(context.Context, *CreateQuestionRequest) (*CreateQuestionResponse, error)
func (*UnimplementedQuestionServiceServer) DeleteQuestion ¶
func (*UnimplementedQuestionServiceServer) DeleteQuestion(context.Context, *DeleteQuestionRequest) (*DeleteQuestionResponse, error)
func (*UnimplementedQuestionServiceServer) GetQuestions ¶ added in v0.7.0
func (*UnimplementedQuestionServiceServer) GetQuestions(context.Context, *GetQuestionsRequest) (*GetQuestionsResponse, error)
func (*UnimplementedQuestionServiceServer) GetQuestionsFullInfo ¶ added in v0.7.0
func (*UnimplementedQuestionServiceServer) GetQuestionsFullInfo(context.Context, *GetQuestionsFullInfoRequest) (*GetQuestionsFullInfoResponse, error)
func (*UnimplementedQuestionServiceServer) ListQuestions ¶ added in v0.7.0
func (*UnimplementedQuestionServiceServer) ListQuestions(context.Context, *ListQuestionsRequest) (*ListQuestionsResponse, error)
func (*UnimplementedQuestionServiceServer) ListRecommendedQuestions ¶ added in v0.7.0
func (*UnimplementedQuestionServiceServer) ListRecommendedQuestions(context.Context, *Empty) (*ListRecommendedQuestionsResponse, error)
func (*UnimplementedQuestionServiceServer) ListWrongQuestionAnswers ¶ added in v0.7.0
func (*UnimplementedQuestionServiceServer) ListWrongQuestionAnswers(context.Context, *Empty) (*ListWrongQuestionAnswersResponse, error)
func (*UnimplementedQuestionServiceServer) UpdateQuestion ¶
func (*UnimplementedQuestionServiceServer) UpdateQuestion(context.Context, *UpdateQuestionRequest) (*UpdateQuestionResponse, error)
type UnimplementedUserServiceServer ¶ added in v0.7.0
type UnimplementedUserServiceServer struct { }
UnimplementedUserServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedUserServiceServer) DeleteUser ¶ added in v0.7.0
func (*UnimplementedUserServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
func (*UnimplementedUserServiceServer) Login ¶ added in v0.7.2
func (*UnimplementedUserServiceServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
func (*UnimplementedUserServiceServer) Register ¶ added in v0.7.2
func (*UnimplementedUserServiceServer) Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
func (*UnimplementedUserServiceServer) ResetPassword ¶ added in v0.7.2
func (*UnimplementedUserServiceServer) ResetPassword(context.Context, *ResetPasswordRequest) (*ResetPasswordResponse, error)
func (*UnimplementedUserServiceServer) SetUserAsManager ¶ added in v0.7.0
func (*UnimplementedUserServiceServer) SetUserAsManager(context.Context, *SetUserAsManagerRequest) (*SetUserAsManagerResponse, error)
func (*UnimplementedUserServiceServer) UpdateInfo ¶ added in v0.7.2
func (*UnimplementedUserServiceServer) UpdateInfo(context.Context, *UpdateInfoRequest) (*UpdateInfoResponse, error)
func (*UnimplementedUserServiceServer) UpdatePassword ¶ added in v0.7.2
func (*UnimplementedUserServiceServer) UpdatePassword(context.Context, *UpdatePasswordRequest) (*UpdatePasswordResponse, error)
type UpdateChapterContentRequest ¶ added in v0.7.0
type UpdateChapterContentRequest struct { ChapterUUID string `protobuf:"bytes,1,opt,name=ChapterUUID,proto3" json:"ChapterUUID,omitempty"` Content string `protobuf:"bytes,2,opt,name=Content,proto3" json:"Content,omitempty"` // contains filtered or unexported fields }
func (*UpdateChapterContentRequest) Descriptor
deprecated
added in
v0.7.0
func (*UpdateChapterContentRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateChapterContentRequest.ProtoReflect.Descriptor instead.
func (*UpdateChapterContentRequest) GetChapterUUID ¶ added in v0.7.0
func (x *UpdateChapterContentRequest) GetChapterUUID() string
func (*UpdateChapterContentRequest) GetContent ¶ added in v0.7.0
func (x *UpdateChapterContentRequest) GetContent() string
func (*UpdateChapterContentRequest) ProtoMessage ¶ added in v0.7.0
func (*UpdateChapterContentRequest) ProtoMessage()
func (*UpdateChapterContentRequest) ProtoReflect ¶ added in v0.7.0
func (x *UpdateChapterContentRequest) ProtoReflect() protoreflect.Message
func (*UpdateChapterContentRequest) Reset ¶ added in v0.7.0
func (x *UpdateChapterContentRequest) Reset()
func (*UpdateChapterContentRequest) String ¶ added in v0.7.0
func (x *UpdateChapterContentRequest) String() string
type UpdateChapterContentResponse ¶ added in v0.7.0
type UpdateChapterContentResponse struct { Status *ResponseStatus `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*UpdateChapterContentResponse) Descriptor
deprecated
added in
v0.7.0
func (*UpdateChapterContentResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateChapterContentResponse.ProtoReflect.Descriptor instead.
func (*UpdateChapterContentResponse) GetStatus ¶ added in v0.7.0
func (x *UpdateChapterContentResponse) GetStatus() *ResponseStatus
func (*UpdateChapterContentResponse) ProtoMessage ¶ added in v0.7.0
func (*UpdateChapterContentResponse) ProtoMessage()
func (*UpdateChapterContentResponse) ProtoReflect ¶ added in v0.7.0
func (x *UpdateChapterContentResponse) ProtoReflect() protoreflect.Message
func (*UpdateChapterContentResponse) Reset ¶ added in v0.7.0
func (x *UpdateChapterContentResponse) Reset()
func (*UpdateChapterContentResponse) String ¶ added in v0.7.0
func (x *UpdateChapterContentResponse) String() string
type UpdateChapterRequest ¶
type UpdateChapterRequest struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"` Index uint32 `protobuf:"varint,4,opt,name=Index,proto3" json:"Index,omitempty"` // contains filtered or unexported fields }
func (*UpdateChapterRequest) Descriptor
deprecated
func (*UpdateChapterRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateChapterRequest.ProtoReflect.Descriptor instead.
func (*UpdateChapterRequest) GetDescription ¶ added in v0.7.0
func (x *UpdateChapterRequest) GetDescription() string
func (*UpdateChapterRequest) GetIndex ¶ added in v0.7.0
func (x *UpdateChapterRequest) GetIndex() uint32
func (*UpdateChapterRequest) GetName ¶ added in v0.7.0
func (x *UpdateChapterRequest) GetName() string
func (*UpdateChapterRequest) GetUUID ¶ added in v0.7.0
func (x *UpdateChapterRequest) GetUUID() string
func (*UpdateChapterRequest) ProtoMessage ¶
func (*UpdateChapterRequest) ProtoMessage()
func (*UpdateChapterRequest) ProtoReflect ¶ added in v0.6.8
func (x *UpdateChapterRequest) ProtoReflect() protoreflect.Message
func (*UpdateChapterRequest) Reset ¶
func (x *UpdateChapterRequest) Reset()
func (*UpdateChapterRequest) String ¶
func (x *UpdateChapterRequest) String() string
type UpdateChapterResponse ¶
type UpdateChapterResponse struct { Status *ResponseStatus `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*UpdateChapterResponse) Descriptor
deprecated
func (*UpdateChapterResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateChapterResponse.ProtoReflect.Descriptor instead.
func (*UpdateChapterResponse) GetStatus ¶
func (x *UpdateChapterResponse) GetStatus() *ResponseStatus
func (*UpdateChapterResponse) ProtoMessage ¶
func (*UpdateChapterResponse) ProtoMessage()
func (*UpdateChapterResponse) ProtoReflect ¶ added in v0.6.8
func (x *UpdateChapterResponse) ProtoReflect() protoreflect.Message
func (*UpdateChapterResponse) Reset ¶
func (x *UpdateChapterResponse) Reset()
func (*UpdateChapterResponse) String ¶
func (x *UpdateChapterResponse) String() string
type UpdateClassRequest ¶
type UpdateClassRequest struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"` // contains filtered or unexported fields }
func (*UpdateClassRequest) Descriptor
deprecated
func (*UpdateClassRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateClassRequest.ProtoReflect.Descriptor instead.
func (*UpdateClassRequest) GetDescription ¶ added in v0.7.0
func (x *UpdateClassRequest) GetDescription() string
func (*UpdateClassRequest) GetName ¶ added in v0.7.0
func (x *UpdateClassRequest) GetName() string
func (*UpdateClassRequest) GetUUID ¶ added in v0.7.0
func (x *UpdateClassRequest) GetUUID() string
func (*UpdateClassRequest) ProtoMessage ¶
func (*UpdateClassRequest) ProtoMessage()
func (*UpdateClassRequest) ProtoReflect ¶ added in v0.6.8
func (x *UpdateClassRequest) ProtoReflect() protoreflect.Message
func (*UpdateClassRequest) Reset ¶
func (x *UpdateClassRequest) Reset()
func (*UpdateClassRequest) String ¶
func (x *UpdateClassRequest) String() string
type UpdateClassResponse ¶
type UpdateClassResponse struct { Status *ResponseStatus `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*UpdateClassResponse) Descriptor
deprecated
func (*UpdateClassResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateClassResponse.ProtoReflect.Descriptor instead.
func (*UpdateClassResponse) GetStatus ¶
func (x *UpdateClassResponse) GetStatus() *ResponseStatus
func (*UpdateClassResponse) ProtoMessage ¶
func (*UpdateClassResponse) ProtoMessage()
func (*UpdateClassResponse) ProtoReflect ¶ added in v0.6.8
func (x *UpdateClassResponse) ProtoReflect() protoreflect.Message
func (*UpdateClassResponse) Reset ¶
func (x *UpdateClassResponse) Reset()
func (*UpdateClassResponse) String ¶
func (x *UpdateClassResponse) String() string
type UpdateCourseRequest ¶
type UpdateCourseRequest struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"` // contains filtered or unexported fields }
func (*UpdateCourseRequest) Descriptor
deprecated
func (*UpdateCourseRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCourseRequest.ProtoReflect.Descriptor instead.
func (*UpdateCourseRequest) GetDescription ¶ added in v0.7.0
func (x *UpdateCourseRequest) GetDescription() string
func (*UpdateCourseRequest) GetName ¶ added in v0.7.0
func (x *UpdateCourseRequest) GetName() string
func (*UpdateCourseRequest) GetUUID ¶ added in v0.7.0
func (x *UpdateCourseRequest) GetUUID() string
func (*UpdateCourseRequest) ProtoMessage ¶
func (*UpdateCourseRequest) ProtoMessage()
func (*UpdateCourseRequest) ProtoReflect ¶ added in v0.6.8
func (x *UpdateCourseRequest) ProtoReflect() protoreflect.Message
func (*UpdateCourseRequest) Reset ¶
func (x *UpdateCourseRequest) Reset()
func (*UpdateCourseRequest) String ¶
func (x *UpdateCourseRequest) String() string
type UpdateCourseResponse ¶
type UpdateCourseResponse struct { Status *ResponseStatus `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*UpdateCourseResponse) Descriptor
deprecated
func (*UpdateCourseResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCourseResponse.ProtoReflect.Descriptor instead.
func (*UpdateCourseResponse) GetStatus ¶
func (x *UpdateCourseResponse) GetStatus() *ResponseStatus
func (*UpdateCourseResponse) ProtoMessage ¶
func (*UpdateCourseResponse) ProtoMessage()
func (*UpdateCourseResponse) ProtoReflect ¶ added in v0.6.8
func (x *UpdateCourseResponse) ProtoReflect() protoreflect.Message
func (*UpdateCourseResponse) Reset ¶
func (x *UpdateCourseResponse) Reset()
func (*UpdateCourseResponse) String ¶
func (x *UpdateCourseResponse) String() string
type UpdateInfoRequest ¶
type UpdateInfoRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Gender UserGender `protobuf:"varint,2,opt,name=Gender,proto3,enum=pb.UserGender" json:"Gender,omitempty"` // contains filtered or unexported fields }
func (*UpdateInfoRequest) Descriptor
deprecated
func (*UpdateInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateInfoRequest.ProtoReflect.Descriptor instead.
func (*UpdateInfoRequest) GetGender ¶ added in v0.7.2
func (x *UpdateInfoRequest) GetGender() UserGender
func (*UpdateInfoRequest) GetName ¶ added in v0.7.2
func (x *UpdateInfoRequest) GetName() string
func (*UpdateInfoRequest) ProtoMessage ¶
func (*UpdateInfoRequest) ProtoMessage()
func (*UpdateInfoRequest) ProtoReflect ¶ added in v0.6.8
func (x *UpdateInfoRequest) ProtoReflect() protoreflect.Message
func (*UpdateInfoRequest) Reset ¶
func (x *UpdateInfoRequest) Reset()
func (*UpdateInfoRequest) String ¶
func (x *UpdateInfoRequest) String() string
type UpdateInfoResponse ¶
type UpdateInfoResponse struct { NewToken string `protobuf:"bytes,1,opt,name=NewToken,proto3" json:"NewToken,omitempty"` Status *ResponseStatus `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*UpdateInfoResponse) Descriptor
deprecated
func (*UpdateInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateInfoResponse.ProtoReflect.Descriptor instead.
func (*UpdateInfoResponse) GetNewToken ¶
func (x *UpdateInfoResponse) GetNewToken() string
func (*UpdateInfoResponse) GetStatus ¶
func (x *UpdateInfoResponse) GetStatus() *ResponseStatus
func (*UpdateInfoResponse) ProtoMessage ¶
func (*UpdateInfoResponse) ProtoMessage()
func (*UpdateInfoResponse) ProtoReflect ¶ added in v0.6.8
func (x *UpdateInfoResponse) ProtoReflect() protoreflect.Message
func (*UpdateInfoResponse) Reset ¶
func (x *UpdateInfoResponse) Reset()
func (*UpdateInfoResponse) String ¶
func (x *UpdateInfoResponse) String() string
type UpdatePasswordRequest ¶
type UpdatePasswordRequest struct { OldPasswordMD5 string `protobuf:"bytes,1,opt,name=OldPasswordMD5,proto3" json:"OldPasswordMD5,omitempty"` NewPasswordMD5 string `protobuf:"bytes,2,opt,name=NewPasswordMD5,proto3" json:"NewPasswordMD5,omitempty"` VerifyNewPasswordMD5 string `protobuf:"bytes,3,opt,name=VerifyNewPasswordMD5,proto3" json:"VerifyNewPasswordMD5,omitempty"` // contains filtered or unexported fields }
func (*UpdatePasswordRequest) Descriptor
deprecated
func (*UpdatePasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePasswordRequest.ProtoReflect.Descriptor instead.
func (*UpdatePasswordRequest) GetNewPasswordMD5 ¶
func (x *UpdatePasswordRequest) GetNewPasswordMD5() string
func (*UpdatePasswordRequest) GetOldPasswordMD5 ¶ added in v0.7.2
func (x *UpdatePasswordRequest) GetOldPasswordMD5() string
func (*UpdatePasswordRequest) GetVerifyNewPasswordMD5 ¶
func (x *UpdatePasswordRequest) GetVerifyNewPasswordMD5() string
func (*UpdatePasswordRequest) ProtoMessage ¶
func (*UpdatePasswordRequest) ProtoMessage()
func (*UpdatePasswordRequest) ProtoReflect ¶ added in v0.6.8
func (x *UpdatePasswordRequest) ProtoReflect() protoreflect.Message
func (*UpdatePasswordRequest) Reset ¶
func (x *UpdatePasswordRequest) Reset()
func (*UpdatePasswordRequest) String ¶
func (x *UpdatePasswordRequest) String() string
type UpdatePasswordResponse ¶
type UpdatePasswordResponse struct { Status *ResponseStatus `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*UpdatePasswordResponse) Descriptor
deprecated
func (*UpdatePasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePasswordResponse.ProtoReflect.Descriptor instead.
func (*UpdatePasswordResponse) GetStatus ¶
func (x *UpdatePasswordResponse) GetStatus() *ResponseStatus
func (*UpdatePasswordResponse) ProtoMessage ¶
func (*UpdatePasswordResponse) ProtoMessage()
func (*UpdatePasswordResponse) ProtoReflect ¶ added in v0.6.8
func (x *UpdatePasswordResponse) ProtoReflect() protoreflect.Message
func (*UpdatePasswordResponse) Reset ¶
func (x *UpdatePasswordResponse) Reset()
func (*UpdatePasswordResponse) String ¶
func (x *UpdatePasswordResponse) String() string
type UpdateQuestionRequest ¶
type UpdateQuestionRequest struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` Question string `protobuf:"bytes,2,opt,name=Question,proto3" json:"Question,omitempty"` Analysis string `protobuf:"bytes,3,opt,name=Analysis,proto3" json:"Analysis,omitempty"` AnswerA string `protobuf:"bytes,4,opt,name=AnswerA,proto3" json:"AnswerA,omitempty"` AnswerB string `protobuf:"bytes,5,opt,name=AnswerB,proto3" json:"AnswerB,omitempty"` AnswerC string `protobuf:"bytes,6,opt,name=AnswerC,proto3" json:"AnswerC,omitempty"` AnswerD string `protobuf:"bytes,7,opt,name=AnswerD,proto3" json:"AnswerD,omitempty"` AnswerE string `protobuf:"bytes,8,opt,name=AnswerE,proto3" json:"AnswerE,omitempty"` AnswerF string `protobuf:"bytes,9,opt,name=AnswerF,proto3" json:"AnswerF,omitempty"` AnswerG string `protobuf:"bytes,10,opt,name=AnswerG,proto3" json:"AnswerG,omitempty"` AnswerH string `protobuf:"bytes,11,opt,name=AnswerH,proto3" json:"AnswerH,omitempty"` IsA bool `protobuf:"varint,12,opt,name=IsA,proto3" json:"IsA,omitempty"` IsB bool `protobuf:"varint,13,opt,name=IsB,proto3" json:"IsB,omitempty"` IsC bool `protobuf:"varint,14,opt,name=IsC,proto3" json:"IsC,omitempty"` IsD bool `protobuf:"varint,15,opt,name=IsD,proto3" json:"IsD,omitempty"` IsE bool `protobuf:"varint,16,opt,name=IsE,proto3" json:"IsE,omitempty"` IsF bool `protobuf:"varint,17,opt,name=IsF,proto3" json:"IsF,omitempty"` IsG bool `protobuf:"varint,18,opt,name=IsG,proto3" json:"IsG,omitempty"` IsH bool `protobuf:"varint,19,opt,name=IsH,proto3" json:"IsH,omitempty"` IsTrue bool `protobuf:"varint,20,opt,name=IsTrue,proto3" json:"IsTrue,omitempty"` Level QuestionLevel `protobuf:"varint,21,opt,name=Level,proto3,enum=pb.QuestionLevel" json:"Level,omitempty"` IsExamQuestion bool `protobuf:"varint,22,opt,name=IsExamQuestion,proto3" json:"IsExamQuestion,omitempty"` KnowledgePointUUIDs []string `protobuf:"bytes,23,rep,name=KnowledgePointUUIDs,proto3" json:"KnowledgePointUUIDs,omitempty"` // contains filtered or unexported fields }
func (*UpdateQuestionRequest) Descriptor
deprecated
func (*UpdateQuestionRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateQuestionRequest.ProtoReflect.Descriptor instead.
func (*UpdateQuestionRequest) GetAnalysis ¶ added in v0.7.0
func (x *UpdateQuestionRequest) GetAnalysis() string
func (*UpdateQuestionRequest) GetAnswerA ¶ added in v0.7.0
func (x *UpdateQuestionRequest) GetAnswerA() string
func (*UpdateQuestionRequest) GetAnswerB ¶ added in v0.7.0
func (x *UpdateQuestionRequest) GetAnswerB() string
func (*UpdateQuestionRequest) GetAnswerC ¶ added in v0.7.0
func (x *UpdateQuestionRequest) GetAnswerC() string
func (*UpdateQuestionRequest) GetAnswerD ¶ added in v0.7.0
func (x *UpdateQuestionRequest) GetAnswerD() string
func (*UpdateQuestionRequest) GetAnswerE ¶ added in v0.7.0
func (x *UpdateQuestionRequest) GetAnswerE() string
func (*UpdateQuestionRequest) GetAnswerF ¶ added in v0.7.0
func (x *UpdateQuestionRequest) GetAnswerF() string
func (*UpdateQuestionRequest) GetAnswerG ¶ added in v0.7.0
func (x *UpdateQuestionRequest) GetAnswerG() string
func (*UpdateQuestionRequest) GetAnswerH ¶ added in v0.7.0
func (x *UpdateQuestionRequest) GetAnswerH() string
func (*UpdateQuestionRequest) GetIsA ¶ added in v0.7.0
func (x *UpdateQuestionRequest) GetIsA() bool
func (*UpdateQuestionRequest) GetIsB ¶ added in v0.7.0
func (x *UpdateQuestionRequest) GetIsB() bool
func (*UpdateQuestionRequest) GetIsC ¶ added in v0.7.0
func (x *UpdateQuestionRequest) GetIsC() bool
func (*UpdateQuestionRequest) GetIsD ¶ added in v0.7.0
func (x *UpdateQuestionRequest) GetIsD() bool
func (*UpdateQuestionRequest) GetIsE ¶ added in v0.7.0
func (x *UpdateQuestionRequest) GetIsE() bool
func (*UpdateQuestionRequest) GetIsExamQuestion ¶ added in v0.7.0
func (x *UpdateQuestionRequest) GetIsExamQuestion() bool
func (*UpdateQuestionRequest) GetIsF ¶ added in v0.7.0
func (x *UpdateQuestionRequest) GetIsF() bool
func (*UpdateQuestionRequest) GetIsG ¶ added in v0.7.0
func (x *UpdateQuestionRequest) GetIsG() bool
func (*UpdateQuestionRequest) GetIsH ¶ added in v0.7.0
func (x *UpdateQuestionRequest) GetIsH() bool
func (*UpdateQuestionRequest) GetIsTrue ¶ added in v0.7.0
func (x *UpdateQuestionRequest) GetIsTrue() bool
func (*UpdateQuestionRequest) GetKnowledgePointUUIDs ¶ added in v0.7.0
func (x *UpdateQuestionRequest) GetKnowledgePointUUIDs() []string
func (*UpdateQuestionRequest) GetLevel ¶ added in v0.7.0
func (x *UpdateQuestionRequest) GetLevel() QuestionLevel
func (*UpdateQuestionRequest) GetQuestion ¶
func (x *UpdateQuestionRequest) GetQuestion() string
func (*UpdateQuestionRequest) GetUUID ¶ added in v0.7.0
func (x *UpdateQuestionRequest) GetUUID() string
func (*UpdateQuestionRequest) ProtoMessage ¶
func (*UpdateQuestionRequest) ProtoMessage()
func (*UpdateQuestionRequest) ProtoReflect ¶ added in v0.6.8
func (x *UpdateQuestionRequest) ProtoReflect() protoreflect.Message
func (*UpdateQuestionRequest) Reset ¶
func (x *UpdateQuestionRequest) Reset()
func (*UpdateQuestionRequest) String ¶
func (x *UpdateQuestionRequest) String() string
type UpdateQuestionResponse ¶
type UpdateQuestionResponse struct { Status *ResponseStatus `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*UpdateQuestionResponse) Descriptor
deprecated
func (*UpdateQuestionResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateQuestionResponse.ProtoReflect.Descriptor instead.
func (*UpdateQuestionResponse) GetStatus ¶
func (x *UpdateQuestionResponse) GetStatus() *ResponseStatus
func (*UpdateQuestionResponse) ProtoMessage ¶
func (*UpdateQuestionResponse) ProtoMessage()
func (*UpdateQuestionResponse) ProtoReflect ¶ added in v0.6.8
func (x *UpdateQuestionResponse) ProtoReflect() protoreflect.Message
func (*UpdateQuestionResponse) Reset ¶
func (x *UpdateQuestionResponse) Reset()
func (*UpdateQuestionResponse) String ¶
func (x *UpdateQuestionResponse) String() string
type UploadAnswersRequest ¶ added in v0.7.0
type UploadAnswersRequest struct { Answers []*Answer `protobuf:"bytes,1,rep,name=Answers,proto3" json:"Answers,omitempty"` // contains filtered or unexported fields }
答题情况
func (*UploadAnswersRequest) Descriptor
deprecated
added in
v0.7.0
func (*UploadAnswersRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadAnswersRequest.ProtoReflect.Descriptor instead.
func (*UploadAnswersRequest) GetAnswers ¶ added in v0.7.0
func (x *UploadAnswersRequest) GetAnswers() []*Answer
func (*UploadAnswersRequest) ProtoMessage ¶ added in v0.7.0
func (*UploadAnswersRequest) ProtoMessage()
func (*UploadAnswersRequest) ProtoReflect ¶ added in v0.7.0
func (x *UploadAnswersRequest) ProtoReflect() protoreflect.Message
func (*UploadAnswersRequest) Reset ¶ added in v0.7.0
func (x *UploadAnswersRequest) Reset()
func (*UploadAnswersRequest) String ¶ added in v0.7.0
func (x *UploadAnswersRequest) String() string
type UploadAnswersResponse ¶ added in v0.7.0
type UploadAnswersResponse struct { Status *ResponseStatus `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*UploadAnswersResponse) Descriptor
deprecated
added in
v0.7.0
func (*UploadAnswersResponse) Descriptor() ([]byte, []int)
Deprecated: Use UploadAnswersResponse.ProtoReflect.Descriptor instead.
func (*UploadAnswersResponse) GetStatus ¶ added in v0.7.0
func (x *UploadAnswersResponse) GetStatus() *ResponseStatus
func (*UploadAnswersResponse) ProtoMessage ¶ added in v0.7.0
func (*UploadAnswersResponse) ProtoMessage()
func (*UploadAnswersResponse) ProtoReflect ¶ added in v0.7.0
func (x *UploadAnswersResponse) ProtoReflect() protoreflect.Message
func (*UploadAnswersResponse) Reset ¶ added in v0.7.0
func (x *UploadAnswersResponse) Reset()
func (*UploadAnswersResponse) String ¶ added in v0.7.0
func (x *UploadAnswersResponse) String() string
type UploadContentReadingsRequest ¶ added in v0.7.0
type UploadContentReadingsRequest struct { ContentReadings []*ContentReading `protobuf:"bytes,1,rep,name=ContentReadings,proto3" json:"ContentReadings,omitempty"` // contains filtered or unexported fields }
资料阅读情况
func (*UploadContentReadingsRequest) Descriptor
deprecated
added in
v0.7.0
func (*UploadContentReadingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadContentReadingsRequest.ProtoReflect.Descriptor instead.
func (*UploadContentReadingsRequest) GetContentReadings ¶ added in v0.7.0
func (x *UploadContentReadingsRequest) GetContentReadings() []*ContentReading
func (*UploadContentReadingsRequest) ProtoMessage ¶ added in v0.7.0
func (*UploadContentReadingsRequest) ProtoMessage()
func (*UploadContentReadingsRequest) ProtoReflect ¶ added in v0.7.0
func (x *UploadContentReadingsRequest) ProtoReflect() protoreflect.Message
func (*UploadContentReadingsRequest) Reset ¶ added in v0.7.0
func (x *UploadContentReadingsRequest) Reset()
func (*UploadContentReadingsRequest) String ¶ added in v0.7.0
func (x *UploadContentReadingsRequest) String() string
type UploadContentReadingsResponse ¶ added in v0.7.0
type UploadContentReadingsResponse struct { Status *ResponseStatus `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"` // contains filtered or unexported fields }
func (*UploadContentReadingsResponse) Descriptor
deprecated
added in
v0.7.0
func (*UploadContentReadingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use UploadContentReadingsResponse.ProtoReflect.Descriptor instead.
func (*UploadContentReadingsResponse) GetStatus ¶ added in v0.7.0
func (x *UploadContentReadingsResponse) GetStatus() *ResponseStatus
func (*UploadContentReadingsResponse) ProtoMessage ¶ added in v0.7.0
func (*UploadContentReadingsResponse) ProtoMessage()
func (*UploadContentReadingsResponse) ProtoReflect ¶ added in v0.7.0
func (x *UploadContentReadingsResponse) ProtoReflect() protoreflect.Message
func (*UploadContentReadingsResponse) Reset ¶ added in v0.7.0
func (x *UploadContentReadingsResponse) Reset()
func (*UploadContentReadingsResponse) String ¶ added in v0.7.0
func (x *UploadContentReadingsResponse) String() string
type UserGender ¶ added in v0.7.0
type UserGender int32
const ( UserGender_Other UserGender = 0 UserGender_Man UserGender = 1 UserGender_Woman UserGender = 2 )
func (UserGender) Descriptor ¶ added in v0.7.0
func (UserGender) Descriptor() protoreflect.EnumDescriptor
func (UserGender) Enum ¶ added in v0.7.0
func (x UserGender) Enum() *UserGender
func (UserGender) EnumDescriptor
deprecated
added in
v0.7.0
func (UserGender) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserGender.Descriptor instead.
func (UserGender) Number ¶ added in v0.7.0
func (x UserGender) Number() protoreflect.EnumNumber
func (UserGender) String ¶ added in v0.7.0
func (x UserGender) String() string
func (UserGender) Type ¶ added in v0.7.0
func (UserGender) Type() protoreflect.EnumType
type UserServiceClient ¶ added in v0.7.0
type UserServiceClient interface { Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error) UpdateInfo(ctx context.Context, in *UpdateInfoRequest, opts ...grpc.CallOption) (*UpdateInfoResponse, error) UpdatePassword(ctx context.Context, in *UpdatePasswordRequest, opts ...grpc.CallOption) (*UpdatePasswordResponse, error) ResetPassword(ctx context.Context, in *ResetPasswordRequest, opts ...grpc.CallOption) (*ResetPasswordResponse, error) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error) SetUserAsManager(ctx context.Context, in *SetUserAsManagerRequest, opts ...grpc.CallOption) (*SetUserAsManagerResponse, error) }
UserServiceClient is the client API for UserService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewUserServiceClient ¶ added in v0.7.0
func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient
type UserServiceServer ¶ added in v0.7.0
type UserServiceServer interface { Login(context.Context, *LoginRequest) (*LoginResponse, error) Register(context.Context, *RegisterRequest) (*RegisterResponse, error) UpdateInfo(context.Context, *UpdateInfoRequest) (*UpdateInfoResponse, error) UpdatePassword(context.Context, *UpdatePasswordRequest) (*UpdatePasswordResponse, error) ResetPassword(context.Context, *ResetPasswordRequest) (*ResetPasswordResponse, error) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error) SetUserAsManager(context.Context, *SetUserAsManagerRequest) (*SetUserAsManagerResponse, error) }
UserServiceServer is the server API for UserService service.
type UserType ¶ added in v0.7.0
type UserType int32
const ( UserType_Undefine UserType = 0 UserType_Root UserType = 1 UserType_Maintainer UserType = 2 UserType_Manager UserType = 3 UserType_Leader UserType = 4 UserType_Teacher UserType = 5 UserType_Undergraduate UserType = 6 UserType_GraduateStudent UserType = 7 UserType_DoctoralStudent UserType = 8 )
func (UserType) Descriptor ¶ added in v0.7.0
func (UserType) Descriptor() protoreflect.EnumDescriptor
func (UserType) EnumDescriptor
deprecated
added in
v0.7.0
func (UserType) Number ¶ added in v0.7.0
func (x UserType) Number() protoreflect.EnumNumber
func (UserType) Type ¶ added in v0.7.0
func (UserType) Type() protoreflect.EnumType
Source Files ¶
- chapterRequest.pb.go
- chapterResponse.pb.go
- chapterService.pb.go
- chapterService.pb.gw.go
- classRequest.pb.go
- classResponse.pb.go
- classService.pb.go
- classService.pb.gw.go
- collectingDataRequest.pb.go
- collectingDataResponse.pb.go
- collectingDataService.pb.go
- collectingDataService.pb.gw.go
- courseRequest.pb.go
- courseResponse.pb.go
- courseService.pb.go
- courseService.pb.gw.go
- global.pb.go
- knowledgePointRequest.pb.go
- knowledgePointResponse.pb.go
- knowledgePointService.pb.go
- knowledgePointService.pb.gw.go
- questionRequest.pb.go
- questionResponse.pb.go
- questionService.pb.go
- questionService.pb.gw.go
- userRequest.pb.go
- userResponse.pb.go
- userService.pb.go
- userService.pb.gw.go