pb

package
v0.7.27 Latest Latest
Warning

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

Go to latest
Published: May 8, 2021 License: Apache-2.0 Imports: 16 Imported by: 6

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.

Index

Constants

This section is empty.

Variables

View Source
var ChapterService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pb.ChapterService",
	HandlerType: (*ChapterServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetChapter",
			Handler:    _ChapterService_GetChapter_Handler,
		},
		{
			MethodName: "ListChapters",
			Handler:    _ChapterService_ListChapters_Handler,
		},
		{
			MethodName: "CreateChapter",
			Handler:    _ChapterService_CreateChapter_Handler,
		},
		{
			MethodName: "UpdateChapter",
			Handler:    _ChapterService_UpdateChapter_Handler,
		},
		{
			MethodName: "DeleteChapter",
			Handler:    _ChapterService_DeleteChapter_Handler,
		},
		{
			MethodName: "UpdateChapterContent",
			Handler:    _ChapterService_UpdateChapterContent_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "chapter_service.proto",
}

ChapterService_ServiceDesc is the grpc.ServiceDesc for ChapterService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ClassService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pb.ClassService",
	HandlerType: (*ClassServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListClasses",
			Handler:    _ClassService_ListClasses_Handler,
		},
		{
			MethodName: "ListMyClasses",
			Handler:    _ClassService_ListMyClasses_Handler,
		},
		{
			MethodName: "ListCourseClasses",
			Handler:    _ClassService_ListCourseClasses_Handler,
		},
		{
			MethodName: "ListClassStudents",
			Handler:    _ClassService_ListClassStudents_Handler,
		},
		{
			MethodName: "CreateClass",
			Handler:    _ClassService_CreateClass_Handler,
		},
		{
			MethodName: "UpdateClass",
			Handler:    _ClassService_UpdateClass_Handler,
		},
		{
			MethodName: "DeleteClass",
			Handler:    _ClassService_DeleteClass_Handler,
		},
		{
			MethodName: "AddClassStudents",
			Handler:    _ClassService_AddClassStudents_Handler,
		},
		{
			MethodName: "RemoveClassStudent",
			Handler:    _ClassService_RemoveClassStudent_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "class_service.proto",
}

ClassService_ServiceDesc is the grpc.ServiceDesc for ClassService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var CollectingDataService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pb.CollectingDataService",
	HandlerType: (*CollectingDataServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UploadContentReadings",
			Handler:    _CollectingDataService_UploadContentReadings_Handler,
		},
		{
			MethodName: "UploadAnswers",
			Handler:    _CollectingDataService_UploadAnswers_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "collecting_data_service.proto",
}

CollectingDataService_ServiceDesc is the grpc.ServiceDesc for CollectingDataService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var CourseService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pb.CourseService",
	HandlerType: (*CourseServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetCourse",
			Handler:    _CourseService_GetCourse_Handler,
		},
		{
			MethodName: "ListCourses",
			Handler:    _CourseService_ListCourses_Handler,
		},
		{
			MethodName: "CreateCourse",
			Handler:    _CourseService_CreateCourse_Handler,
		},
		{
			MethodName: "UpdateCourse",
			Handler:    _CourseService_UpdateCourse_Handler,
		},
		{
			MethodName: "DeleteCourse",
			Handler:    _CourseService_DeleteCourse_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "course_service.proto",
}

CourseService_ServiceDesc is the grpc.ServiceDesc for CourseService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_chapter_request_proto protoreflect.FileDescriptor
View Source
var File_chapter_response_proto protoreflect.FileDescriptor
View Source
var File_chapter_service_proto protoreflect.FileDescriptor
View Source
var File_class_request_proto protoreflect.FileDescriptor
View Source
var File_class_response_proto protoreflect.FileDescriptor
View Source
var File_class_service_proto protoreflect.FileDescriptor
View Source
var File_collecting_data_request_proto protoreflect.FileDescriptor
View Source
var File_collecting_data_response_proto protoreflect.FileDescriptor
View Source
var File_collecting_data_service_proto protoreflect.FileDescriptor
View Source
var File_course_request_proto protoreflect.FileDescriptor
View Source
var File_course_response_proto protoreflect.FileDescriptor
View Source
var File_course_service_proto protoreflect.FileDescriptor
View Source
var File_global_proto protoreflect.FileDescriptor
View Source
var File_question_request_proto protoreflect.FileDescriptor
View Source
var File_question_response_proto protoreflect.FileDescriptor
View Source
var File_question_service_proto protoreflect.FileDescriptor
View Source
var File_user_request_proto protoreflect.FileDescriptor
View Source
var File_user_response_proto protoreflect.FileDescriptor
View Source
var File_user_service_proto protoreflect.FileDescriptor
View Source
var QuestionService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pb.QuestionService",
	HandlerType: (*QuestionServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetQuestions",
			Handler:    _QuestionService_GetQuestions_Handler,
		},
		{
			MethodName: "GetQuestionsFullInfo",
			Handler:    _QuestionService_GetQuestionsFullInfo_Handler,
		},
		{
			MethodName: "ListQuestions",
			Handler:    _QuestionService_ListQuestions_Handler,
		},
		{
			MethodName: "ListWrongQuestionAnswers",
			Handler:    _QuestionService_ListWrongQuestionAnswers_Handler,
		},
		{
			MethodName: "ListRecommendedQuestions",
			Handler:    _QuestionService_ListRecommendedQuestions_Handler,
		},
		{
			MethodName: "CreateQuestion",
			Handler:    _QuestionService_CreateQuestion_Handler,
		},
		{
			MethodName: "UpdateQuestion",
			Handler:    _QuestionService_UpdateQuestion_Handler,
		},
		{
			MethodName: "DeleteQuestion",
			Handler:    _QuestionService_DeleteQuestion_Handler,
		},
		{
			MethodName: "AnswerQuestion",
			Handler:    _QuestionService_AnswerQuestion_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "question_service.proto",
}

QuestionService_ServiceDesc is the grpc.ServiceDesc for QuestionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var UserService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pb.UserService",
	HandlerType: (*UserServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Login",
			Handler:    _UserService_Login_Handler,
		},
		{
			MethodName: "CreateUsers",
			Handler:    _UserService_CreateUsers_Handler,
		},
		{
			MethodName: "ListUsers",
			Handler:    _UserService_ListUsers_Handler,
		},
		{
			MethodName: "UpdateInfo",
			Handler:    _UserService_UpdateInfo_Handler,
		},
		{
			MethodName: "UpdatePassword",
			Handler:    _UserService_UpdatePassword_Handler,
		},
		{
			MethodName: "ResetPassword",
			Handler:    _UserService_ResetPassword_Handler,
		},
		{
			MethodName: "DeleteUser",
			Handler:    _UserService_DeleteUser_Handler,
		},
		{
			MethodName: "SetUserAsManager",
			Handler:    _UserService_SetUserAsManager_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "user_service.proto",
}

UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

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. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterChapterServiceHandlerFromEndpoint instead.

func RegisterChapterServiceServer

func RegisterChapterServiceServer(s grpc.ServiceRegistrar, srv ChapterServiceServer)

func RegisterClassServiceHandler added in v0.7.3

func RegisterClassServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterClassServiceHandler registers the http handlers for service ClassService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterClassServiceHandlerClient added in v0.7.3

func RegisterClassServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ClassServiceClient) error

RegisterClassServiceHandlerClient registers the http handlers for service ClassService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ClassServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ClassServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ClassServiceClient" to call the correct interceptors.

func RegisterClassServiceHandlerFromEndpoint added in v0.7.3

func RegisterClassServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterClassServiceHandlerFromEndpoint is same as RegisterClassServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterClassServiceHandlerServer added in v0.7.3

func RegisterClassServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ClassServiceServer) error

RegisterClassServiceHandlerServer registers the http handlers for service ClassService to "mux". UnaryRPC :call ClassServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterClassServiceHandlerFromEndpoint instead.

func RegisterClassServiceServer added in v0.7.3

func RegisterClassServiceServer(s grpc.ServiceRegistrar, srv ClassServiceServer)

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. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterCollectingDataServiceHandlerFromEndpoint instead.

func RegisterCollectingDataServiceServer added in v0.6.8

func RegisterCollectingDataServiceServer(s grpc.ServiceRegistrar, 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. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterCourseServiceHandlerFromEndpoint instead.

func RegisterCourseServiceServer

func RegisterCourseServiceServer(s grpc.ServiceRegistrar, srv CourseServiceServer)

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. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQuestionServiceHandlerFromEndpoint instead.

func RegisterQuestionServiceServer

func RegisterQuestionServiceServer(s grpc.ServiceRegistrar, 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. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterUserServiceHandlerFromEndpoint instead.

func RegisterUserServiceServer added in v0.7.0

func RegisterUserServiceServer(s grpc.ServiceRegistrar, 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) Descriptor() ([]byte, []int)

Deprecated: Use Answer.ProtoReflect.Descriptor instead.

func (*Answer) GetEndTime added in v0.6.8

func (x *Answer) GetEndTime() uint32

func (*Answer) GetIsA added in v0.6.8

func (x *Answer) GetIsA() bool

func (*Answer) GetIsB added in v0.6.8

func (x *Answer) GetIsB() bool

func (*Answer) GetIsC added in v0.6.8

func (x *Answer) GetIsC() bool

func (*Answer) GetIsD added in v0.6.8

func (x *Answer) GetIsD() bool

func (*Answer) GetIsE added in v0.7.0

func (x *Answer) GetIsE() bool

func (*Answer) GetIsF added in v0.7.0

func (x *Answer) GetIsF() bool

func (*Answer) GetIsG added in v0.7.0

func (x *Answer) GetIsG() bool

func (*Answer) GetIsH added in v0.7.0

func (x *Answer) GetIsH() bool

func (*Answer) GetIsTrue added in v0.6.8

func (x *Answer) GetIsTrue() bool

func (*Answer) GetQuestionUUID added in v0.6.8

func (x *Answer) GetQuestionUUID() string

func (*Answer) GetStartTime added in v0.6.8

func (x *Answer) GetStartTime() uint32

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

func (*Answer) Reset added in v0.6.8

func (x *Answer) Reset()

func (*Answer) String added in v0.6.8

func (x *Answer) String() string

type AnswerQuestionRequest added in v0.7.0

type AnswerQuestionRequest struct {

	// 所用时长
	UsedTime int32 `protobuf:"varint,1,opt,name=UsedTime,proto3" json:"UsedTime,omitempty"`
	// 题目 UUID
	QuestionUUID string `protobuf:"bytes,2,opt,name=QuestionUUID,proto3" json:"QuestionUUID,omitempty"`
	// 所写答案是否正确
	IsCorrect bool `protobuf:"varint,3,opt,name=IsCorrect,proto3" json:"IsCorrect,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) GetIsCorrect added in v0.7.14

func (x *AnswerQuestionRequest) GetIsCorrect() bool

func (*AnswerQuestionRequest) GetQuestionUUID added in v0.7.0

func (x *AnswerQuestionRequest) GetQuestionUUID() string

func (*AnswerQuestionRequest) GetUsedTime added in v0.7.14

func (x *AnswerQuestionRequest) GetUsedTime() int32

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       int32  `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() int32

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)
	UpdateChapter(ctx context.Context, in *UpdateChapterRequest, opts ...grpc.CallOption) (*UpdateChapterResponse, error)
	DeleteChapter(ctx context.Context, in *DeleteChapterRequest, opts ...grpc.CallOption) (*DeleteChapterResponse, error)
	UpdateChapterContent(ctx context.Context, in *UpdateChapterContentRequest, opts ...grpc.CallOption) (*UpdateChapterContentResponse, error)
}

ChapterServiceClient is the client API for ChapterService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ChapterServiceServer

ChapterServiceServer is the server API for ChapterService service. All implementations should embed UnimplementedChapterServiceServer for forward compatibility

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 ClassServiceClient added in v0.7.3

type ClassServiceClient interface {
	// 列举自己所在的班级
	ListClasses(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ListClassesResponse, error)
	// 列举自己所创建的班级
	ListMyClasses(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ListMyClassesResponse, 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)
}

ClassServiceClient is the client API for ClassService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewClassServiceClient added in v0.7.3

func NewClassServiceClient(cc grpc.ClientConnInterface) ClassServiceClient

type ClassServiceServer added in v0.7.3

type ClassServiceServer interface {
	// 列举自己所在的班级
	ListClasses(context.Context, *Empty) (*ListClassesResponse, error)
	// 列举自己所创建的班级
	ListMyClasses(context.Context, *Empty) (*ListMyClassesResponse, 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)
}

ClassServiceServer is the server API for ClassService service. All implementations should embed UnimplementedClassServiceServer for forward compatibility

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://pkg.go.dev/google.golang.org/grpc/?tab=doc#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. All implementations should embed UnimplementedCollectingDataServiceServer for forward compatibility

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)
	UpdateCourse(ctx context.Context, in *UpdateCourseRequest, opts ...grpc.CallOption) (*UpdateCourseResponse, error)
	DeleteCourse(ctx context.Context, in *DeleteCourseRequest, opts ...grpc.CallOption) (*DeleteCourseResponse, error)
}

CourseServiceClient is the client API for CourseService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type CourseServiceServer

type CourseServiceServer interface {
	// 获取指定课程的信息
	GetCourse(context.Context, *GetCourseRequest) (*GetCourseResponse, error)
	// 列举所有课程
	ListCourses(context.Context, *Empty) (*ListCoursesResponse, error)
	// 教师可调用
	CreateCourse(context.Context, *CreateCourseRequest) (*CreateCourseResponse, error)
	UpdateCourse(context.Context, *UpdateCourseRequest) (*UpdateCourseResponse, error)
	DeleteCourse(context.Context, *DeleteCourseRequest) (*DeleteCourseResponse, error)
}

CourseServiceServer is the server API for CourseService service. All implementations should embed UnimplementedCourseServiceServer for forward compatibility

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       int32  `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() int32

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"`
	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) 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"`
	// 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) 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 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           int32  `protobuf:"varint,20,opt,name=Type,proto3" json:"Type,omitempty"`
	Level          int32  `protobuf:"varint,21,opt,name=Level,proto3" 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"`
	// 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) GetLevel added in v0.7.0

func (x *CreateQuestionRequest) GetLevel() int32

func (*CreateQuestionRequest) GetQuestion

func (x *CreateQuestionRequest) GetQuestion() string

func (*CreateQuestionRequest) GetType added in v0.7.0

func (x *CreateQuestionRequest) GetType() int32

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 CreateUsersRequest added in v0.7.13

type CreateUsersRequest struct {
	Users []*UserInfo `protobuf:"bytes,1,rep,name=Users,proto3" json:"Users,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUsersRequest) Descriptor deprecated added in v0.7.13

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

Deprecated: Use CreateUsersRequest.ProtoReflect.Descriptor instead.

func (*CreateUsersRequest) GetUsers added in v0.7.13

func (x *CreateUsersRequest) GetUsers() []*UserInfo

func (*CreateUsersRequest) ProtoMessage added in v0.7.13

func (*CreateUsersRequest) ProtoMessage()

func (*CreateUsersRequest) ProtoReflect added in v0.7.13

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

func (*CreateUsersRequest) Reset added in v0.7.13

func (x *CreateUsersRequest) Reset()

func (*CreateUsersRequest) String added in v0.7.13

func (x *CreateUsersRequest) String() string

type CreateUsersResponse added in v0.7.13

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

func (*CreateUsersResponse) Descriptor deprecated added in v0.7.13

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

Deprecated: Use CreateUsersResponse.ProtoReflect.Descriptor instead.

func (*CreateUsersResponse) GetStatus added in v0.7.13

func (x *CreateUsersResponse) GetStatus() *ResponseStatus

func (*CreateUsersResponse) ProtoMessage added in v0.7.13

func (*CreateUsersResponse) ProtoMessage()

func (*CreateUsersResponse) ProtoReflect added in v0.7.13

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

func (*CreateUsersResponse) Reset added in v0.7.13

func (x *CreateUsersResponse) Reset()

func (*CreateUsersResponse) String added in v0.7.13

func (x *CreateUsersResponse) 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 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 int32 `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() int32

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

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

func (*Empty) Reset added in v0.7.0

func (x *Empty) Reset()

func (*Empty) String added in v0.7.0

func (x *Empty) String() string

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       int32           `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() int32

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 (*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 (*GetQuestionsFullInfoResponse) ProtoMessage added in v0.7.0

func (*GetQuestionsFullInfoResponse) ProtoMessage()

func (*GetQuestionsFullInfoResponse) ProtoReflect added in v0.7.0

func (*GetQuestionsFullInfoResponse) Reset added in v0.7.0

func (x *GetQuestionsFullInfoResponse) Reset()

func (*GetQuestionsFullInfoResponse) String added in v0.7.0

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 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 (*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 (*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 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 (*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 (*ListCoursesResponse_CourseBasicInfo) GetUUID added in v0.7.0

func (*ListCoursesResponse_CourseBasicInfo) ProtoMessage added in v0.7.0

func (*ListCoursesResponse_CourseBasicInfo) ProtoMessage()

func (*ListCoursesResponse_CourseBasicInfo) ProtoReflect added in v0.7.0

func (*ListCoursesResponse_CourseBasicInfo) Reset added in v0.7.0

func (*ListCoursesResponse_CourseBasicInfo) String added in v0.7.0

type ListMyClassesResponse added in v0.7.23

type ListMyClassesResponse 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 (*ListMyClassesResponse) Descriptor deprecated added in v0.7.23

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

Deprecated: Use ListMyClassesResponse.ProtoReflect.Descriptor instead.

func (*ListMyClassesResponse) GetClasses added in v0.7.23

func (x *ListMyClassesResponse) GetClasses() []*ClassBasicInfo

func (*ListMyClassesResponse) GetStatus added in v0.7.23

func (x *ListMyClassesResponse) GetStatus() *ResponseStatus

func (*ListMyClassesResponse) ProtoMessage added in v0.7.23

func (*ListMyClassesResponse) ProtoMessage()

func (*ListMyClassesResponse) ProtoReflect added in v0.7.23

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

func (*ListMyClassesResponse) Reset added in v0.7.23

func (x *ListMyClassesResponse) Reset()

func (*ListMyClassesResponse) String added in v0.7.23

func (x *ListMyClassesResponse) 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 ListRecommendedQuestionsRequest added in v0.7.13

type ListRecommendedQuestionsRequest struct {
	CourseUUID string `protobuf:"bytes,1,opt,name=CourseUUID,proto3" json:"CourseUUID,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRecommendedQuestionsRequest) Descriptor deprecated added in v0.7.13

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

Deprecated: Use ListRecommendedQuestionsRequest.ProtoReflect.Descriptor instead.

func (*ListRecommendedQuestionsRequest) GetCourseUUID added in v0.7.13

func (x *ListRecommendedQuestionsRequest) GetCourseUUID() string

func (*ListRecommendedQuestionsRequest) ProtoMessage added in v0.7.13

func (*ListRecommendedQuestionsRequest) ProtoMessage()

func (*ListRecommendedQuestionsRequest) ProtoReflect added in v0.7.13

func (*ListRecommendedQuestionsRequest) Reset added in v0.7.13

func (*ListRecommendedQuestionsRequest) String added in v0.7.13

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 (*ListRecommendedQuestionsResponse) GetStatus added in v0.7.0

func (*ListRecommendedQuestionsResponse) ProtoMessage added in v0.7.0

func (*ListRecommendedQuestionsResponse) ProtoMessage()

func (*ListRecommendedQuestionsResponse) ProtoReflect added in v0.7.0

func (*ListRecommendedQuestionsResponse) Reset added in v0.7.0

func (*ListRecommendedQuestionsResponse) String added in v0.7.0

type ListUsersResponse added in v0.7.13

type ListUsersResponse struct {
	Users  []*UserInfo     `protobuf:"bytes,1,rep,name=Users,proto3" json:"Users,omitempty"`
	Status *ResponseStatus `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUsersResponse) Descriptor deprecated added in v0.7.13

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

Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.

func (*ListUsersResponse) GetStatus added in v0.7.13

func (x *ListUsersResponse) GetStatus() *ResponseStatus

func (*ListUsersResponse) GetUsers added in v0.7.13

func (x *ListUsersResponse) GetUsers() []*UserInfo

func (*ListUsersResponse) ProtoMessage added in v0.7.13

func (*ListUsersResponse) ProtoMessage()

func (*ListUsersResponse) ProtoReflect added in v0.7.13

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

func (*ListUsersResponse) Reset added in v0.7.13

func (x *ListUsersResponse) Reset()

func (*ListUsersResponse) String added in v0.7.13

func (x *ListUsersResponse) String() string

type ListWrongQuestionAnswersResponse added in v0.7.0

type ListWrongQuestionAnswersResponse struct {
	Questions []*ListWrongQuestionAnswersResponse_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 (*ListWrongQuestionAnswersResponse) GetStatus added in v0.7.0

func (*ListWrongQuestionAnswersResponse) ProtoMessage added in v0.7.0

func (*ListWrongQuestionAnswersResponse) ProtoMessage()

func (*ListWrongQuestionAnswersResponse) ProtoReflect added in v0.7.0

func (*ListWrongQuestionAnswersResponse) Reset added in v0.7.0

func (*ListWrongQuestionAnswersResponse) String added in v0.7.0

type ListWrongQuestionAnswersResponse_QuestionBasicInfoAndAnswer added in v0.7.22

type ListWrongQuestionAnswersResponse_QuestionBasicInfoAndAnswer struct {
	Question  *QuestionBasicInfo `protobuf:"bytes,1,opt,name=Question,proto3" json:"Question,omitempty"`
	IsCorrect bool               `protobuf:"varint,2,opt,name=IsCorrect,proto3" json:"IsCorrect,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWrongQuestionAnswersResponse_QuestionBasicInfoAndAnswer) Descriptor deprecated added in v0.7.22

Deprecated: Use ListWrongQuestionAnswersResponse_QuestionBasicInfoAndAnswer.ProtoReflect.Descriptor instead.

func (*ListWrongQuestionAnswersResponse_QuestionBasicInfoAndAnswer) GetIsCorrect added in v0.7.22

func (*ListWrongQuestionAnswersResponse_QuestionBasicInfoAndAnswer) GetQuestion added in v0.7.22

func (*ListWrongQuestionAnswersResponse_QuestionBasicInfoAndAnswer) ProtoMessage added in v0.7.22

func (*ListWrongQuestionAnswersResponse_QuestionBasicInfoAndAnswer) ProtoReflect added in v0.7.22

func (*ListWrongQuestionAnswersResponse_QuestionBasicInfoAndAnswer) Reset added in v0.7.22

func (*ListWrongQuestionAnswersResponse_QuestionBasicInfoAndAnswer) String added in v0.7.22

type LoginRequest

type LoginRequest struct {
	AccountID   int32  `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() int32

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     int32            `protobuf:"varint,6,opt,name=Type,proto3" 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() int32

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 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         int32            `protobuf:"varint,6,opt,name=Type,proto3" json:"Type,omitempty"`
	Level        int32            `protobuf:"varint,7,opt,name=Level,proto3" json:"Level,omitempty"`
	AnswerCount  int32            `protobuf:"varint,8,opt,name=AnswerCount,proto3" json:"AnswerCount,omitempty"`
	CorrectCount int32            `protobuf:"varint,9,opt,name=CorrectCount,proto3" json:"CorrectCount,omitempty"`
	ChapterUUID  string           `protobuf:"bytes,10,opt,name=ChapterUUID,proto3" json:"ChapterUUID,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() int32

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() int32

func (*QuestionFullInfo) GetLevel added in v0.7.0

func (x *QuestionFullInfo) GetLevel() int32

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() int32

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 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         int32  `protobuf:"varint,3,opt,name=Type,proto3" json:"Type,omitempty"`
	Level        int32  `protobuf:"varint,4,opt,name=Level,proto3" 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"`
	// 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) GetLevel added in v0.7.0

func (x *QuestionLittleInfo) GetLevel() int32

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() int32

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         int32            `protobuf:"varint,21,opt,name=Type,proto3" json:"Type,omitempty"`
	Level        int32            `protobuf:"varint,22,opt,name=Level,proto3" json:"Level,omitempty"`
	AnswerCount  int32            `protobuf:"varint,23,opt,name=AnswerCount,proto3" json:"AnswerCount,omitempty"`
	CorrectCount int32            `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() int32

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() int32

func (*QuestionMoreInfo) GetLevel added in v0.7.0

func (x *QuestionMoreInfo) GetLevel() int32

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() int32

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 *ListRecommendedQuestionsRequest, opts ...grpc.CallOption) (*ListRecommendedQuestionsResponse, error)