pb

package
v0.7.6 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2020 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.

Package pb is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var File_chapterRequest_proto protoreflect.FileDescriptor
View Source
var File_chapterResponse_proto protoreflect.FileDescriptor
View Source
var File_chapterService_proto protoreflect.FileDescriptor
View Source
var File_classRequest_proto protoreflect.FileDescriptor
View Source
var File_classResponse_proto protoreflect.FileDescriptor
View Source
var File_classService_proto protoreflect.FileDescriptor
View Source
var File_collectingDataRequest_proto protoreflect.FileDescriptor
View Source
var File_collectingDataResponse_proto protoreflect.FileDescriptor
View Source
var File_collectingDataService_proto protoreflect.FileDescriptor
View Source
var File_courseRequest_proto protoreflect.FileDescriptor
View Source
var File_courseResponse_proto protoreflect.FileDescriptor
View Source
var File_courseService_proto protoreflect.FileDescriptor
View Source
var File_global_proto protoreflect.FileDescriptor
View Source
var File_knowledgePointRequest_proto protoreflect.FileDescriptor
View Source
var File_knowledgePointResponse_proto protoreflect.FileDescriptor
View Source
var File_knowledgePointService_proto protoreflect.FileDescriptor
View Source
var File_questionRequest_proto protoreflect.FileDescriptor
View Source
var File_questionResponse_proto protoreflect.FileDescriptor
View Source
var File_questionService_proto protoreflect.FileDescriptor
View Source
var File_userRequest_proto protoreflect.FileDescriptor
View Source
var File_userResponse_proto protoreflect.FileDescriptor
View Source
var File_userService_proto protoreflect.FileDescriptor

Functions

func RegisterChapterServiceHandler

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

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

func RegisterChapterServiceHandlerClient

func RegisterChapterServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ChapterServiceClient) error

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

func RegisterChapterServiceHandlerFromEndpoint

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

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

func RegisterChapterServiceHandlerServer

func RegisterChapterServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ChapterServiceServer) error

RegisterChapterServiceHandlerServer registers the http handlers for service ChapterService to "mux". UnaryRPC :call ChapterServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterChapterServiceServer

func RegisterChapterServiceServer(s *grpc.Server, srv ChapterServiceServer)

func 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.

func RegisterClassServiceServer added in v0.7.3

func RegisterClassServiceServer(s *grpc.Server, 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.

func RegisterCollectingDataServiceServer added in v0.6.8

func RegisterCollectingDataServiceServer(s *grpc.Server, srv CollectingDataServiceServer)

func RegisterCourseServiceHandler

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

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

func RegisterCourseServiceHandlerClient

func RegisterCourseServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CourseServiceClient) error

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

func RegisterCourseServiceHandlerFromEndpoint

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

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

func RegisterCourseServiceHandlerServer

func RegisterCourseServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CourseServiceServer) error

RegisterCourseServiceHandlerServer registers the http handlers for service CourseService to "mux". UnaryRPC :call CourseServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterCourseServiceServer

func RegisterCourseServiceServer(s *grpc.Server, srv CourseServiceServer)

func RegisterKnowledgePointServiceHandler added in v0.6.8

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

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

func RegisterKnowledgePointServiceHandlerClient added in v0.6.8

func RegisterKnowledgePointServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client KnowledgePointServiceClient) error

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

func RegisterKnowledgePointServiceHandlerFromEndpoint added in v0.6.8

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

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

func RegisterKnowledgePointServiceHandlerServer added in v0.6.8

func RegisterKnowledgePointServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server KnowledgePointServiceServer) error

RegisterKnowledgePointServiceHandlerServer registers the http handlers for service KnowledgePointService to "mux". UnaryRPC :call KnowledgePointServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterKnowledgePointServiceServer added in v0.6.8

func RegisterKnowledgePointServiceServer(s *grpc.Server, srv KnowledgePointServiceServer)

func RegisterQuestionServiceHandler

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

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

func RegisterQuestionServiceHandlerClient

func RegisterQuestionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QuestionServiceClient) error

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

func RegisterQuestionServiceHandlerFromEndpoint

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

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

func RegisterQuestionServiceHandlerServer

func RegisterQuestionServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QuestionServiceServer) error

RegisterQuestionServiceHandlerServer registers the http handlers for service QuestionService to "mux". UnaryRPC :call QuestionServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterQuestionServiceServer

func RegisterQuestionServiceServer(s *grpc.Server, srv QuestionServiceServer)

func RegisterUserServiceHandler added in v0.7.0

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

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

func RegisterUserServiceHandlerClient added in v0.7.0

func RegisterUserServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserServiceClient) error

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

func RegisterUserServiceHandlerFromEndpoint added in v0.7.0

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

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

func RegisterUserServiceHandlerServer added in v0.7.0

func RegisterUserServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServiceServer) error

RegisterUserServiceHandlerServer registers the http handlers for service UserService to "mux". UnaryRPC :call UserServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterUserServiceServer added in v0.7.0

func RegisterUserServiceServer(s *grpc.Server, srv UserServiceServer)

Types

type AddClassStudentsRequest added in v0.7.0

type AddClassStudentsRequest struct {
	ClassUUID string              `protobuf:"bytes,1,opt,name=ClassUUID,proto3" json:"ClassUUID,omitempty"`
	Students  []*StudentBasicInfo `protobuf:"bytes,2,rep,name=Students,proto3" json:"Students,omitempty"`
	// contains filtered or unexported fields
}

func (*AddClassStudentsRequest) Descriptor deprecated added in v0.7.0

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

Deprecated: Use AddClassStudentsRequest.ProtoReflect.Descriptor instead.

func (*AddClassStudentsRequest) GetClassUUID added in v0.7.0

func (x *AddClassStudentsRequest) GetClassUUID() string

func (*AddClassStudentsRequest) GetStudents added in v0.7.0

func (x *AddClassStudentsRequest) GetStudents() []*StudentBasicInfo

func (*AddClassStudentsRequest) ProtoMessage added in v0.7.0

func (*AddClassStudentsRequest) ProtoMessage()

func (*AddClassStudentsRequest) ProtoReflect added in v0.7.0

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

func (*AddClassStudentsRequest) Reset added in v0.7.0

func (x *AddClassStudentsRequest) Reset()

func (*AddClassStudentsRequest) String added in v0.7.0

func (x *AddClassStudentsRequest) String() string

type AddClassStudentsResponse added in v0.7.0

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

func (*AddClassStudentsResponse) Descriptor deprecated added in v0.7.0

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

Deprecated: Use AddClassStudentsResponse.ProtoReflect.Descriptor instead.

func (*AddClassStudentsResponse) GetStatus added in v0.7.0

func (x *AddClassStudentsResponse) GetStatus() *ResponseStatus

func (*AddClassStudentsResponse) ProtoMessage added in v0.7.0

func (*AddClassStudentsResponse) ProtoMessage()

func (*AddClassStudentsResponse) ProtoReflect added in v0.7.0

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

func (*AddClassStudentsResponse) Reset added in v0.7.0

func (x *AddClassStudentsResponse) Reset()

func (*AddClassStudentsResponse) String added in v0.7.0

func (x *AddClassStudentsResponse) String() string

type Answer added in v0.6.8

type Answer struct {

	// 开始时间戳
	StartTime uint32 `protobuf:"fixed32,1,opt,name=StartTime,proto3" json:"StartTime,omitempty"`
	// 结束时间戳
	EndTime uint32 `protobuf:"fixed32,2,opt,name=EndTime,proto3" json:"EndTime,omitempty"`
	// 题目 UUID
	QuestionUUID string `protobuf:"bytes,3,opt,name=QuestionUUID,proto3" json:"QuestionUUID,omitempty"`
	// 所写答案是否选中A
	IsA bool `protobuf:"varint,4,opt,name=IsA,proto3" json:"IsA,omitempty"`
	// 所写答案是否选中B
	IsB bool `protobuf:"varint,5,opt,name=IsB,proto3" json:"IsB,omitempty"`
	// 所写答案是否选中C
	IsC bool `protobuf:"varint,6,opt,name=IsC,proto3" json:"IsC,omitempty"`
	// 所写答案是否选中D
	IsD bool `protobuf:"varint,8,opt,name=IsD,proto3" json:"IsD,omitempty"`
	// 所写答案是否选中E
	IsE bool `protobuf:"varint,9,opt,name=IsE,proto3" json:"IsE,omitempty"`
	// 所写答案是否选中F
	IsF bool `protobuf:"varint,10,opt,name=IsF,proto3" json:"IsF,omitempty"`
	// 所写答案是否选中G
	IsG bool `protobuf:"varint,11,opt,name=IsG,proto3" json:"IsG,omitempty"`
	// 所写答案是否选中H
	IsH bool `protobuf:"varint,12,opt,name=IsH,proto3" json:"IsH,omitempty"`
	// 所写答案是否为正确
	IsTrue bool `protobuf:"varint,13,opt,name=IsTrue,proto3" json:"IsTrue,omitempty"`
	// contains filtered or unexported fields
}

func (*Answer) Descriptor deprecated added in v0.6.8

func (*Answer) 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 {

	// 开始时间戳
	StartTime uint32 `protobuf:"fixed32,1,opt,name=StartTime,proto3" json:"StartTime,omitempty"`
	// 结束时间戳
	EndTime uint32 `protobuf:"fixed32,2,opt,name=EndTime,proto3" json:"EndTime,omitempty"`
	// 题目 UUID
	QuestionUUID string `protobuf:"bytes,3,opt,name=QuestionUUID,proto3" json:"QuestionUUID,omitempty"`
	// 所写答案是否选中A
	IsA bool `protobuf:"varint,4,opt,name=IsA,proto3" json:"IsA,omitempty"`
	// 所写答案是否选中B
	IsB bool `protobuf:"varint,5,opt,name=IsB,proto3" json:"IsB,omitempty"`
	// 所写答案是否选中C
	IsC bool `protobuf:"varint,6,opt,name=IsC,proto3" json:"IsC,omitempty"`
	// 所写答案是否选中D
	IsD bool `protobuf:"varint,7,opt,name=IsD,proto3" json:"IsD,omitempty"`
	// 所写答案是否选中E
	IsE bool `protobuf:"varint,8,opt,name=IsE,proto3" json:"IsE,omitempty"`
	// 所写答案是否选中F
	IsF bool `protobuf:"varint,9,opt,name=IsF,proto3" json:"IsF,omitempty"`
	// 所写答案是否选中G
	IsG bool `protobuf:"varint,10,opt,name=IsG,proto3" json:"IsG,omitempty"`
	// 所写答案是否选中H
	IsH bool `protobuf:"varint,11,opt,name=IsH,proto3" json:"IsH,omitempty"`
	// 所写答案是否为正确
	IsTrue bool `protobuf:"varint,12,opt,name=IsTrue,proto3" json:"IsTrue,omitempty"`
	// contains filtered or unexported fields
}

func (*AnswerQuestionRequest) Descriptor deprecated added in v0.7.0

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

Deprecated: Use AnswerQuestionRequest.ProtoReflect.Descriptor instead.

func (*AnswerQuestionRequest) GetEndTime added in v0.7.0

func (x *AnswerQuestionRequest) GetEndTime() uint32

func (*AnswerQuestionRequest) GetIsA added in v0.7.0

func (x *AnswerQuestionRequest) GetIsA() bool

func (*AnswerQuestionRequest) GetIsB added in v0.7.0

func (x *AnswerQuestionRequest) GetIsB() bool

func (*AnswerQuestionRequest) GetIsC added in v0.7.0

func (x *AnswerQuestionRequest) GetIsC() bool

func (*AnswerQuestionRequest) GetIsD added in v0.7.0

func (x *AnswerQuestionRequest) GetIsD() bool

func (*AnswerQuestionRequest) GetIsE added in v0.7.0

func (x *AnswerQuestionRequest) GetIsE() bool

func (*AnswerQuestionRequest) GetIsF added in v0.7.0

func (x *AnswerQuestionRequest) GetIsF() bool

func (*AnswerQuestionRequest) GetIsG added in v0.7.0

func (x *AnswerQuestionRequest) GetIsG() bool

func (*AnswerQuestionRequest) GetIsH added in v0.7.0

func (x *AnswerQuestionRequest) GetIsH() bool

func (*AnswerQuestionRequest) GetIsTrue added in v0.7.0

func (x *AnswerQuestionRequest) GetIsTrue() bool

func (*AnswerQuestionRequest) GetQuestionUUID added in v0.7.0

func (x *AnswerQuestionRequest) GetQuestionUUID() string

func (*AnswerQuestionRequest) GetStartTime added in v0.7.0

func (x *AnswerQuestionRequest) GetStartTime() uint32

func (*AnswerQuestionRequest) ProtoMessage added in v0.7.0

func (*AnswerQuestionRequest) ProtoMessage()

func (*AnswerQuestionRequest) ProtoReflect added in v0.7.0

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

func (*AnswerQuestionRequest) Reset added in v0.7.0

func (x *AnswerQuestionRequest) Reset()

func (*AnswerQuestionRequest) String added in v0.7.0

func (x *AnswerQuestionRequest) String() string

type AnswerQuestionResponse added in v0.7.0

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

func (*AnswerQuestionResponse) Descriptor deprecated added in v0.7.0

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

Deprecated: Use AnswerQuestionResponse.ProtoReflect.Descriptor instead.

func (*AnswerQuestionResponse) GetStatus added in v0.7.0

func (x *AnswerQuestionResponse) GetStatus() *ResponseStatus

func (*AnswerQuestionResponse) ProtoMessage added in v0.7.0

func (*AnswerQuestionResponse) ProtoMessage()

func (*AnswerQuestionResponse) ProtoReflect added in v0.7.0

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

func (*AnswerQuestionResponse) Reset added in v0.7.0

func (x *AnswerQuestionResponse) Reset()

func (*AnswerQuestionResponse) String added in v0.7.0

func (x *AnswerQuestionResponse) String() string

type ChapterBasicInfo added in v0.7.0

type ChapterBasicInfo struct {
	UUID        string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"`
	Index       uint32 `protobuf:"varint,4,opt,name=Index,proto3" json:"Index,omitempty"`
	// contains filtered or unexported fields
}

func (*ChapterBasicInfo) Descriptor deprecated added in v0.7.0

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

Deprecated: Use ChapterBasicInfo.ProtoReflect.Descriptor instead.

func (*ChapterBasicInfo) GetDescription added in v0.7.0

func (x *ChapterBasicInfo) GetDescription() string

func (*ChapterBasicInfo) GetIndex added in v0.7.0

func (x *ChapterBasicInfo) GetIndex() uint32

func (*ChapterBasicInfo) GetName added in v0.7.0

func (x *ChapterBasicInfo) GetName() string

func (*ChapterBasicInfo) GetUUID added in v0.7.0

func (x *ChapterBasicInfo) GetUUID() string

func (*ChapterBasicInfo) ProtoMessage added in v0.7.0

func (*ChapterBasicInfo) ProtoMessage()

func (*ChapterBasicInfo) ProtoReflect added in v0.7.0

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

func (*ChapterBasicInfo) Reset added in v0.7.0

func (x *ChapterBasicInfo) Reset()

func (*ChapterBasicInfo) String added in v0.7.0

func (x *ChapterBasicInfo) String() string

type ChapterServiceClient

type ChapterServiceClient interface {
	GetChapter(ctx context.Context, in *GetChapterRequest, opts ...grpc.CallOption) (*GetChapterResponse, error)
	ListChapters(ctx context.Context, in *ListChaptersRequest, opts ...grpc.CallOption) (*ListChaptersResponse, error)
	CreateChapter(ctx context.Context, in *CreateChapterRequest, opts ...grpc.CallOption) (*CreateChapterResponse, error)
	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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type ChapterServiceServer

ChapterServiceServer is the server API for ChapterService service.

type ClassBasicInfo added in v0.7.0

type ClassBasicInfo struct {
	UUID        string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"`
	CourseUUID  string `protobuf:"bytes,4,opt,name=CourseUUID,proto3" json:"CourseUUID,omitempty"`
	// contains filtered or unexported fields
}

func (*ClassBasicInfo) Descriptor deprecated added in v0.7.0

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

Deprecated: Use ClassBasicInfo.ProtoReflect.Descriptor instead.

func (*ClassBasicInfo) GetCourseUUID added in v0.7.0

func (x *ClassBasicInfo) GetCourseUUID() string

func (*ClassBasicInfo) GetDescription added in v0.7.0

func (x *ClassBasicInfo) GetDescription() string

func (*ClassBasicInfo) GetName added in v0.7.0

func (x *ClassBasicInfo) GetName() string

func (*ClassBasicInfo) GetUUID added in v0.7.0

func (x *ClassBasicInfo) GetUUID() string

func (*ClassBasicInfo) ProtoMessage added in v0.7.0

func (*ClassBasicInfo) ProtoMessage()

func (*ClassBasicInfo) ProtoReflect added in v0.7.0

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

func (*ClassBasicInfo) Reset added in v0.7.0

func (x *ClassBasicInfo) Reset()

func (*ClassBasicInfo) String added in v0.7.0

func (x *ClassBasicInfo) String() string

type ClassServiceClient added in v0.7.3

type ClassServiceClient interface {
	// 列举自己所在的班级
	ListClasses(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ListClassesResponse, error)
	// 列举自己所管理的班级
	ListManagedClasses(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ListManagedClassesResponse, error)
	// 列举使用指定课程的班级, 仅管理员可调用
	ListCourseClasses(ctx context.Context, in *ListCourseClassesRequest, opts ...grpc.CallOption) (*ListCourseClassesResponse, error)
	ListClassStudents(ctx context.Context, in *ListClassStudentsRequest, opts ...grpc.CallOption) (*ListClassStudentsResponse, error)
	CreateClass(ctx context.Context, in *CreateClassRequest, opts ...grpc.CallOption) (*CreateClassResponse, error)
	UpdateClass(ctx context.Context, in *UpdateClassRequest, opts ...grpc.CallOption) (*UpdateClassResponse, error)
	DeleteClass(ctx context.Context, in *DeleteClassRequest, opts ...grpc.CallOption) (*DeleteClassResponse, error)
	AddClassStudents(ctx context.Context, in *AddClassStudentsRequest, opts ...grpc.CallOption) (*AddClassStudentsResponse, error)
	RemoveClassStudent(ctx context.Context, in *RemoveClassStudentRequest, opts ...grpc.CallOption) (*RemoveClassStudentResponse, error)
	SetClassManager(ctx context.Context, in *SetClassManagerRequest, opts ...grpc.CallOption) (*SetClassManagerResponse, error)
}

ClassServiceClient is the client API for ClassService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#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)
	// 列举自己所管理的班级
	ListManagedClasses(context.Context, *Empty) (*ListManagedClassesResponse, error)
	// 列举使用指定课程的班级, 仅管理员可调用
	ListCourseClasses(context.Context, *ListCourseClassesRequest) (*ListCourseClassesResponse, error)
	ListClassStudents(context.Context, *ListClassStudentsRequest) (*ListClassStudentsResponse, error)
	CreateClass(context.Context, *CreateClassRequest) (*CreateClassResponse, error)
	UpdateClass(context.Context, *UpdateClassRequest) (*UpdateClassResponse, error)
	DeleteClass(context.Context, *DeleteClassRequest) (*DeleteClassResponse, error)
	AddClassStudents(context.Context, *AddClassStudentsRequest) (*AddClassStudentsResponse, error)
	RemoveClassStudent(context.Context, *RemoveClassStudentRequest) (*RemoveClassStudentResponse, error)
	SetClassManager(context.Context, *SetClassManagerRequest) (*SetClassManagerResponse, error)
}

ClassServiceServer is the server API for ClassService service.

type CollectingDataServiceClient added in v0.6.8

type CollectingDataServiceClient interface {
	UploadContentReadings(ctx context.Context, in *UploadContentReadingsRequest, opts ...grpc.CallOption) (*UploadContentReadingsResponse, error)
	UploadAnswers(ctx context.Context, in *UploadAnswersRequest, opts ...grpc.CallOption) (*UploadAnswersResponse, error)
}

CollectingDataServiceClient is the client API for CollectingDataService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewCollectingDataServiceClient added in v0.6.8

func NewCollectingDataServiceClient(cc grpc.ClientConnInterface) CollectingDataServiceClient

type CollectingDataServiceServer added in v0.6.8

type CollectingDataServiceServer interface {
	UploadContentReadings(context.Context, *UploadContentReadingsRequest) (*UploadContentReadingsResponse, error)
	UploadAnswers(context.Context, *UploadAnswersRequest) (*UploadAnswersResponse, error)
}

CollectingDataServiceServer is the server API for CollectingDataService service.

type ContentReading added in v0.6.8

type ContentReading struct {

	// 开始时间戳
	StartTime uint32 `protobuf:"fixed32,1,opt,name=StartTime,proto3" json:"StartTime,omitempty"`
	// 结束时间戳
	EndTime uint32 `protobuf:"fixed32,2,opt,name=EndTime,proto3" json:"EndTime,omitempty"`
	// 章节 UUID
	ChapterUUID string `protobuf:"bytes,3,opt,name=ChapterUUID,proto3" json:"ChapterUUID,omitempty"`
	// contains filtered or unexported fields
}

func (*ContentReading) Descriptor deprecated added in v0.6.8

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

Deprecated: Use ContentReading.ProtoReflect.Descriptor instead.

func (*ContentReading) GetChapterUUID added in v0.6.8

func (x *ContentReading) GetChapterUUID() string

func (*ContentReading) GetEndTime added in v0.6.8

func (x *ContentReading) GetEndTime() uint32

func (*ContentReading) GetStartTime added in v0.6.8

func (x *ContentReading) GetStartTime() uint32

func (*ContentReading) ProtoMessage added in v0.6.8

func (*ContentReading) ProtoMessage()

func (*ContentReading) ProtoReflect added in v0.6.8

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

func (*ContentReading) Reset added in v0.6.8

func (x *ContentReading) Reset()

func (*ContentReading) String added in v0.6.8

func (x *ContentReading) String() string

type CourseServiceClient

type CourseServiceClient interface {
	// 获取指定课程的信息
	GetCourse(ctx context.Context, in *GetCourseRequest, opts ...grpc.CallOption) (*GetCourseResponse, error)
	// 列举所有课程
	ListCourses(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ListCoursesResponse, error)
	// 仅管理员可调用
	CreateCourse(ctx context.Context, in *CreateCourseRequest, opts ...grpc.CallOption) (*CreateCourseResponse, error)
	UpdateCourse(ctx context.Context, in *UpdateCourseRequest, opts ...grpc.CallOption) (*UpdateCourseResponse, error)
	DeleteCourse(ctx context.Context, in *DeleteCourseRequest, opts ...grpc.CallOption) (*DeleteCourseResponse, error)
	SetCourseManager(ctx context.Context, in *SetCourseManagerRequest, opts ...grpc.CallOption) (*SetCourseManagerResponse, error)
}

CourseServiceClient is the client API for CourseService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

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)
	SetCourseManager(context.Context, *SetCourseManagerRequest) (*SetCourseManagerResponse, error)
}

CourseServiceServer is the server API for CourseService service.

type CreateChapterRequest

type CreateChapterRequest struct {
	Name        string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=Description,proto3" json:"Description,omitempty"`
	Index       uint32 `protobuf:"varint,3,opt,name=Index,proto3" json:"Index,omitempty"`
	CourseUUID  string `protobuf:"bytes,4,opt,name=CourseUUID,proto3" json:"CourseUUID,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateChapterRequest) Descriptor deprecated

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

Deprecated: Use CreateChapterRequest.ProtoReflect.Descriptor instead.

func (*CreateChapterRequest) GetCourseUUID

func (x *CreateChapterRequest) GetCourseUUID() string

func (*CreateChapterRequest) GetDescription

func (x *CreateChapterRequest) GetDescription() string

func (*CreateChapterRequest) GetIndex added in v0.4.5

func (x *CreateChapterRequest) GetIndex() uint32

func (*CreateChapterRequest) GetName

func (x *CreateChapterRequest) GetName() string

func (*CreateChapterRequest) ProtoMessage

func (*CreateChapterRequest) ProtoMessage()

func (*CreateChapterRequest) ProtoReflect added in v0.6.8

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

func (*CreateChapterRequest) Reset

func (x *CreateChapterRequest) Reset()

func (*CreateChapterRequest) String

func (x *CreateChapterRequest) String() string

type CreateChapterResponse

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

func (*CreateChapterResponse) Descriptor deprecated

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

Deprecated: Use CreateChapterResponse.ProtoReflect.Descriptor instead.

func (*CreateChapterResponse) GetChapterUUID added in v0.7.0

func (x *CreateChapterResponse) GetChapterUUID() string

func (*CreateChapterResponse) GetStatus

func (x *CreateChapterResponse) GetStatus() *ResponseStatus

func (*CreateChapterResponse) ProtoMessage

func (*CreateChapterResponse) ProtoMessage()

func (*CreateChapterResponse) ProtoReflect added in v0.6.8

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

func (*CreateChapterResponse) Reset

func (x *CreateChapterResponse) Reset()

func (*CreateChapterResponse) String

func (x *CreateChapterResponse) String() string

type CreateClassRequest

type CreateClassRequest struct {
	Name        string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=Description,proto3" json:"Description,omitempty"`
	ManagerID   uint32 `protobuf:"varint,3,opt,name=ManagerID,proto3" json:"ManagerID,omitempty"`
	CourseUUID  string `protobuf:"bytes,4,opt,name=CourseUUID,proto3" json:"CourseUUID,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateClassRequest) Descriptor deprecated

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

Deprecated: Use CreateClassRequest.ProtoReflect.Descriptor instead.

func (*CreateClassRequest) GetCourseUUID added in v0.7.0

func (x *CreateClassRequest) GetCourseUUID() string

func (*CreateClassRequest) GetDescription

func (x *CreateClassRequest) GetDescription() string

func (*CreateClassRequest) GetManagerID added in v0.7.0

func (x *CreateClassRequest) GetManagerID() uint32

func (*CreateClassRequest) GetName

func (x *CreateClassRequest) GetName() string

func (*CreateClassRequest) ProtoMessage

func (*CreateClassRequest) ProtoMessage()

func (*CreateClassRequest) ProtoReflect added in v0.6.8

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

func (*CreateClassRequest) Reset

func (x *CreateClassRequest) Reset()

func (*CreateClassRequest) String

func (x *CreateClassRequest) String() string

type CreateClassResponse

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

func (*CreateClassResponse) Descriptor deprecated

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

Deprecated: Use CreateClassResponse.ProtoReflect.Descriptor instead.

func (*CreateClassResponse) GetStatus

func (x *CreateClassResponse) GetStatus() *ResponseStatus

func (*CreateClassResponse) GetUUID

func (x *CreateClassResponse) GetUUID() string

func (*CreateClassResponse) ProtoMessage

func (*CreateClassResponse) ProtoMessage()

func (*CreateClassResponse) ProtoReflect added in v0.6.8

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

func (*CreateClassResponse) Reset

func (x *CreateClassResponse) Reset()

func (*CreateClassResponse) String

func (x *CreateClassResponse) String() string

type CreateCourseRequest

type CreateCourseRequest struct {
	Name        string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=Description,proto3" json:"Description,omitempty"`
	ManagerID   uint32 `protobuf:"varint,3,opt,name=ManagerID,proto3" json:"ManagerID,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCourseRequest) Descriptor deprecated

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

Deprecated: Use CreateCourseRequest.ProtoReflect.Descriptor instead.

func (*CreateCourseRequest) GetDescription

func (x *CreateCourseRequest) GetDescription() string

func (*CreateCourseRequest) GetManagerID added in v0.7.0

func (x *CreateCourseRequest) GetManagerID() uint32

func (*CreateCourseRequest) GetName

func (x *CreateCourseRequest) GetName() string

func (*CreateCourseRequest) ProtoMessage

func (*CreateCourseRequest) ProtoMessage()

func (*CreateCourseRequest) ProtoReflect added in v0.6.8

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

func (*CreateCourseRequest) Reset

func (x *CreateCourseRequest) Reset()

func (*CreateCourseRequest) String

func (x *CreateCourseRequest) String() string

type CreateCourseResponse

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

func (*CreateCourseResponse) Descriptor deprecated

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

Deprecated: Use CreateCourseResponse.ProtoReflect.Descriptor instead.

func (*CreateCourseResponse) GetStatus

func (x *CreateCourseResponse) GetStatus() *ResponseStatus

func (*CreateCourseResponse) GetUUID

func (x *CreateCourseResponse) GetUUID() string

func (*CreateCourseResponse) ProtoMessage

func (*CreateCourseResponse) ProtoMessage()

func (*CreateCourseResponse) ProtoReflect added in v0.6.8

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

func (*CreateCourseResponse) Reset

func (x *CreateCourseResponse) Reset()

func (*CreateCourseResponse) String

func (x *CreateCourseResponse) String() string

type CreateKnowledgePointRequest added in v0.6.8

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

func (*CreateKnowledgePointRequest) Descriptor deprecated added in v0.6.8

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

Deprecated: Use CreateKnowledgePointRequest.ProtoReflect.Descriptor instead.

func (*CreateKnowledgePointRequest) GetChapterUUID added in v0.7.0

func (x *CreateKnowledgePointRequest) GetChapterUUID() string

func (*CreateKnowledgePointRequest) GetName added in v0.6.8

func (x *CreateKnowledgePointRequest) GetName() string

func (*CreateKnowledgePointRequest) ProtoMessage added in v0.6.8

func (*CreateKnowledgePointRequest) ProtoMessage()

func (*CreateKnowledgePointRequest) ProtoReflect added in v0.6.8

func (*CreateKnowledgePointRequest) Reset added in v0.6.8

func (x *CreateKnowledgePointRequest) Reset()

func (*CreateKnowledgePointRequest) String added in v0.6.8

func (x *CreateKnowledgePointRequest) String() string

type CreateKnowledgePointResponse added in v0.6.8

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

func (*CreateKnowledgePointResponse) Descriptor deprecated added in v0.6.8

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

Deprecated: Use CreateKnowledgePointResponse.ProtoReflect.Descriptor instead.

func (*CreateKnowledgePointResponse) GetStatus added in v0.6.8

func (*CreateKnowledgePointResponse) GetUUID added in v0.6.8

func (x *CreateKnowledgePointResponse) GetUUID() string

func (*CreateKnowledgePointResponse) ProtoMessage added in v0.6.8

func (*CreateKnowledgePointResponse) ProtoMessage()

func (*CreateKnowledgePointResponse) ProtoReflect added in v0.6.8

func (*CreateKnowledgePointResponse) Reset added in v0.6.8

func (x *CreateKnowledgePointResponse) Reset()

func (*CreateKnowledgePointResponse) String added in v0.6.8

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"`
	KnowledgePointUUIDs []string `protobuf:"bytes,24,rep,name=KnowledgePointUUIDs,proto3" json:"KnowledgePointUUIDs,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateQuestionRequest) Descriptor deprecated

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

Deprecated: Use CreateQuestionRequest.ProtoReflect.Descriptor instead.

func (*CreateQuestionRequest) GetAnalysis added in v0.7.0

func (x *CreateQuestionRequest) GetAnalysis() string

func (*CreateQuestionRequest) GetAnswerA added in v0.7.0

func (x *CreateQuestionRequest) GetAnswerA() string

func (*CreateQuestionRequest) GetAnswerB added in v0.7.0

func (x *CreateQuestionRequest) GetAnswerB() string

func (*CreateQuestionRequest) GetAnswerC added in v0.7.0

func (x *CreateQuestionRequest) GetAnswerC() string

func (*CreateQuestionRequest) GetAnswerD added in v0.7.0

func (x *CreateQuestionRequest) GetAnswerD() string

func (*CreateQuestionRequest) GetAnswerE added in v0.7.0

func (x *CreateQuestionRequest) GetAnswerE() string

func (*CreateQuestionRequest) GetAnswerF added in v0.7.0

func (x *CreateQuestionRequest) GetAnswerF() string

func (*CreateQuestionRequest) GetAnswerG added in v0.7.0

func (x *CreateQuestionRequest) GetAnswerG() string

func (*CreateQuestionRequest) GetAnswerH added in v0.7.0

func (x *CreateQuestionRequest) GetAnswerH() string

func (*CreateQuestionRequest) GetChapterUUID added in v0.7.0

func (x *CreateQuestionRequest) GetChapterUUID() string

func (*CreateQuestionRequest) GetIsA added in v0.7.0

func (x *CreateQuestionRequest) GetIsA() bool

func (*CreateQuestionRequest) GetIsB added in v0.7.0

func (x *CreateQuestionRequest) GetIsB() bool

func (*CreateQuestionRequest) GetIsC added in v0.7.0

func (x *CreateQuestionRequest) GetIsC() bool

func (*CreateQuestionRequest) GetIsD added in v0.7.0

func (x *CreateQuestionRequest) GetIsD() bool

func (*CreateQuestionRequest) GetIsE added in v0.7.0

func (x *CreateQuestionRequest) GetIsE() bool

func (*CreateQuestionRequest) GetIsExamQuestion added in v0.7.0

func (x *CreateQuestionRequest) GetIsExamQuestion() bool

func (*CreateQuestionRequest) GetIsF added in v0.7.0

func (x *CreateQuestionRequest) GetIsF() bool

func (*CreateQuestionRequest) GetIsG added in v0.7.0

func (x *CreateQuestionRequest) GetIsG() bool

func (*CreateQuestionRequest) GetIsH added in v0.7.0

func (x *CreateQuestionRequest) GetIsH() bool

func (*CreateQuestionRequest) GetIsTrue added in v0.7.0

func (x *CreateQuestionRequest) GetIsTrue() bool

func (*CreateQuestionRequest) GetKnowledgePointUUIDs added in v0.7.0

func (x *CreateQuestionRequest) GetKnowledgePointUUIDs() []string

func (*CreateQuestionRequest) GetLevel added in v0.7.0

func (x *CreateQuestionRequest) GetLevel() 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 DeleteChapterRequest

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

func (*DeleteChapterRequest) Descriptor deprecated

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

Deprecated: Use DeleteChapterRequest.ProtoReflect.Descriptor instead.

func (*DeleteChapterRequest) GetUUID added in v0.7.0

func (x *DeleteChapterRequest) GetUUID() string

func (*DeleteChapterRequest) ProtoMessage

func (*DeleteChapterRequest) ProtoMessage()

func (*DeleteChapterRequest) ProtoReflect added in v0.6.8

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

func (*DeleteChapterRequest) Reset

func (x *DeleteChapterRequest) Reset()

func (*DeleteChapterRequest) String

func (x *DeleteChapterRequest) String() string

type DeleteChapterResponse

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

func (*DeleteChapterResponse) Descriptor deprecated

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

Deprecated: Use DeleteChapterResponse.ProtoReflect.Descriptor instead.

func (*DeleteChapterResponse) GetStatus

func (x *DeleteChapterResponse) GetStatus() *ResponseStatus

func (*DeleteChapterResponse) ProtoMessage

func (*DeleteChapterResponse) ProtoMessage()

func (*DeleteChapterResponse) ProtoReflect added in v0.6.8

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

func (*DeleteChapterResponse) Reset

func (x *DeleteChapterResponse) Reset()

func (*DeleteChapterResponse) String

func (x *DeleteChapterResponse) String() string

type DeleteClassRequest

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

func (*DeleteClassRequest) Descriptor deprecated

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

Deprecated: Use DeleteClassRequest.ProtoReflect.Descriptor instead.

func (*DeleteClassRequest) GetUUID added in v0.7.0

func (x *DeleteClassRequest) GetUUID() string

func (*DeleteClassRequest) ProtoMessage

func (*DeleteClassRequest) ProtoMessage()

func (*DeleteClassRequest) ProtoReflect added in v0.6.8

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

func (*DeleteClassRequest) Reset

func (x *DeleteClassRequest) Reset()

func (*DeleteClassRequest) String

func (x *DeleteClassRequest) String() string

type DeleteClassResponse

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

func (*DeleteClassResponse) Descriptor deprecated

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

Deprecated: Use DeleteClassResponse.ProtoReflect.Descriptor instead.

func (*DeleteClassResponse) GetStatus

func (x *DeleteClassResponse) GetStatus() *ResponseStatus

func (*DeleteClassResponse) ProtoMessage

func (*DeleteClassResponse) ProtoMessage()

func (*DeleteClassResponse) ProtoReflect added in v0.6.8

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

func (*DeleteClassResponse) Reset

func (x *DeleteClassResponse) Reset()

func (*DeleteClassResponse) String

func (x *DeleteClassResponse) String() string

type DeleteCourseRequest

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

func (*DeleteCourseRequest) Descriptor deprecated

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

Deprecated: Use DeleteCourseRequest.ProtoReflect.Descriptor instead.

func (*DeleteCourseRequest) GetUUID added in v0.7.0

func (x *DeleteCourseRequest) GetUUID() string

func (*DeleteCourseRequest) ProtoMessage

func (*DeleteCourseRequest) ProtoMessage()

func (*DeleteCourseRequest) ProtoReflect added in v0.6.8

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

func (*DeleteCourseRequest) Reset

func (x *DeleteCourseRequest) Reset()

func (*DeleteCourseRequest) String

func (x *DeleteCourseRequest) String() string

type DeleteCourseResponse

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

func (*DeleteCourseResponse) Descriptor deprecated

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

Deprecated: Use DeleteCourseResponse.ProtoReflect.Descriptor instead.

func (*DeleteCourseResponse) GetStatus

func (x *DeleteCourseResponse) GetStatus() *ResponseStatus

func (*DeleteCourseResponse) ProtoMessage

func (*DeleteCourseResponse) ProtoMessage()

func (*DeleteCourseResponse) ProtoReflect added in v0.6.8

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

func (*DeleteCourseResponse) Reset

func (x *DeleteCourseResponse) Reset()

func (*DeleteCourseResponse) String

func (x *DeleteCourseResponse) String() string

type DeleteKnowledgePointRequest added in v0.6.8

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

func (*DeleteKnowledgePointRequest) Descriptor deprecated added in v0.6.8

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

Deprecated: Use DeleteKnowledgePointRequest.ProtoReflect.Descriptor instead.

func (*DeleteKnowledgePointRequest) GetUUID added in v0.6.8

func (x *DeleteKnowledgePointRequest) GetUUID() string

func (*DeleteKnowledgePointRequest) ProtoMessage added in v0.6.8

func (*DeleteKnowledgePointRequest) ProtoMessage()

func (*DeleteKnowledgePointRequest) ProtoReflect added in v0.6.8

func (*DeleteKnowledgePointRequest) Reset added in v0.6.8

func (x *DeleteKnowledgePointRequest) Reset()

func (*DeleteKnowledgePointRequest) String added in v0.6.8

func (x *DeleteKnowledgePointRequest) String() string

type DeleteKnowledgePointResponse added in v0.6.8

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

func (*DeleteKnowledgePointResponse) Descriptor deprecated added in v0.6.8

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

Deprecated: Use DeleteKnowledgePointResponse.ProtoReflect.Descriptor instead.

func (*DeleteKnowledgePointResponse) GetStatus added in v0.6.8

func (*DeleteKnowledgePointResponse) ProtoMessage added in v0.6.8

func (*DeleteKnowledgePointResponse) ProtoMessage()

func (*DeleteKnowledgePointResponse) ProtoReflect added in v0.6.8

func (*DeleteKnowledgePointResponse) Reset added in v0.6.8

func (x *DeleteKnowledgePointResponse) Reset()

func (*DeleteKnowledgePointResponse) String added in v0.6.8

type DeleteQuestionRequest

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

func (*DeleteQuestionRequest) Descriptor deprecated

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

Deprecated: Use DeleteQuestionRequest.ProtoReflect.Descriptor instead.

func (*DeleteQuestionRequest) GetUUID added in v0.7.0

func (x *DeleteQuestionRequest) GetUUID() string

func (*DeleteQuestionRequest) ProtoMessage

func (*DeleteQuestionRequest) ProtoMessage()

func (*DeleteQuestionRequest) ProtoReflect added in v0.6.8

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

func (*DeleteQuestionRequest) Reset

func (x *DeleteQuestionRequest) Reset()

func (*DeleteQuestionRequest) String

func (x *DeleteQuestionRequest) String() string

type DeleteQuestionResponse

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

func (*DeleteQuestionResponse) Descriptor deprecated

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

Deprecated: Use DeleteQuestionResponse.ProtoReflect.Descriptor instead.

func (*DeleteQuestionResponse) GetStatus

func (x *DeleteQuestionResponse) GetStatus() *ResponseStatus

func (*DeleteQuestionResponse) ProtoMessage

func (*DeleteQuestionResponse) ProtoMessage()

func (*DeleteQuestionResponse) ProtoReflect added in v0.6.8

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

func (*DeleteQuestionResponse) Reset

func (x *DeleteQuestionResponse) Reset()

func (*DeleteQuestionResponse) String

func (x *DeleteQuestionResponse) String() string

type DeleteUserRequest

type DeleteUserRequest struct {
	AccountID uint32 `protobuf:"varint,1,opt,name=AccountID,proto3" json:"AccountID,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserRequest) Descriptor deprecated

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

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRequest) GetAccountID added in v0.7.0

func (x *DeleteUserRequest) GetAccountID() uint32

func (*DeleteUserRequest) ProtoMessage

func (*DeleteUserRequest) ProtoMessage()

func (*DeleteUserRequest) ProtoReflect added in v0.6.8

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

func (*DeleteUserRequest) Reset

func (x *DeleteUserRequest) Reset()

func (*DeleteUserRequest) String

func (x *DeleteUserRequest) String() string

type DeleteUserResponse

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

func (*DeleteUserResponse) Descriptor deprecated

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

Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.

func (*DeleteUserResponse) GetStatus

func (x *DeleteUserResponse) GetStatus() *ResponseStatus

func (*DeleteUserResponse) ProtoMessage

func (*DeleteUserResponse) ProtoMessage()

func (*DeleteUserResponse) ProtoReflect added in v0.6.8

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

func (*DeleteUserResponse) Reset

func (x *DeleteUserResponse) Reset()

func (*DeleteUserResponse) String

func (x *DeleteUserResponse) String() string

type Empty added in v0.7.0

type Empty struct {
	// contains filtered or unexported fields
}

func (*Empty) Descriptor deprecated added in v0.7.0

func (*Empty) 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       uint32          `protobuf:"varint,4,opt,name=Index,proto3" json:"Index,omitempty"`
	Content     string          `protobuf:"bytes,5,opt,name=Content,proto3" json:"Content,omitempty"`
	Status      *ResponseStatus `protobuf:"bytes,6,opt,name=Status,proto3" json:"Status,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChapterResponse) Descriptor deprecated

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

Deprecated: Use GetChapterResponse.ProtoReflect.Descriptor instead.

func (*GetChapterResponse) GetContent added in v0.7.0

func (x *GetChapterResponse) GetContent() string

func (*GetChapterResponse) GetDescription

func (x *GetChapterResponse) GetDescription() string

func (*GetChapterResponse) GetIndex added in v0.4.5

func (x *GetChapterResponse) GetIndex() uint32

func (*GetChapterResponse) GetName

func (x *GetChapterResponse) GetName() string

func (*GetChapterResponse) GetStatus

func (x *GetChapterResponse) GetStatus() *ResponseStatus

func (*GetChapterResponse) GetUUID added in v0.7.0

func (x *GetChapterResponse) GetUUID() string

func (*GetChapterResponse) ProtoMessage

func (*GetChapterResponse) ProtoMessage()

func (*GetChapterResponse) ProtoReflect added in v0.6.8

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

func (*GetChapterResponse) Reset

func (x *GetChapterResponse) Reset()

func (*GetChapterResponse) String

func (x *GetChapterResponse) String() string

type GetCourseRequest

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

func (*GetCourseRequest) Descriptor deprecated

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

Deprecated: Use GetCourseRequest.ProtoReflect.Descriptor instead.

func (*GetCourseRequest) GetUUID added in v0.7.0

func (x *GetCourseRequest) GetUUID() string

func (*GetCourseRequest) ProtoMessage

func (*GetCourseRequest) ProtoMessage()

func (*GetCourseRequest) ProtoReflect added in v0.6.8

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

func (*GetCourseRequest) Reset

func (x *GetCourseRequest) Reset()

func (*GetCourseRequest) String

func (x *GetCourseRequest) String() string

type GetCourseResponse

type GetCourseResponse struct {
	UUID        string              `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	Name        string              `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
	Description string              `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"`
	Chapters    []*ChapterBasicInfo `protobuf:"bytes,4,rep,name=Chapters,proto3" json:"Chapters,omitempty"`
	Status      *ResponseStatus     `protobuf:"bytes,5,opt,name=Status,proto3" json:"Status,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCourseResponse) Descriptor deprecated

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

Deprecated: Use GetCourseResponse.ProtoReflect.Descriptor instead.

func (*GetCourseResponse) GetChapters added in v0.7.0

func (x *GetCourseResponse) GetChapters() []*ChapterBasicInfo

func (*GetCourseResponse) GetDescription

func (x *GetCourseResponse) GetDescription() string

func (*GetCourseResponse) GetName

func (x *GetCourseResponse) GetName() string

func (*GetCourseResponse) GetStatus

func (x *GetCourseResponse) GetStatus() *ResponseStatus

func (*GetCourseResponse) GetUUID added in v0.7.0

func (x *GetCourseResponse) GetUUID() string

func (*GetCourseResponse) ProtoMessage

func (*GetCourseResponse) ProtoMessage()

func (*GetCourseResponse) ProtoReflect added in v0.6.8

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

func (*GetCourseResponse) Reset

func (x *GetCourseResponse) Reset()

func (*GetCourseResponse) String

func (x *GetCourseResponse) String() string

type GetQuestionsFullInfoRequest added in v0.7.0

type GetQuestionsFullInfoRequest struct {
	QuestionUUIDs []string `protobuf:"bytes,1,rep,name=QuestionUUIDs,proto3" json:"QuestionUUIDs,omitempty"`
	// contains filtered or unexported fields
}

func (*GetQuestionsFullInfoRequest) Descriptor deprecated added in v0.7.0

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

Deprecated: Use GetQuestionsFullInfoRequest.ProtoReflect.Descriptor instead.

func (*GetQuestionsFullInfoRequest) GetQuestionUUIDs added in v0.7.0

func (x *GetQuestionsFullInfoRequest) GetQuestionUUIDs() []string

func (*GetQuestionsFullInfoRequest) ProtoMessage added in v0.7.0

func (*GetQuestionsFullInfoRequest) ProtoMessage()

func (*GetQuestionsFullInfoRequest) ProtoReflect added in v0.7.0

func (*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 KnowledgePointBasicInfo added in v0.7.0

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

func (*KnowledgePointBasicInfo) Descriptor deprecated added in v0.7.0

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

Deprecated: Use KnowledgePointBasicInfo.ProtoReflect.Descriptor instead.

func (*KnowledgePointBasicInfo) GetName added in v0.7.0

func (x *KnowledgePointBasicInfo) GetName() string

func (*KnowledgePointBasicInfo) GetUUID added in v0.7.0

func (x *KnowledgePointBasicInfo) GetUUID() string

func (*KnowledgePointBasicInfo) ProtoMessage added in v0.7.0

func (*KnowledgePointBasicInfo) ProtoMessage()

func (*KnowledgePointBasicInfo) ProtoReflect added in v0.7.0

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

func (*KnowledgePointBasicInfo) Reset added in v0.7.0

func (x *KnowledgePointBasicInfo) Reset()

func (*KnowledgePointBasicInfo) String added in v0.7.0

func (x *KnowledgePointBasicInfo) String() string

type KnowledgePointFullInfo added in v0.7.0

type KnowledgePointFullInfo struct {
	UUID        string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
	ChapterUUID string `protobuf:"bytes,3,opt,name=ChapterUUID,proto3" json:"ChapterUUID,omitempty"`
	// contains filtered or unexported fields
}

func (*KnowledgePointFullInfo) Descriptor deprecated added in v0.7.0

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

Deprecated: Use KnowledgePointFullInfo.ProtoReflect.Descriptor instead.

func (*KnowledgePointFullInfo) GetChapterUUID added in v0.7.0

func (x *KnowledgePointFullInfo) GetChapterUUID() string

func (*KnowledgePointFullInfo) GetName added in v0.7.0

func (x *KnowledgePointFullInfo) GetName() string

func (*KnowledgePointFullInfo) GetUUID added in v0.7.0

func (x *KnowledgePointFullInfo) GetUUID() string

func (*KnowledgePointFullInfo) ProtoMessage added in v0.7.0

func (*KnowledgePointFullInfo) ProtoMessage()

func (*KnowledgePointFullInfo) ProtoReflect added in v0.7.0

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

func (*KnowledgePointFullInfo) Reset added in v0.7.0

func (x *KnowledgePointFullInfo) Reset()

func (*KnowledgePointFullInfo) String added in v0.7.0

func (x *KnowledgePointFullInfo) String() string

type KnowledgePointServiceClient added in v0.6.8

type KnowledgePointServiceClient interface {
	ListCourseKnowledgePoints(ctx context.Context, in *ListCourseKnowledgePointsRequest, opts ...grpc.CallOption) (*ListCourseKnowledgePointsResponse, error)
	ListChapterKnowledgePoints(ctx context.Context, in *ListChapterKnowledgePointsRequest, opts ...grpc.CallOption) (*ListChapterKnowledgePointsResponse, error)
	CreateKnowledgePoint(ctx context.Context, in *CreateKnowledgePointRequest, opts ...grpc.CallOption) (*CreateKnowledgePointResponse, error)
	DeleteKnowledgePoint(ctx context.Context, in *DeleteKnowledgePointRequest, opts ...grpc.CallOption) (*DeleteKnowledgePointResponse, error)
}

KnowledgePointServiceClient is the client API for KnowledgePointService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewKnowledgePointServiceClient added in v0.6.8

func NewKnowledgePointServiceClient(cc grpc.ClientConnInterface) KnowledgePointServiceClient

type KnowledgePointServiceServer added in v0.6.8

KnowledgePointServiceServer is the server API for KnowledgePointService service.

type ListChapterKnowledgePointsRequest added in v0.7.0

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

func (*ListChapterKnowledgePointsRequest) Descriptor deprecated added in v0.7.0

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

Deprecated: Use ListChapterKnowledgePointsRequest.ProtoReflect.Descriptor instead.

func (*ListChapterKnowledgePointsRequest) GetChapterUUID added in v0.7.0

func (x *ListChapterKnowledgePointsRequest) GetChapterUUID() string

func (*ListChapterKnowledgePointsRequest) ProtoMessage added in v0.7.0

func (*ListChapterKnowledgePointsRequest) ProtoMessage()

func (*ListChapterKnowledgePointsRequest) ProtoReflect added in v0.7.0

func (*ListChapterKnowledgePointsRequest) Reset added in v0.7.0

func (*ListChapterKnowledgePointsRequest) String added in v0.7.0

type ListChapterKnowledgePointsResponse added in v0.7.0

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

func (*ListChapterKnowledgePointsResponse) Descriptor deprecated added in v0.7.0

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

Deprecated: Use ListChapterKnowledgePointsResponse.ProtoReflect.Descriptor instead.

func (*ListChapterKnowledgePointsResponse) GetKnowledgePoints added in v0.7.0

func (*ListChapterKnowledgePointsResponse) GetStatus added in v0.7.0

func (*ListChapterKnowledgePointsResponse) ProtoMessage added in v0.7.0

func (*ListChapterKnowledgePointsResponse) ProtoMessage()

func (*ListChapterKnowledgePointsResponse) ProtoReflect added in v0.7.0

func (*ListChapterKnowledgePointsResponse) Reset added in v0.7.0

func (*ListChapterKnowledgePointsResponse) String added in v0.7.0

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 ListCourseKnowledgePointsRequest added in v0.7.0

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

func (*ListCourseKnowledgePointsRequest) Descriptor deprecated added in v0.7.0

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

Deprecated: Use ListCourseKnowledgePointsRequest.ProtoReflect.Descriptor instead.

func (*ListCourseKnowledgePointsRequest) GetCourseUUID added in v0.7.0

func (x *ListCourseKnowledgePointsRequest) GetCourseUUID() string

func (*ListCourseKnowledgePointsRequest) ProtoMessage added in v0.7.0

func (*ListCourseKnowledgePointsRequest) ProtoMessage()

func (*ListCourseKnowledgePointsRequest) ProtoReflect added in v0.7.0

func (*ListCourseKnowledgePointsRequest) Reset added in v0.7.0

func (*ListCourseKnowledgePointsRequest) String added in v0.7.0

type ListCourseKnowledgePointsResponse added in v0.7.0

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

func (*ListCourseKnowledgePointsResponse) Descriptor deprecated added in v0.7.0

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

Deprecated: Use ListCourseKnowledgePointsResponse.ProtoReflect.Descriptor instead.

func (*ListCourseKnowledgePointsResponse) GetKnowledgePoints added in v0.7.0

func (x *ListCourseKnowledgePointsResponse) GetKnowledgePoints() []*KnowledgePointFullInfo

func (*ListCourseKnowledgePointsResponse) GetStatus added in v0.7.0

func (*ListCourseKnowledgePointsResponse) ProtoMessage added in v0.7.0

func (*ListCourseKnowledgePointsResponse) ProtoMessage()

func (*ListCourseKnowledgePointsResponse) ProtoReflect added in v0.7.0

func (*ListCourseKnowledgePointsResponse) Reset added in v0.7.0

func (*ListCourseKnowledgePointsResponse) String added in v0.7.0

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 ListManagedClassesResponse added in v0.7.0

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

func (*ListManagedClassesResponse) Descriptor deprecated added in v0.7.0

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

Deprecated: Use ListManagedClassesResponse.ProtoReflect.Descriptor instead.

func (*ListManagedClassesResponse) GetClasses added in v0.7.0

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

func (*ListManagedClassesResponse) GetStatus added in v0.7.0

func (*ListManagedClassesResponse) ProtoMessage added in v0.7.0

func (*ListManagedClassesResponse) ProtoMessage()

func (*ListManagedClassesResponse) ProtoReflect added in v0.7.0

func (*ListManagedClassesResponse) Reset added in v0.7.0

func (x *ListManagedClassesResponse) Reset()

func (*ListManagedClassesResponse) String added in v0.7.0

func (x *ListManagedClassesResponse) String() string

type ListQuestionsRequest added in v0.7.0

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

func (*ListQuestionsRequest) Descriptor deprecated added in v0.7.0

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

Deprecated: Use ListQuestionsRequest.ProtoReflect.Descriptor instead.

func (*ListQuestionsRequest) GetChapterUUID added in v0.7.0

func (x *ListQuestionsRequest) GetChapterUUID() string

func (*ListQuestionsRequest) ProtoMessage added in v0.7.0

func (*ListQuestionsRequest) ProtoMessage()

func (*ListQuestionsRequest) ProtoReflect added in v0.7.0

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

func (*ListQuestionsRequest) Reset added in v0.7.0

func (x *ListQuestionsRequest) Reset()

func (*ListQuestionsRequest) String added in v0.7.0

func (x *ListQuestionsRequest) String() string

type ListQuestionsResponse added in v0.7.0

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

func (*ListQuestionsResponse) Descriptor deprecated added in v0.7.0

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

Deprecated: Use ListQuestionsResponse.ProtoReflect.Descriptor instead.

func (*ListQuestionsResponse) GetQuestions added in v0.7.0

func (x *ListQuestionsResponse) GetQuestions() []*QuestionMoreInfo

func (*ListQuestionsResponse) GetStatus added in v0.7.0

func (x *ListQuestionsResponse) GetStatus() *ResponseStatus

func (*ListQuestionsResponse) ProtoMessage added in v0.7.0

func (*ListQuestionsResponse) ProtoMessage()

func (*ListQuestionsResponse) ProtoReflect added in v0.7.0

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

func (*ListQuestionsResponse) Reset added in v0.7.0

func (x *ListQuestionsResponse) Reset()

func (*ListQuestionsResponse) String added in v0.7.0

func (x *ListQuestionsResponse) String() string

type ListRecommendedQuestionsResponse added in v0.7.0

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

func (*ListRecommendedQuestionsResponse) Descriptor deprecated added in v0.7.0

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

Deprecated: Use ListRecommendedQuestionsResponse.ProtoReflect.Descriptor instead.

func (*ListRecommendedQuestionsResponse) GetQuestions added in v0.7.0

func (*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 ListWrongQuestionAnswersResponse added in v0.7.0

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

func (*ListWrongQuestionAnswersResponse) Descriptor deprecated added in v0.7.0

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

Deprecated: Use ListWrongQuestionAnswersResponse.ProtoReflect.Descriptor instead.

func (*ListWrongQuestionAnswersResponse) GetQuestions added in v0.7.0

func (*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 LoginRequest

type LoginRequest struct {
	AccountID   uint32 `protobuf:"varint,1,opt,name=AccountID,proto3" json:"AccountID,omitempty"`
	PasswordMD5 string `protobuf:"bytes,2,opt,name=PasswordMD5,proto3" json:"PasswordMD5,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginRequest) Descriptor deprecated

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

Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.

func (*LoginRequest) GetAccountID

func (x *LoginRequest) GetAccountID() uint32

func (*LoginRequest) GetPasswordMD5

func (x *LoginRequest) GetPasswordMD5() string

func (*LoginRequest) ProtoMessage

func (*LoginRequest) ProtoMessage()

func (*LoginRequest) ProtoReflect added in v0.6.8

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

func (*LoginRequest) Reset

func (x *LoginRequest) Reset()

func (*LoginRequest) String

func (x *LoginRequest) String() string

type LoginResponse

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

func (*LoginResponse) Descriptor deprecated

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

Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.

func (*LoginResponse) GetStatus

func (x *LoginResponse) GetStatus() *ResponseStatus

func (*LoginResponse) GetToken

func (x *LoginResponse) GetToken() string

func (*LoginResponse) ProtoMessage

func (*LoginResponse) ProtoMessage()

func (*LoginResponse) ProtoReflect added in v0.6.8

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

func (*LoginResponse) Reset

func (x *LoginResponse) Reset()

func (*LoginResponse) String

func (x *LoginResponse) String() string

type QuestionAnswers added in v0.7.0

type QuestionAnswers struct {
	AnswerA string `protobuf:"bytes,1,opt,name=AnswerA,proto3" json:"AnswerA,omitempty"`
	AnswerB string `protobuf:"bytes,2,opt,name=AnswerB,proto3" json:"AnswerB,omitempty"`
	AnswerC string `protobuf:"bytes,3,opt,name=AnswerC,proto3" json:"AnswerC,omitempty"`
	AnswerD string `protobuf:"bytes,4,opt,name=AnswerD,proto3" json:"AnswerD,omitempty"`
	AnswerE string `protobuf:"bytes,5,opt,name=AnswerE,proto3" json:"AnswerE,omitempty"`
	AnswerF string `protobuf:"bytes,6,opt,name=AnswerF,proto3" json:"AnswerF,omitempty"`
	AnswerG string `protobuf:"bytes,7,opt,name=AnswerG,proto3" json:"AnswerG,omitempty"`
	AnswerH string `protobuf:"bytes,8,opt,name=AnswerH,proto3" json:"AnswerH,omitempty"`
	// contains filtered or unexported fields
}

func (*QuestionAnswers) Descriptor deprecated added in v0.7.0

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

Deprecated: Use QuestionAnswers.ProtoReflect.Descriptor instead.

func (*QuestionAnswers) GetAnswerA added in v0.7.0

func (x *QuestionAnswers) GetAnswerA() string

func (*QuestionAnswers) GetAnswerB added in v0.7.0

func (x *QuestionAnswers) GetAnswerB() string

func (*QuestionAnswers) GetAnswerC added in v0.7.0

func (x *QuestionAnswers) GetAnswerC() string

func (*QuestionAnswers) GetAnswerD added in v0.7.0

func (x *QuestionAnswers) GetAnswerD() string

func (*QuestionAnswers) GetAnswerE added in v0.7.0

func (x *QuestionAnswers) GetAnswerE() string

func (*QuestionAnswers) GetAnswerF added in v0.7.0

func (x *QuestionAnswers) GetAnswerF() string

func (*QuestionAnswers) GetAnswerG added in v0.7.0

func (x *QuestionAnswers) GetAnswerG() string

func (*QuestionAnswers) GetAnswerH added in v0.7.0

func (x *QuestionAnswers) GetAnswerH() string

func (*QuestionAnswers) ProtoMessage added in v0.7.0

func (*QuestionAnswers) ProtoMessage()

func (*QuestionAnswers) ProtoReflect added in v0.7.0

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

func (*QuestionAnswers) Reset added in v0.7.0

func (x *QuestionAnswers) Reset()

func (*QuestionAnswers) String added in v0.7.0

func (x *QuestionAnswers) String() string

type QuestionBasicInfo added in v0.7.0

type QuestionBasicInfo struct {
	UUID     string           `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	Question string           `protobuf:"bytes,2,opt,name=Question,proto3" json:"Question,omitempty"`
	Analysis string           `protobuf:"bytes,3,opt,name=Analysis,proto3" json:"Analysis,omitempty"`
	Answers  *QuestionAnswers `protobuf:"bytes,4,opt,name=Answers,proto3" json:"Answers,omitempty"`
	Options  *QuestionOptions `protobuf:"bytes,5,opt,name=Options,proto3" json:"Options,omitempty"`
	Type     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 QuestionBasicInfoAndAnswer added in v0.7.0

type QuestionBasicInfoAndAnswer struct {
	Question *QuestionBasicInfo `protobuf:"bytes,1,opt,name=Question,proto3" json:"Question,omitempty"`
	Answers  *QuestionOptions   `protobuf:"bytes,2,opt,name=Answers,proto3" json:"Answers,omitempty"`
	// contains filtered or unexported fields
}

func (*QuestionBasicInfoAndAnswer) Descriptor deprecated added in v0.7.0

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

Deprecated: Use QuestionBasicInfoAndAnswer.ProtoReflect.Descriptor instead.

func (*QuestionBasicInfoAndAnswer) GetAnswers added in v0.7.0

func (*QuestionBasicInfoAndAnswer) GetQuestion added in v0.7.0

func (*QuestionBasicInfoAndAnswer) ProtoMessage added in v0.7.0

func (*QuestionBasicInfoAndAnswer) ProtoMessage()

func (*QuestionBasicInfoAndAnswer) ProtoReflect added in v0.7.0

func (*QuestionBasicInfoAndAnswer) Reset added in v0.7.0

func (x *QuestionBasicInfoAndAnswer) Reset()

func (*QuestionBasicInfoAndAnswer) String added in v0.7.0

func (x *QuestionBasicInfoAndAnswer) String() string

type QuestionFullInfo added in v0.7.0

type QuestionFullInfo struct {
	UUID            string                     `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	Question        string                     `protobuf:"bytes,2,opt,name=Question,proto3" json:"Question,omitempty"`
	Analysis        string                     `protobuf:"bytes,3,opt,name=Analysis,proto3" json:"Analysis,omitempty"`
	Answers         *QuestionAnswers           `protobuf:"bytes,4,opt,name=Answers,proto3" json:"Answers,omitempty"`
	Options         *QuestionOptions           `protobuf:"bytes,5,opt,name=Options,proto3" json:"Options,omitempty"`
	Type            int32                      `protobuf:"varint,6,opt,name=Type,proto3" json:"Type,omitempty"`
	Level           int32                      `protobuf:"varint,7,opt,name=Level,proto3" json:"Level,omitempty"`
	AnswerCount     uint32                     `protobuf:"varint,8,opt,name=AnswerCount,proto3" json:"AnswerCount,omitempty"`
	CorrectCount    uint32                     `protobuf:"varint,9,opt,name=CorrectCount,proto3" json:"CorrectCount,omitempty"`
	ChapterUUID     string                     `protobuf:"bytes,10,opt,name=ChapterUUID,proto3" json:"ChapterUUID,omitempty"`
	KnowledgePoints []*KnowledgePointBasicInfo `protobuf:"bytes,11,rep,name=KnowledgePoints,proto3" json:"KnowledgePoints,omitempty"`
	// contains filtered or unexported fields
}

func (*QuestionFullInfo) Descriptor deprecated added in v0.7.0

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

Deprecated: Use QuestionFullInfo.ProtoReflect.Descriptor instead.

func (*QuestionFullInfo) GetAnalysis added in v0.7.0

func (x *QuestionFullInfo) GetAnalysis() string

func (*QuestionFullInfo) GetAnswerCount added in v0.7.0

func (x *QuestionFullInfo) GetAnswerCount() uint32

func (*QuestionFullInfo) GetAnswers added in v0.7.0

func (x *QuestionFullInfo) GetAnswers() *QuestionAnswers

func (*QuestionFullInfo) GetChapterUUID added in v0.7.0

func (x *QuestionFullInfo) GetChapterUUID() string

func (*QuestionFullInfo) GetCorrectCount added in v0.7.0

func (x *QuestionFullInfo) GetCorrectCount() uint32

func (*QuestionFullInfo) GetKnowledgePoints added in v0.7.0

func (x *QuestionFullInfo) GetKnowledgePoints() []*KnowledgePointBasicInfo

func (*QuestionFullInfo) GetLevel added in v0.7.0

func (x *QuestionFullInfo) GetLevel() 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"`
	KnowledgePoints []*KnowledgePointBasicInfo `protobuf:"bytes,8,rep,name=KnowledgePoints,proto3" json:"KnowledgePoints,omitempty"`
	// contains filtered or unexported fields
}

func (*QuestionLittleInfo) Descriptor deprecated added in v0.7.0

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

Deprecated: Use QuestionLittleInfo.ProtoReflect.Descriptor instead.

func (*QuestionLittleInfo) GetAnswerCount added in v0.7.0

func (x *QuestionLittleInfo) GetAnswerCount() int32

func (*QuestionLittleInfo) GetChapterUUID added in v0.7.0

func (x *QuestionLittleInfo) GetChapterUUID() string

func (*QuestionLittleInfo) GetCorrectCount added in v0.7.0

func (x *QuestionLittleInfo) GetCorrectCount() int32

func (*QuestionLittleInfo) GetKnowledgePoints added in v0.7.0

func (x *QuestionLittleInfo) GetKnowledgePoints() []*KnowledgePointBasicInfo

func (*QuestionLittleInfo) GetLevel added in v0.7.0

func (x *QuestionLittleInfo) GetLevel() 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  uint32           `protobuf:"varint,23,opt,name=AnswerCount,proto3" json:"AnswerCount,omitempty"`
	CorrectCount uint32           `protobuf:"varint,24,opt,name=CorrectCount,proto3" json:"CorrectCount,omitempty"`
	ChapterUUID  string           `protobuf:"bytes,25,opt,name=ChapterUUID,proto3" json:"ChapterUUID,omitempty"`
	// contains filtered or unexported fields
}

func (*QuestionMoreInfo) Descriptor deprecated added in v0.7.0

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

Deprecated: Use QuestionMoreInfo.ProtoReflect.Descriptor instead.

func (*QuestionMoreInfo) GetAnalysis added in v0.7.0

func (x *QuestionMoreInfo) GetAnalysis() string

func (*QuestionMoreInfo) GetAnswerCount added in v0.7.0

func (x *QuestionMoreInfo) GetAnswerCount() uint32

func (*QuestionMoreInfo) GetAnswers added in v0.7.0

func (x *QuestionMoreInfo) GetAnswers() *QuestionAnswers

func (*QuestionMoreInfo) GetChapterUUID added in v0.7.0

func (x *QuestionMoreInfo) GetChapterUUID() string

func (*QuestionMoreInfo) GetCorrectCount added in v0.7.0

func (x *QuestionMoreInfo) GetCorrectCount() uint32

func (*QuestionMoreInfo) GetLevel added in v0.7.0

func (x *QuestionMoreInfo) GetLevel() 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 *Empty, opts ...grpc.CallOption) (*ListRecommendedQuestionsResponse, error)
	CreateQuestion(ctx context.Context, in *CreateQuestionRequest, opts ...grpc.CallOption) (*CreateQuestionResponse, error)
	UpdateQuestion(ctx context.Context, in *UpdateQuestionRequest, opts ...grpc.CallOption) (*UpdateQuestionResponse, error)
	DeleteQuestion(ctx context.Context, in *DeleteQuestionRequest, opts ...grpc.CallOption) (*DeleteQuestionResponse, error)
	AnswerQuestion(ctx context.Context, in *AnswerQuestionRequest, opts ...grpc.CallOption) (*AnswerQuestionResponse, error)
}

QuestionServiceClient is the client API for QuestionService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type QuestionServiceServer

type QuestionServiceServer interface {
	// 获取指定UUID的题目信息, 仅学生调用
	GetQuestions(context.Context, *GetQuestionsRequest) (*GetQuestionsResponse, error)
	// 获取指定UUID的题目信息, 仅教师与管理员可调用
	GetQuestionsFullInfo(context.Context, *GetQuestionsFullInfoRequest) (*GetQuestionsFullInfoResponse, error)
	// 列举指定章节的题目, 仅教师与管理员可调用
	ListQuestions(context.Context, *ListQuestionsRequest) (*ListQuestionsResponse, error)
	ListWrongQuestionAnswers(context.Context, *Empty) (*ListWrongQuestionAnswersResponse, error)
	ListRecommendedQuestions(context.Context, *Empty) (*ListRecommendedQuestionsResponse, error)
	CreateQuestion(context.Context, *CreateQuestionRequest) (*CreateQuestionResponse, error)
	UpdateQuestion(context.Context, *UpdateQuestionRequest) (*UpdateQuestionResponse, error)
	DeleteQuestion(context.Context, *DeleteQuestionRequest) (*DeleteQuestionResponse, error)
	AnswerQuestion(context.Context, *AnswerQuestionRequest) (*AnswerQuestionResponse, error)
}

QuestionServiceServer is the server API for QuestionService service.

type RegisterRequest added in v0.7.2

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

func (*RegisterRequest) Descriptor deprecated added in v0.7.2

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

Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.

func (*RegisterRequest) GetUsers added in v0.7.6

func (x *RegisterRequest) GetUsers() []*RegisterRequest_UserInfo

func (*RegisterRequest) ProtoMessage added in v0.7.2

func (*RegisterRequest) ProtoMessage()

func (*RegisterRequest) ProtoReflect added in v0.7.2

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

func (*RegisterRequest) Reset added in v0.7.2

func (x *RegisterRequest) Reset()

func (*RegisterRequest) String added in v0.7.2

func (x *RegisterRequest) String() string

type RegisterRequest_UserInfo added in v0.7.6

type RegisterRequest_UserInfo struct {
	AccountID uint32 `protobuf:"varint,1,opt,name=AccountID,proto3" json:"AccountID,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
	Gender    int32  `protobuf:"varint,3,opt,name=Gender,proto3" json:"Gender,omitempty"`
	Type      int32  `protobuf:"varint,4,opt,name=Type,proto3" json:"Type,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterRequest_UserInfo) Descriptor deprecated added in v0.7.6

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

Deprecated: Use RegisterRequest_UserInfo.ProtoReflect.Descriptor instead.

func (*RegisterRequest_UserInfo) GetAccountID added in v0.7.6

func (x *RegisterRequest_UserInfo) GetAccountID() uint32

func (*RegisterRequest_UserInfo) GetGender added in v0.7.6

func (x *RegisterRequest_UserInfo) GetGender() int32

func (*RegisterRequest_UserInfo) GetName added in v0.7.6

func (x *RegisterRequest_UserInfo) GetName() string

func (*RegisterRequest_UserInfo) GetType added in v0.7.6

func (x *RegisterRequest_UserInfo) GetType() int32

func (*RegisterRequest_UserInfo) ProtoMessage added in v0.7.6

func (*RegisterRequest_UserInfo) ProtoMessage()

func (*RegisterRequest_UserInfo) ProtoReflect added in v0.7.6

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

func (*RegisterRequest_UserInfo) Reset added in v0.7.6

func (x *RegisterRequest_UserInfo) Reset()

func (*RegisterRequest_UserInfo) String added in v0.7.6

func (x *RegisterRequest_UserInfo) String() string

type RegisterResponse added in v0.7.2

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

func (*RegisterResponse) Descriptor deprecated added in v0.7.2

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

Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.

func (*RegisterResponse) GetStatus added in v0.7.2

func (x *RegisterResponse) GetStatus() *ResponseStatus

func (*RegisterResponse) ProtoMessage added in v0.7.2

func (*RegisterResponse) ProtoMessage()

func (*RegisterResponse) ProtoReflect added in v0.7.2

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

func (*RegisterResponse) Reset added in v0.7.2

func (x *RegisterResponse) Reset()

func (*RegisterResponse) String added in v0.7.2

func (x *RegisterResponse) String() string

type RemoveClassStudentRequest added in v0.7.0

type RemoveClassStudentRequest struct {
	ClassUUID string `protobuf:"bytes,1,opt,name=ClassUUID,proto3" json:"ClassUUID,omitempty"`
	StudentID uint32 `protobuf:"varint,2,opt,name=StudentID,proto3" json:"StudentID,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveClassStudentRequest) Descriptor deprecated added in v0.7.0

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

Deprecated: Use RemoveClassStudentRequest.ProtoReflect.Descriptor instead.

func (*RemoveClassStudentRequest) GetClassUUID added in v0.7.0

func (x *RemoveClassStudentRequest) GetClassUUID() string

func (*RemoveClassStudentRequest) GetStudentID added in v0.7.5

func (x *RemoveClassStudentRequest) GetStudentID() uint32

func (*RemoveClassStudentRequest) ProtoMessage added in v0.7.0

func (*RemoveClassStudentRequest) ProtoMessage()

func (*RemoveClassStudentRequest) ProtoReflect added in v0.7.0

func (*RemoveClassStudentRequest) Reset added in v0.7.0

func (x *RemoveClassStudentRequest) Reset()

func (*RemoveClassStudentRequest) String added in v0.7.0

func (x *RemoveClassStudentRequest) String() string

type RemoveClassStudentResponse added in v0.7.0

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

func (*RemoveClassStudentResponse) Descriptor deprecated added in v0.7.0

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

Deprecated: Use RemoveClassStudentResponse.ProtoReflect.Descriptor instead.

func (*RemoveClassStudentResponse) GetStatus added in v0.7.0

func (*RemoveClassStudentResponse) ProtoMessage added in v0.7.0

func (*RemoveClassStudentResponse) ProtoMessage()

func (*RemoveClassStudentResponse) ProtoReflect added in v0.7.0

func (*RemoveClassStudentResponse) Reset added in v0.7.0

func (x *RemoveClassStudentResponse) Reset()

func (*RemoveClassStudentResponse) String added in v0.7.0

func (x *RemoveClassStudentResponse) String() string

type ResetPasswordRequest

type ResetPasswordRequest struct {
	AccountID uint32 `protobuf:"varint,1,opt,name=AccountID,proto3" json:"AccountID,omitempty"`
	// contains filtered or unexported fields
}

func (*ResetPasswordRequest) Descriptor deprecated

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

Deprecated: Use ResetPasswordRequest.ProtoReflect.Descriptor instead.

func (*ResetPasswordRequest) GetAccountID added in v0.7.2

func (x *ResetPasswordRequest) GetAccountID() uint32

func (*ResetPasswordRequest) ProtoMessage

func (*ResetPasswordRequest) ProtoMessage()

func (*ResetPasswordRequest) ProtoReflect added in v0.6.8

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

func (*ResetPasswordRequest) Reset

func (x *ResetPasswordRequest) Reset()

func (*ResetPasswordRequest) String

func (x *ResetPasswordRequest) String() string

type ResetPasswordResponse

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

func (*ResetPasswordResponse) Descriptor deprecated

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

Deprecated: Use ResetPasswordResponse.ProtoReflect.Descriptor instead.

func (*ResetPasswordResponse) GetStatus

func (x *ResetPasswordResponse) GetStatus() *ResponseStatus

func (*ResetPasswordResponse) ProtoMessage

func (*ResetPasswordResponse) ProtoMessage()

func (*ResetPasswordResponse) ProtoReflect added in v0.6.8

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

func (*ResetPasswordResponse) Reset

func (x *ResetPasswordResponse) Reset()

func (*ResetPasswordResponse) String

func (x *ResetPasswordResponse) String() string

type ResponseStatus

type ResponseStatus struct {
	Code    int32  `protobuf:"varint,1,opt,name=Code,proto3" json:"Code,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=Message,proto3" json:"Message,omitempty"`
	Error   string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseStatus) Descriptor deprecated

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

Deprecated: Use ResponseStatus.ProtoReflect.Descriptor instead.

func (*ResponseStatus) GetCode

func (x *ResponseStatus) GetCode() int32

func (*ResponseStatus) GetError

func (x *ResponseStatus) GetError() string

func (*ResponseStatus) GetMessage

func (x *ResponseStatus) GetMessage() string

func (*ResponseStatus) ProtoMessage

func (*ResponseStatus) ProtoMessage()

func (*ResponseStatus) ProtoReflect added in v0.6.8

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

func (*ResponseStatus) Reset

func (x *ResponseStatus) Reset()

func (*ResponseStatus) String

func (x *ResponseStatus) String() string

type SetClassManagerRequest

type SetClassManagerRequest struct {
	ClassUUID string `protobuf:"bytes,1,opt,name=ClassUUID,proto3" json:"ClassUUID,omitempty"`
	ManagerID uint32 `protobuf:"varint,2,opt,name=ManagerID,proto3" json:"ManagerID,omitempty"`
	// 设置或取消设置
	Set bool `protobuf:"varint,3,opt,name=Set,proto3" json:"Set,omitempty"`
	// contains filtered or unexported fields
}

func (*SetClassManagerRequest) Descriptor deprecated

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

Deprecated: Use SetClassManagerRequest.ProtoReflect.Descriptor instead.

func (*SetClassManagerRequest) GetClassUUID added in v0.7.0

func (x *SetClassManagerRequest) GetClassUUID() string

func (*SetClassManagerRequest) GetManagerID added in v0.7.0

func (x *SetClassManagerRequest) GetManagerID() uint32

func (*SetClassManagerRequest) GetSet added in v0.7.0

func (x *SetClassManagerRequest) GetSet() bool

func (*SetClassManagerRequest) ProtoMessage

func (*SetClassManagerRequest) ProtoMessage()

func (*SetClassManagerRequest) ProtoReflect added in v0.6.8

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

func (*SetClassManagerRequest) Reset

func (x *SetClassManagerRequest) Reset()

func (*SetClassManagerRequest) String

func (x *SetClassManagerRequest) String() string

type SetClassManagerResponse

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

func (*SetClassManagerResponse) Descriptor deprecated

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

Deprecated: Use SetClassManagerResponse.ProtoReflect.Descriptor instead.

func (*SetClassManagerResponse) GetStatus

func (x *SetClassManagerResponse) GetStatus() *ResponseStatus

func (*SetClassManagerResponse) ProtoMessage

func (*SetClassManagerResponse) ProtoMessage()

func (*SetClassManagerResponse) ProtoReflect added in v0.6.8

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

func (*SetClassManagerResponse) Reset

func (x *SetClassManagerResponse) Reset()

func (*SetClassManagerResponse) String

func (x *SetClassManagerResponse) String() string

type SetCourseManagerRequest

type SetCourseManagerRequest struct {
	CourseUUID string `protobuf:"bytes,1,opt,name=CourseUUID,proto3" json:"CourseUUID,omitempty"`
	ManagerID  uint32 `protobuf:"varint,2,opt,name=ManagerID,proto3" json:"ManagerID,omitempty"`
	// 设置或取消设置
	Set bool `protobuf:"varint,3,opt,name=Set,proto3" json:"Set,omitempty"`
	// contains filtered or unexported fields
}

func (*SetCourseManagerRequest) Descriptor deprecated

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

Deprecated: Use SetCourseManagerRequest.ProtoReflect.Descriptor instead.

func (*SetCourseManagerRequest) GetCourseUUID added in v0.7.0

func (x *SetCourseManagerRequest) GetCourseUUID() string

func (*SetCourseManagerRequest) GetManagerID added in v0.7.0

func (x *SetCourseManagerRequest) GetManagerID() uint32

func (*SetCourseManagerRequest) GetSet added in v0.7.0

func (x *SetCourseManagerRequest) GetSet() bool

func (*SetCourseManagerRequest) ProtoMessage

func (*SetCourseManagerRequest) ProtoMessage()

func (*SetCourseManagerRequest) ProtoReflect added in v0.6.8

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

func (*SetCourseManagerRequest) Reset

func (x *SetCourseManagerRequest) Reset()

func (*SetCourseManagerRequest) String

func (x *SetCourseManagerRequest) String() string

type SetCourseManagerResponse

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

func (*SetCourseManagerResponse) Descriptor deprecated

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

Deprecated: Use SetCourseManagerResponse.ProtoReflect.Descriptor instead.

func (*SetCourseManagerResponse) GetStatus

func (x *SetCourseManagerResponse) GetStatus() *ResponseStatus

func (*SetCourseManagerResponse) ProtoMessage

func (*SetCourseManagerResponse) ProtoMessage()

func (*SetCourseManagerResponse) ProtoReflect added in v0.6.8

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

func (*SetCourseManagerResponse) Reset

func (x *SetCourseManagerResponse) Reset()

func (*SetCourseManagerResponse) String

func (x *SetCourseManagerResponse) String() string

type SetUserAsManagerRequest added in v0.7.0

type SetUserAsManagerRequest struct {
	AccountID uint32 `protobuf:"varint,1,opt,name=AccountID,proto3" json:"AccountID,omitempty"`
	// 设置或取消设置
	Set bool `protobuf:"varint,2,opt,name=Set,proto3" json:"Set,omitempty"`
	// contains filtered or unexported fields
}

func (*SetUserAsManagerRequest) Descriptor deprecated added in v0.7.0

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

Deprecated: Use SetUserAsManagerRequest.ProtoReflect.Descriptor instead.

func (*SetUserAsManagerRequest) GetAccountID added in v0.7.0

func (x *SetUserAsManagerRequest) GetAccountID() uint32

func (*SetUserAsManagerRequest) GetSet added in v0.7.0

func (x *SetUserAsManagerRequest) GetSet() bool

func (*SetUserAsManagerRequest) ProtoMessage added in v0.7.0

func (*SetUserAsManagerRequest) ProtoMessage()

func (*SetUserAsManagerRequest) ProtoReflect added in v0.7.0

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

func (*SetUserAsManagerRequest) Reset added in v0.7.0

func (x *SetUserAsManagerRequest) Reset()

func (*SetUserAsManagerRequest) String added in v0.7.0

func (x *SetUserAsManagerRequest) String() string

type SetUserAsManagerResponse added in v0.7.0

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

func (*SetUserAsManagerResponse) Descriptor deprecated added in v0.7.0

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

Deprecated: Use SetUserAsManagerResponse.ProtoReflect.Descriptor instead.

func (*SetUserAsManagerResponse) GetStatus added in v0.7.0

func (x *SetUserAsManagerResponse) GetStatus() *ResponseStatus

func (*SetUserAsManagerResponse) ProtoMessage added in v0.7.0

func (*SetUserAsManagerResponse) ProtoMessage()

func (*SetUserAsManagerResponse) ProtoReflect added in v0.7.0

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

func (*SetUserAsManagerResponse) Reset added in v0.7.0

func (x *SetUserAsManagerResponse) Reset()

func (*SetUserAsManagerResponse) String added in v0.7.0

func (x *SetUserAsManagerResponse) String() string

type StudentBasicInfo added in v0.7.0

type StudentBasicInfo struct {
	AccountID uint32 `protobuf:"varint,1,opt,name=AccountID,proto3" json:"AccountID,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
	Gender    int32  `protobuf:"varint,3,opt,name=Gender,proto3" json:"Gender,omitempty"`
	// contains filtered or unexported fields
}

func (*StudentBasicInfo) Descriptor deprecated added in v0.7.0

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

Deprecated: Use StudentBasicInfo.ProtoReflect.Descriptor instead.

func (*StudentBasicInfo) GetAccountID added in v0.7.0

func (x *StudentBasicInfo) GetAccountID() uint32

func (*StudentBasicInfo) GetGender added in v0.7.0

func (x *StudentBasicInfo) GetGender() int32

func (*StudentBasicInfo) GetName added in v0.7.0

func (x *StudentBasicInfo) GetName() string

func (*StudentBasicInfo) ProtoMessage added in v0.7.0

func (*StudentBasicInfo) ProtoMessage()

func (*StudentBasicInfo) ProtoReflect added in v0.7.0

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

func (*StudentBasicInfo) Reset added in v0.7.0

func (x *StudentBasicInfo) Reset()

func (*StudentBasicInfo) String added in v0.7.0

func (x *StudentBasicInfo) String() string

type UnimplementedChapterServiceServer

type UnimplementedChapterServiceServer struct {
}

UnimplementedChapterServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedChapterServiceServer) CreateChapter

func (*UnimplementedChapterServiceServer) DeleteChapter

func (*UnimplementedChapterServiceServer) GetChapter

func (*UnimplementedChapterServiceServer) ListChapters added in v0.7.0

func (*UnimplementedChapterServiceServer) UpdateChapter

func (*UnimplementedChapterServiceServer) UpdateChapterContent added in v0.7.0

type UnimplementedClassServiceServer added in v0.7.3

type UnimplementedClassServiceServer struct {
}

UnimplementedClassServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedClassServiceServer) AddClassStudents added in v0.7.3

func (*UnimplementedClassServiceServer) CreateClass added in v0.7.3

func (*UnimplementedClassServiceServer) DeleteClass added in v0.7.3

func (*UnimplementedClassServiceServer) ListClassStudents added in v0.7.3

func (*UnimplementedClassServiceServer) ListClasses added in v0.7.3

func (*UnimplementedClassServiceServer) ListCourseClasses added in v0.7.3

func (*UnimplementedClassServiceServer) ListManagedClasses added in v0.7.3

func (*UnimplementedClassServiceServer) RemoveClassStudent added in v0.7.3

func (*UnimplementedClassServiceServer) SetClassManager added in v0.7.3

func (*UnimplementedClassServiceServer) UpdateClass added in v0.7.3

type UnimplementedCollectingDataServiceServer added in v0.6.8

type UnimplementedCollectingDataServiceServer struct {
}

UnimplementedCollectingDataServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedCollectingDataServiceServer) UploadAnswers added in v0.6.8

func (*UnimplementedCollectingDataServiceServer) UploadContentReadings added in v0.6.8

type UnimplementedCourseServiceServer

type UnimplementedCourseServiceServer struct {
}

UnimplementedCourseServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedCourseServiceServer) CreateCourse

func (*UnimplementedCourseServiceServer) DeleteCourse

func (*UnimplementedCourseServiceServer) GetCourse

func (*UnimplementedCourseServiceServer) ListCourses added in v0.7.0

func (*UnimplementedCourseServiceServer) SetCourseManager

func (*UnimplementedCourseServiceServer) UpdateCourse

type UnimplementedKnowledgePointServiceServer added in v0.6.8

type UnimplementedKnowledgePointServiceServer struct {
}

UnimplementedKnowledgePointServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedKnowledgePointServiceServer) CreateKnowledgePoint added in v0.6.8

func (*UnimplementedKnowledgePointServiceServer) DeleteKnowledgePoint added in v0.6.8

func (*UnimplementedKnowledgePointServiceServer) ListChapterKnowledgePoints added in v0.7.0

func (*UnimplementedKnowledgePointServiceServer) ListCourseKnowledgePoints added in v0.7.0

type UnimplementedQuestionServiceServer

type UnimplementedQuestionServiceServer struct {
}

UnimplementedQuestionServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedQuestionServiceServer) AnswerQuestion added in v0.7.0

func (*UnimplementedQuestionServiceServer) CreateQuestion

func (*UnimplementedQuestionServiceServer) DeleteQuestion

func (*UnimplementedQuestionServiceServer) GetQuestions added in v0.7.0

func (*UnimplementedQuestionServiceServer) GetQuestionsFullInfo added in v0.7.0

func (*UnimplementedQuestionServiceServer) ListQuestions added in v0.7.0

func (*UnimplementedQuestionServiceServer) ListRecommendedQuestions added in v0.7.0

func (*UnimplementedQuestionServiceServer) ListWrongQuestionAnswers added in v0.7.0

func (*UnimplementedQuestionServiceServer) UpdateQuestion

type UnimplementedUserServiceServer added in v0.7.0

type UnimplementedUserServiceServer struct {
}

UnimplementedUserServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedUserServiceServer) DeleteUser added in v0.7.0

func (*UnimplementedUserServiceServer) Login added in v0.7.2

func (*UnimplementedUserServiceServer) Register added in v0.7.2

func (*UnimplementedUserServiceServer) ResetPassword added in v0.7.2

func (*UnimplementedUserServiceServer) SetUserAsManager added in v0.7.0

func (*UnimplementedUserServiceServer) UpdateInfo added in v0.7.2

func (*UnimplementedUserServiceServer) UpdatePassword added in v0.7.2

type UpdateChapterContentRequest added in v0.7.0

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

func (*UpdateChapterContentRequest) Descriptor deprecated added in v0.7.0

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

Deprecated: Use UpdateChapterContentRequest.ProtoReflect.Descriptor instead.

func (*UpdateChapterContentRequest) GetChapterUUID added in v0.7.0

func (x *UpdateChapterContentRequest) GetChapterUUID() string

func (*UpdateChapterContentRequest) GetContent added in v0.7.0

func (x *UpdateChapterContentRequest) GetContent() string

func (*UpdateChapterContentRequest) ProtoMessage added in v0.7.0

func (*UpdateChapterContentRequest) ProtoMessage()

func (*UpdateChapterContentRequest) ProtoReflect added in v0.7.0

func (*UpdateChapterContentRequest) Reset added in v0.7.0

func (x *UpdateChapterContentRequest) Reset()

func (*UpdateChapterContentRequest) String added in v0.7.0

func (x *UpdateChapterContentRequest) String() string

type UpdateChapterContentResponse added in v0.7.0

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

func (*UpdateChapterContentResponse) Descriptor deprecated added in v0.7.0

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

Deprecated: Use UpdateChapterContentResponse.ProtoReflect.Descriptor instead.

func (*UpdateChapterContentResponse) GetStatus added in v0.7.0

func (*UpdateChapterContentResponse) ProtoMessage added in v0.7.0

func (*UpdateChapterContentResponse) ProtoMessage()

func (*UpdateChapterContentResponse) ProtoReflect added in v0.7.0

func (*UpdateChapterContentResponse) Reset added in v0.7.0

func (x *UpdateChapterContentResponse) Reset()

func (*UpdateChapterContentResponse) String added in v0.7.0

type UpdateChapterRequest

type UpdateChapterRequest struct {
	UUID        string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"`
	Index       uint32 `protobuf:"varint,4,opt,name=Index,proto3" json:"Index,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateChapterRequest) Descriptor deprecated

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

Deprecated: Use UpdateChapterRequest.ProtoReflect.Descriptor instead.

func (*UpdateChapterRequest) GetDescription added in v0.7.0

func (x *UpdateChapterRequest) GetDescription() string

func (*UpdateChapterRequest) GetIndex added in v0.7.0

func (x *UpdateChapterRequest) GetIndex() uint32

func (*UpdateChapterRequest) GetName added in v0.7.0

func (x *UpdateChapterRequest) GetName() string

func (*UpdateChapterRequest) GetUUID added in v0.7.0

func (x *UpdateChapterRequest) GetUUID() string

func (*UpdateChapterRequest) ProtoMessage

func (*UpdateChapterRequest) ProtoMessage()

func (*UpdateChapterRequest) ProtoReflect added in v0.6.8

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

func (*UpdateChapterRequest) Reset

func (x *UpdateChapterRequest) Reset()

func (*UpdateChapterRequest) String

func (x *UpdateChapterRequest) String() string

type UpdateChapterResponse

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

func (*UpdateChapterResponse) Descriptor deprecated

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

Deprecated: Use UpdateChapterResponse.ProtoReflect.Descriptor instead.

func (*UpdateChapterResponse) GetStatus

func (x *UpdateChapterResponse) GetStatus() *ResponseStatus

func (*UpdateChapterResponse) ProtoMessage

func (*UpdateChapterResponse) ProtoMessage()

func (*UpdateChapterResponse) ProtoReflect added in v0.6.8

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

func (*UpdateChapterResponse) Reset

func (x *UpdateChapterResponse) Reset()

func (*UpdateChapterResponse) String

func (x *UpdateChapterResponse) String() string

type UpdateClassRequest

type UpdateClassRequest struct {
	UUID        string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateClassRequest) Descriptor deprecated

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

Deprecated: Use UpdateClassRequest.ProtoReflect.Descriptor instead.

func (*UpdateClassRequest) GetDescription added in v0.7.0

func (x *UpdateClassRequest) GetDescription() string

func (*UpdateClassRequest) GetName added in v0.7.0

func (x *UpdateClassRequest) GetName() string

func (*UpdateClassRequest) GetUUID added in v0.7.0

func (x *UpdateClassRequest) GetUUID() string

func (*UpdateClassRequest) ProtoMessage

func (*UpdateClassRequest) ProtoMessage()

func (*UpdateClassRequest) ProtoReflect added in v0.6.8

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

func (*UpdateClassRequest) Reset

func (x *UpdateClassRequest) Reset()

func (*UpdateClassRequest) String

func (x *UpdateClassRequest) String() string

type UpdateClassResponse

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

func (*UpdateClassResponse) Descriptor deprecated

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

Deprecated: Use UpdateClassResponse.ProtoReflect.Descriptor instead.

func (*UpdateClassResponse) GetStatus

func (x *UpdateClassResponse) GetStatus() *ResponseStatus

func (*UpdateClassResponse) ProtoMessage

func (*UpdateClassResponse) ProtoMessage()

func (*UpdateClassResponse) ProtoReflect added in v0.6.8

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

func (*UpdateClassResponse) Reset

func (x *UpdateClassResponse) Reset()

func (*UpdateClassResponse) String

func (x *UpdateClassResponse) String() string

type UpdateCourseRequest

type UpdateCourseRequest struct {
	UUID        string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCourseRequest) Descriptor deprecated

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

Deprecated: Use UpdateCourseRequest.ProtoReflect.Descriptor instead.

func (*UpdateCourseRequest) GetDescription added in v0.7.0

func (x *UpdateCourseRequest) GetDescription() string

func (*UpdateCourseRequest) GetName added in v0.7.0

func (x *UpdateCourseRequest) GetName() string

func (*UpdateCourseRequest) GetUUID added in v0.7.0

func (x *UpdateCourseRequest) GetUUID() string

func (*UpdateCourseRequest) ProtoMessage

func (*UpdateCourseRequest) ProtoMessage()

func (*UpdateCourseRequest) ProtoReflect added in v0.6.8

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

func (*UpdateCourseRequest) Reset

func (x *UpdateCourseRequest) Reset()

func (*UpdateCourseRequest) String

func (x *UpdateCourseRequest) String() string

type UpdateCourseResponse

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

func (*UpdateCourseResponse) Descriptor deprecated

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

Deprecated: Use UpdateCourseResponse.ProtoReflect.Descriptor instead.

func (*UpdateCourseResponse) GetStatus

func (x *UpdateCourseResponse) GetStatus() *ResponseStatus

func (*UpdateCourseResponse) ProtoMessage

func (*UpdateCourseResponse) ProtoMessage()

func (*UpdateCourseResponse) ProtoReflect added in v0.6.8

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

func (*UpdateCourseResponse) Reset

func (x *UpdateCourseResponse) Reset()

func (*UpdateCourseResponse) String

func (x *UpdateCourseResponse) String() string

type UpdateInfoRequest

type UpdateInfoRequest struct {
	Name   string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Gender int32  `protobuf:"varint,2,opt,name=Gender,proto3" json:"Gender,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateInfoRequest) Descriptor deprecated

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

Deprecated: Use UpdateInfoRequest.ProtoReflect.Descriptor instead.

func (*UpdateInfoRequest) GetGender added in v0.7.2

func (x *UpdateInfoRequest) GetGender() int32

func (*UpdateInfoRequest) GetName added in v0.7.2

func (x *UpdateInfoRequest) GetName() string

func (*UpdateInfoRequest) ProtoMessage

func (*UpdateInfoRequest) ProtoMessage()

func (*UpdateInfoRequest) ProtoReflect added in v0.6.8

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

func (*UpdateInfoRequest) Reset

func (x *UpdateInfoRequest) Reset()

func (*UpdateInfoRequest) String

func (x *UpdateInfoRequest) String() string

type UpdateInfoResponse

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

func (*UpdateInfoResponse) Descriptor deprecated

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

Deprecated: Use UpdateInfoResponse.ProtoReflect.Descriptor instead.

func (*UpdateInfoResponse) GetNewToken

func (x *UpdateInfoResponse) GetNewToken() string

func (*UpdateInfoResponse) GetStatus

func (x *UpdateInfoResponse) GetStatus() *ResponseStatus

func (*UpdateInfoResponse) ProtoMessage

func (*UpdateInfoResponse) ProtoMessage()

func (*UpdateInfoResponse) ProtoReflect added in v0.6.8

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

func (*UpdateInfoResponse) Reset

func (x *UpdateInfoResponse) Reset()

func (*UpdateInfoResponse) String

func (x *UpdateInfoResponse) String() string

type UpdatePasswordRequest

type UpdatePasswordRequest struct {
	OldPasswordMD5       string `protobuf:"bytes,1,opt,name=OldPasswordMD5,proto3" json:"OldPasswordMD5,omitempty"`
	NewPasswordMD5       string `protobuf:"bytes,2,opt,name=NewPasswordMD5,proto3" json:"NewPasswordMD5,omitempty"`
	VerifyNewPasswordMD5 string `protobuf:"bytes,3,opt,name=VerifyNewPasswordMD5,proto3" json:"VerifyNewPasswordMD5,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePasswordRequest) Descriptor deprecated

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

Deprecated: Use UpdatePasswordRequest.ProtoReflect.Descriptor instead.

func (*UpdatePasswordRequest) GetNewPasswordMD5

func (x *UpdatePasswordRequest) GetNewPasswordMD5() string

func (*UpdatePasswordRequest) GetOldPasswordMD5 added in v0.7.2

func (x *UpdatePasswordRequest) GetOldPasswordMD5() string

func (*UpdatePasswordRequest) GetVerifyNewPasswordMD5

func (x *UpdatePasswordRequest) GetVerifyNewPasswordMD5() string

func (*UpdatePasswordRequest) ProtoMessage

func (*UpdatePasswordRequest) ProtoMessage()

func (*UpdatePasswordRequest) ProtoReflect added in v0.6.8

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

func (*UpdatePasswordRequest) Reset

func (x *UpdatePasswordRequest) Reset()

func (*UpdatePasswordRequest) String

func (x *UpdatePasswordRequest) String() string

type UpdatePasswordResponse

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

func (*UpdatePasswordResponse) Descriptor deprecated

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

Deprecated: Use UpdatePasswordResponse.ProtoReflect.Descriptor instead.

func (*UpdatePasswordResponse) GetStatus

func (x *UpdatePasswordResponse) GetStatus() *ResponseStatus

func (*UpdatePasswordResponse) ProtoMessage

func (*UpdatePasswordResponse) ProtoMessage()

func (*UpdatePasswordResponse) ProtoReflect added in v0.6.8

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

func (*UpdatePasswordResponse) Reset

func (x *UpdatePasswordResponse) Reset()

func (*UpdatePasswordResponse) String

func (x *UpdatePasswordResponse) String() string

type UpdateQuestionRequest

type UpdateQuestionRequest struct {
	UUID                string   `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
	Question            string   `protobuf:"bytes,2,opt,name=Question,proto3" json:"Question,omitempty"`
	Analysis            string   `protobuf:"bytes,3,opt,name=Analysis,proto3" json:"Analysis,omitempty"`
	AnswerA             string   `protobuf:"bytes,4,opt,name=AnswerA,proto3" json:"AnswerA,omitempty"`
	AnswerB             string   `protobuf:"bytes,5,opt,name=AnswerB,proto3" json:"AnswerB,omitempty"`
	AnswerC             string   `protobuf:"bytes,6,opt,name=AnswerC,proto3" json:"AnswerC,omitempty"`
	AnswerD             string   `protobuf:"bytes,7,opt,name=AnswerD,proto3" json:"AnswerD,omitempty"`
	AnswerE             string   `protobuf:"bytes,8,opt,name=AnswerE,proto3" json:"AnswerE,omitempty"`
	AnswerF             string   `protobuf:"bytes,9,opt,name=AnswerF,proto3" json:"AnswerF,omitempty"`
	AnswerG             string   `protobuf:"bytes,10,opt,name=AnswerG,proto3" json:"AnswerG,omitempty"`
	AnswerH             string   `protobuf:"bytes,11,opt,name=AnswerH,proto3" json:"AnswerH,omitempty"`
	IsA                 bool     `protobuf:"varint,12,opt,name=IsA,proto3" json:"IsA,omitempty"`
	IsB                 bool     `protobuf:"varint,13,opt,name=IsB,proto3" json:"IsB,omitempty"`
	IsC                 bool     `protobuf:"varint,14,opt,name=IsC,proto3" json:"IsC,omitempty"`
	IsD                 bool     `protobuf:"varint,15,opt,name=IsD,proto3" json:"IsD,omitempty"`
	IsE                 bool     `protobuf:"varint,16,opt,name=IsE,proto3" json:"IsE,omitempty"`
	IsF                 bool     `protobuf:"varint,17,opt,name=IsF,proto3" json:"IsF,omitempty"`
	IsG                 bool     `protobuf:"varint,18,opt,name=IsG,proto3" json:"IsG,omitempty"`
	IsH                 bool     `protobuf:"varint,19,opt,name=IsH,proto3" json:"IsH,omitempty"`
	IsTrue              bool     `protobuf:"varint,20,opt,name=IsTrue,proto3" json:"IsTrue,omitempty"`
	Level               int32    `protobuf:"varint,21,opt,name=Level,proto3" json:"Level,omitempty"`
	IsExamQuestion      bool     `protobuf:"varint,22,opt,name=IsExamQuestion,proto3" json:"IsExamQuestion,omitempty"`
	KnowledgePointUUIDs []string `protobuf:"bytes,23,rep,name=KnowledgePointUUIDs,proto3" json:"KnowledgePointUUIDs,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateQuestionRequest) Descriptor deprecated

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

Deprecated: Use UpdateQuestionRequest.ProtoReflect.Descriptor instead.

func (*UpdateQuestionRequest) GetAnalysis added in v0.7.0

func (x *UpdateQuestionRequest) GetAnalysis() string

func (*UpdateQuestionRequest) GetAnswerA added in v0.7.0

func (x *UpdateQuestionRequest) GetAnswerA() string

func (*UpdateQuestionRequest) GetAnswerB added in v0.7.0

func (x *UpdateQuestionRequest) GetAnswerB() string

func (*UpdateQuestionRequest) GetAnswerC added in v0.7.0

func (x *UpdateQuestionRequest) GetAnswerC() string

func (*UpdateQuestionRequest) GetAnswerD added in v0.7.0

func (x *UpdateQuestionRequest) GetAnswerD() string

func (*UpdateQuestionRequest) GetAnswerE added in v0.7.0

func (x *UpdateQuestionRequest) GetAnswerE() string

func (*UpdateQuestionRequest) GetAnswerF added in v0.7.0

func (x *UpdateQuestionRequest) GetAnswerF() string

func (*UpdateQuestionRequest) GetAnswerG added in v0.7.0

func (x *UpdateQuestionRequest) GetAnswerG() string

func (*UpdateQuestionRequest) GetAnswerH added in v0.7.0

func (x *UpdateQuestionRequest) GetAnswerH() string

func (*UpdateQuestionRequest) GetIsA added in v0.7.0

func (x *UpdateQuestionRequest) GetIsA() bool

func (*UpdateQuestionRequest) GetIsB added in v0.7.0

func (x *UpdateQuestionRequest) GetIsB() bool

func (*UpdateQuestionRequest) GetIsC added in v0.7.0

func (x *UpdateQuestionRequest) GetIsC() bool

func (*UpdateQuestionRequest) GetIsD added in v0.7.0

func (x *UpdateQuestionRequest) GetIsD() bool

func (*UpdateQuestionRequest) GetIsE added in v0.7.0

func (x *UpdateQuestionRequest) GetIsE() bool

func (*UpdateQuestionRequest) GetIsExamQuestion added in v0.7.0

func (x *UpdateQuestionRequest) GetIsExamQuestion() bool

func (*UpdateQuestionRequest) GetIsF added in v0.7.0

func (x *UpdateQuestionRequest) GetIsF() bool

func (*UpdateQuestionRequest) GetIsG added in v0.7.0

func (x *UpdateQuestionRequest) GetIsG() bool

func (*UpdateQuestionRequest) GetIsH added in v0.7.0

func (x *UpdateQuestionRequest) GetIsH() bool

func (*UpdateQuestionRequest) GetIsTrue added in v0.7.0

func (x *UpdateQuestionRequest) GetIsTrue() bool

func (*UpdateQuestionRequest) GetKnowledgePointUUIDs added in v0.7.0

func (x *UpdateQuestionRequest) GetKnowledgePointUUIDs() []string

func (*UpdateQuestionRequest) GetLevel added in v0.7.0

func (x *UpdateQuestionRequest) GetLevel() int32

func (*UpdateQuestionRequest) GetQuestion

func (x *UpdateQuestionRequest) GetQuestion() string

func (*UpdateQuestionRequest) GetUUID added in v0.7.0

func (x *UpdateQuestionRequest) GetUUID() string

func (*UpdateQuestionRequest) ProtoMessage

func (*UpdateQuestionRequest) ProtoMessage()

func (*UpdateQuestionRequest) ProtoReflect added in v0.6.8

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

func (*UpdateQuestionRequest) Reset

func (x *UpdateQuestionRequest) Reset()

func (*UpdateQuestionRequest) String

func (x *UpdateQuestionRequest) String() string

type UpdateQuestionResponse

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

func (*UpdateQuestionResponse) Descriptor deprecated

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

Deprecated: Use UpdateQuestionResponse.ProtoReflect.Descriptor instead.

func (*UpdateQuestionResponse) GetStatus

func (x *UpdateQuestionResponse) GetStatus() *ResponseStatus

func (*UpdateQuestionResponse) ProtoMessage

func (*UpdateQuestionResponse) ProtoMessage()

func (*UpdateQuestionResponse) ProtoReflect added in v0.6.8

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

func (*UpdateQuestionResponse) Reset

func (x *UpdateQuestionResponse) Reset()

func (*UpdateQuestionResponse) String

func (x *UpdateQuestionResponse) String() string

type UploadAnswersRequest added in v0.7.0

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

答题情况

func (*UploadAnswersRequest) Descriptor deprecated added in v0.7.0

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

Deprecated: Use UploadAnswersRequest.ProtoReflect.Descriptor instead.

func (*UploadAnswersRequest) GetAnswers added in v0.7.0

func (x *UploadAnswersRequest) GetAnswers() []*Answer

func (*UploadAnswersRequest) ProtoMessage added in v0.7.0

func (*UploadAnswersRequest) ProtoMessage()

func (*UploadAnswersRequest) ProtoReflect added in v0.7.0

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

func (*UploadAnswersRequest) Reset added in v0.7.0

func (x *UploadAnswersRequest) Reset()

func (*UploadAnswersRequest) String added in v0.7.0

func (x *UploadAnswersRequest) String() string

type UploadAnswersResponse added in v0.7.0

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

func (*UploadAnswersResponse) Descriptor deprecated added in v0.7.0

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

Deprecated: Use UploadAnswersResponse.ProtoReflect.Descriptor instead.

func (*UploadAnswersResponse) GetStatus added in v0.7.0

func (x *UploadAnswersResponse) GetStatus() *ResponseStatus

func (*UploadAnswersResponse) ProtoMessage added in v0.7.0

func (*UploadAnswersResponse) ProtoMessage()

func (*UploadAnswersResponse) ProtoReflect added in v0.7.0

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

func (*UploadAnswersResponse) Reset added in v0.7.0

func (x *UploadAnswersResponse) Reset()

func (*UploadAnswersResponse) String added in v0.7.0

func (x *UploadAnswersResponse) String() string

type UploadContentReadingsRequest added in v0.7.0

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

资料阅读情况

func (*UploadContentReadingsRequest) Descriptor deprecated added in v0.7.0

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

Deprecated: Use UploadContentReadingsRequest.ProtoReflect.Descriptor instead.

func (*UploadContentReadingsRequest) GetContentReadings added in v0.7.0

func (x *UploadContentReadingsRequest) GetContentReadings() []*ContentReading

func (*UploadContentReadingsRequest) ProtoMessage added in v0.7.0

func (*UploadContentReadingsRequest) ProtoMessage()

func (*UploadContentReadingsRequest) ProtoReflect added in v0.7.0

func (*UploadContentReadingsRequest) Reset added in v0.7.0

func (x *UploadContentReadingsRequest) Reset()

func (*UploadContentReadingsRequest) String added in v0.7.0

type UploadContentReadingsResponse added in v0.7.0

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

func (*UploadContentReadingsResponse) Descriptor deprecated added in v0.7.0

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

Deprecated: Use UploadContentReadingsResponse.ProtoReflect.Descriptor instead.

func (*UploadContentReadingsResponse) GetStatus added in v0.7.0

func (*UploadContentReadingsResponse) ProtoMessage added in v0.7.0

func (*UploadContentReadingsResponse) ProtoMessage()

func (*UploadContentReadingsResponse) ProtoReflect added in v0.7.0

func (*UploadContentReadingsResponse) Reset added in v0.7.0

func (x *UploadContentReadingsResponse) Reset()

func (*UploadContentReadingsResponse) String added in v0.7.0

type UserServiceClient added in v0.7.0

type UserServiceClient interface {
	Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
	Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error)
	UpdateInfo(ctx context.Context, in *UpdateInfoRequest, opts ...grpc.CallOption) (*UpdateInfoResponse, error)
	UpdatePassword(ctx context.Context, in *UpdatePasswordRequest, opts ...grpc.CallOption) (*UpdatePasswordResponse, error)
	ResetPassword(ctx context.Context, in *ResetPasswordRequest, opts ...grpc.CallOption) (*ResetPasswordResponse, error)
	DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error)
	SetUserAsManager(ctx context.Context, in *SetUserAsManagerRequest, opts ...grpc.CallOption) (*SetUserAsManagerResponse, error)
}

UserServiceClient is the client API for UserService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewUserServiceClient added in v0.7.0

func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient

type UserServiceServer added in v0.7.0

UserServiceServer is the server API for UserService service.

Jump to

Keyboard shortcuts

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