v3

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClassroomClientBuilder

func ClassroomClientBuilder() *http_client.HcHttpClientBuilder

func GenReqDefForApplyJudgement

func GenReqDefForApplyJudgement() *def.HttpRequestDef

func GenReqDefForExecuteExercise

func GenReqDefForExecuteExercise() *def.HttpRequestDef

func GenReqDefForListAllDifficults

func GenReqDefForListAllDifficults() *def.HttpRequestDef

func GenReqDefForListClassroomMemberJobs

func GenReqDefForListClassroomMemberJobs() *def.HttpRequestDef

func GenReqDefForListClassroomMembers

func GenReqDefForListClassroomMembers() *def.HttpRequestDef

func GenReqDefForListClassrooms

func GenReqDefForListClassrooms() *def.HttpRequestDef

func GenReqDefForListExercises

func GenReqDefForListExercises() *def.HttpRequestDef

func GenReqDefForListJobs

func GenReqDefForListJobs() *def.HttpRequestDef

func GenReqDefForListMemberJobRecords

func GenReqDefForListMemberJobRecords() *def.HttpRequestDef

func GenReqDefForListMyKnowledgePoints

func GenReqDefForListMyKnowledgePoints() *def.HttpRequestDef

func GenReqDefForListPackages

func GenReqDefForListPackages() *def.HttpRequestDef

func GenReqDefForShowClassroomDetail

func GenReqDefForShowClassroomDetail() *def.HttpRequestDef

func GenReqDefForShowExerciseDetail

func GenReqDefForShowExerciseDetail() *def.HttpRequestDef

func GenReqDefForShowJobDetail

func GenReqDefForShowJobDetail() *def.HttpRequestDef

func GenReqDefForShowJobExercises

func GenReqDefForShowJobExercises() *def.HttpRequestDef

func GenReqDefForShowJudgementDetail

func GenReqDefForShowJudgementDetail() *def.HttpRequestDef

func GenReqDefForShowJudgementFile

func GenReqDefForShowJudgementFile() *def.HttpRequestDef

func GenReqDefForShowPackageDetail

func GenReqDefForShowPackageDetail() *def.HttpRequestDef

Types

type ApplyJudgementInvoker

type ApplyJudgementInvoker struct {
	*invoker.BaseInvoker
}

func (*ApplyJudgementInvoker) Invoke

type ClassroomClient

type ClassroomClient struct {
	HcClient *http_client.HcHttpClient
}

func NewClassroomClient

func NewClassroomClient(hcClient *http_client.HcHttpClient) *ClassroomClient

func (*ClassroomClient) ApplyJudgement

ApplyJudgement 下发判题任务

下发判题任务,根据回调地址、代码来源、源代码文本、语言类型、超时时长、输出类型,触发后台代码编译运行和判题

Please refer to HUAWEI cloud API Explorer for details.

func (*ClassroomClient) ApplyJudgementInvoker

func (c *ClassroomClient) ApplyJudgementInvoker(request *model.ApplyJudgementRequest) *ApplyJudgementInvoker

ApplyJudgementInvoker 下发判题任务

func (*ClassroomClient) ExecuteExercise

ExecuteExercise 习题判题

习题判题

Please refer to HUAWEI cloud API Explorer for details.

func (*ClassroomClient) ExecuteExerciseInvoker

func (c *ClassroomClient) ExecuteExerciseInvoker(request *model.ExecuteExerciseRequest) *ExecuteExerciseInvoker

ExecuteExerciseInvoker 习题判题

func (*ClassroomClient) ListAllDifficults

ListAllDifficults 获取习题所有难度

获取习题所有难度

Please refer to HUAWEI cloud API Explorer for details.

func (*ClassroomClient) ListAllDifficultsInvoker

func (c *ClassroomClient) ListAllDifficultsInvoker(request *model.ListAllDifficultsRequest) *ListAllDifficultsInvoker

ListAllDifficultsInvoker 获取习题所有难度

func (*ClassroomClient) ListClassroomMemberJobs

ListClassroomMemberJobs 查询课堂下指定成员的作业信息

查询课堂下指定成员的作业信息

Please refer to HUAWEI cloud API Explorer for details.

func (*ClassroomClient) ListClassroomMemberJobsInvoker

func (c *ClassroomClient) ListClassroomMemberJobsInvoker(request *model.ListClassroomMemberJobsRequest) *ListClassroomMemberJobsInvoker

ListClassroomMemberJobsInvoker 查询课堂下指定成员的作业信息

func (*ClassroomClient) ListClassroomMembers

ListClassroomMembers 根据课堂ID获取指定课堂的课堂成员列表

根据课堂ID获取指定课堂的课堂成员列表,支持分页,搜索字段默认同时匹配姓名,学号,用户名,班级。

Please refer to HUAWEI cloud API Explorer for details.

func (*ClassroomClient) ListClassroomMembersInvoker

func (c *ClassroomClient) ListClassroomMembersInvoker(request *model.ListClassroomMembersRequest) *ListClassroomMembersInvoker

ListClassroomMembersInvoker 根据课堂ID获取指定课堂的课堂成员列表

func (*ClassroomClient) ListClassrooms

ListClassrooms 获取当前用户的课堂列表

获取当前用户的课堂列表,课堂课表分为我创建的课堂,我加入的课堂以及所有课堂,支持分页查询。

Please refer to HUAWEI cloud API Explorer for details.

func (*ClassroomClient) ListClassroomsInvoker

func (c *ClassroomClient) ListClassroomsInvoker(request *model.ListClassroomsRequest) *ListClassroomsInvoker

ListClassroomsInvoker 获取当前用户的课堂列表

func (*ClassroomClient) ListExercises

ListExercises 查询习题库下习题列表

查询习题库下习题列表

Please refer to HUAWEI cloud API Explorer for details.

func (*ClassroomClient) ListExercisesInvoker

func (c *ClassroomClient) ListExercisesInvoker(request *model.ListExercisesRequest) *ListExercisesInvoker

ListExercisesInvoker 查询习题库下习题列表

func (*ClassroomClient) ListJobs

ListJobs 查询指定课堂下的作业列表信息

查询指定课堂下的作业列表信息,支持分页查询。

Please refer to HUAWEI cloud API Explorer for details.

func (*ClassroomClient) ListJobsInvoker

func (c *ClassroomClient) ListJobsInvoker(request *model.ListJobsRequest) *ListJobsInvoker

ListJobsInvoker 查询指定课堂下的作业列表信息

func (*ClassroomClient) ListMemberJobRecords

ListMemberJobRecords 查询学生函数习题提交记录信息

查询学生指定作业的习题提交记录信息(针对函数习题)

Please refer to HUAWEI cloud API Explorer for details.

func (*ClassroomClient) ListMemberJobRecordsInvoker

func (c *ClassroomClient) ListMemberJobRecordsInvoker(request *model.ListMemberJobRecordsRequest) *ListMemberJobRecordsInvoker

ListMemberJobRecordsInvoker 查询学生函数习题提交记录信息

func (*ClassroomClient) ListMyKnowledgePoints

ListMyKnowledgePoints 获取自身习题知识点

获取自身习题知识点

Please refer to HUAWEI cloud API Explorer for details.

func (*ClassroomClient) ListMyKnowledgePointsInvoker

func (c *ClassroomClient) ListMyKnowledgePointsInvoker(request *model.ListMyKnowledgePointsRequest) *ListMyKnowledgePointsInvoker

ListMyKnowledgePointsInvoker 获取自身习题知识点

func (*ClassroomClient) ListPackages

ListPackages 查询当前租户的习题库列表

查询当前租户的习题库列表

Please refer to HUAWEI cloud API Explorer for details.

func (*ClassroomClient) ListPackagesInvoker

func (c *ClassroomClient) ListPackagesInvoker(request *model.ListPackagesRequest) *ListPackagesInvoker

ListPackagesInvoker 查询当前租户的习题库列表

func (*ClassroomClient) ShowClassroomDetail

ShowClassroomDetail 根据课堂ID获取指定课堂的详细信息

根据课堂ID获取指定课堂的详细信息

Please refer to HUAWEI cloud API Explorer for details.

func (*ClassroomClient) ShowClassroomDetailInvoker

func (c *ClassroomClient) ShowClassroomDetailInvoker(request *model.ShowClassroomDetailRequest) *ShowClassroomDetailInvoker

ShowClassroomDetailInvoker 根据课堂ID获取指定课堂的详细信息

func (*ClassroomClient) ShowExerciseDetail

ShowExerciseDetail 查询单个习题详情

查询单个习题详情

Please refer to HUAWEI cloud API Explorer for details.

func (*ClassroomClient) ShowExerciseDetailInvoker

func (c *ClassroomClient) ShowExerciseDetailInvoker(request *model.ShowExerciseDetailRequest) *ShowExerciseDetailInvoker

ShowExerciseDetailInvoker 查询单个习题详情

func (*ClassroomClient) ShowJobDetail

ShowJobDetail 根据作业ID,查询指定作业的信息

根据作业ID,查询指定作业的信息

Please refer to HUAWEI cloud API Explorer for details.

func (*ClassroomClient) ShowJobDetailInvoker

func (c *ClassroomClient) ShowJobDetailInvoker(request *model.ShowJobDetailRequest) *ShowJobDetailInvoker

ShowJobDetailInvoker 根据作业ID,查询指定作业的信息

func (*ClassroomClient) ShowJobExercises

ShowJobExercises 查询指定作业下的习题信息

查询指定作业下的习题信息

Please refer to HUAWEI cloud API Explorer for details.

func (*ClassroomClient) ShowJobExercisesInvoker

func (c *ClassroomClient) ShowJobExercisesInvoker(request *model.ShowJobExercisesRequest) *ShowJobExercisesInvoker

ShowJobExercisesInvoker 查询指定作业下的习题信息

func (*ClassroomClient) ShowJudgementDetail

ShowJudgementDetail 获取判题结果详情

根据判题任务ID获取判题结果详情

Please refer to HUAWEI cloud API Explorer for details.

func (*ClassroomClient) ShowJudgementDetailInvoker

func (c *ClassroomClient) ShowJudgementDetailInvoker(request *model.ShowJudgementDetailRequest) *ShowJudgementDetailInvoker

ShowJudgementDetailInvoker 获取判题结果详情

func (*ClassroomClient) ShowJudgementFile

ShowJudgementFile 下载判题结果文件

根据文件id或图片id下载输出结果文件

Please refer to HUAWEI cloud API Explorer for details.

func (*ClassroomClient) ShowJudgementFileInvoker

func (c *ClassroomClient) ShowJudgementFileInvoker(request *model.ShowJudgementFileRequest) *ShowJudgementFileInvoker

ShowJudgementFileInvoker 下载判题结果文件

func (*ClassroomClient) ShowPackageDetail

ShowPackageDetail 查询单个习题库详情

查询单个习题库详情

Please refer to HUAWEI cloud API Explorer for details.

func (*ClassroomClient) ShowPackageDetailInvoker

func (c *ClassroomClient) ShowPackageDetailInvoker(request *model.ShowPackageDetailRequest) *ShowPackageDetailInvoker

ShowPackageDetailInvoker 查询单个习题库详情

type ExecuteExerciseInvoker

type ExecuteExerciseInvoker struct {
	*invoker.BaseInvoker
}

func (*ExecuteExerciseInvoker) Invoke

type ListAllDifficultsInvoker

type ListAllDifficultsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAllDifficultsInvoker) Invoke

type ListClassroomMemberJobsInvoker

type ListClassroomMemberJobsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListClassroomMemberJobsInvoker) Invoke

type ListClassroomMembersInvoker

type ListClassroomMembersInvoker struct {
	*invoker.BaseInvoker
}

func (*ListClassroomMembersInvoker) Invoke

type ListClassroomsInvoker

type ListClassroomsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListClassroomsInvoker) Invoke

type ListExercisesInvoker

type ListExercisesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListExercisesInvoker) Invoke

type ListJobsInvoker

type ListJobsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListJobsInvoker) Invoke

func (i *ListJobsInvoker) Invoke() (*model.ListJobsResponse, error)

type ListMemberJobRecordsInvoker

type ListMemberJobRecordsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListMemberJobRecordsInvoker) Invoke

type ListMyKnowledgePointsInvoker

type ListMyKnowledgePointsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListMyKnowledgePointsInvoker) Invoke

type ListPackagesInvoker

type ListPackagesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListPackagesInvoker) Invoke

type ShowClassroomDetailInvoker

type ShowClassroomDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowClassroomDetailInvoker) Invoke

type ShowExerciseDetailInvoker

type ShowExerciseDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowExerciseDetailInvoker) Invoke

type ShowJobDetailInvoker

type ShowJobDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowJobDetailInvoker) Invoke

type ShowJobExercisesInvoker

type ShowJobExercisesInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowJobExercisesInvoker) Invoke

type ShowJudgementDetailInvoker

type ShowJudgementDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowJudgementDetailInvoker) Invoke

type ShowJudgementFileInvoker

type ShowJudgementFileInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowJudgementFileInvoker) Invoke

type ShowPackageDetailInvoker

type ShowPackageDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowPackageDetailInvoker) Invoke

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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