v3

package
v0.0.64 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 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 added in v0.0.54

func GenReqDefForApplyJudgement() *def.HttpRequestDef

func GenReqDefForListClassroomMemberJobs

func GenReqDefForListClassroomMemberJobs() *def.HttpRequestDef

func GenReqDefForListClassroomMembers

func GenReqDefForListClassroomMembers() *def.HttpRequestDef

func GenReqDefForListClassrooms

func GenReqDefForListClassrooms() *def.HttpRequestDef

func GenReqDefForListJobs

func GenReqDefForListJobs() *def.HttpRequestDef

func GenReqDefForListMemberJobRecords

func GenReqDefForListMemberJobRecords() *def.HttpRequestDef

func GenReqDefForShowClassroomDetail

func GenReqDefForShowClassroomDetail() *def.HttpRequestDef

func GenReqDefForShowJobDetail

func GenReqDefForShowJobDetail() *def.HttpRequestDef

func GenReqDefForShowJobExercises

func GenReqDefForShowJobExercises() *def.HttpRequestDef

func GenReqDefForShowJudgementDetail added in v0.0.54

func GenReqDefForShowJudgementDetail() *def.HttpRequestDef

func GenReqDefForShowJudgementFile added in v0.0.54

func GenReqDefForShowJudgementFile() *def.HttpRequestDef

Types

type ClassroomClient

type ClassroomClient struct {
	HcClient *http_client.HcHttpClient
}

func NewClassroomClient

func NewClassroomClient(hcClient *http_client.HcHttpClient) *ClassroomClient

func (*ClassroomClient) ApplyJudgement added in v0.0.54

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

func (*ClassroomClient) ListClassroomMemberJobs

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

func (*ClassroomClient) ListClassroomMembers

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

func (*ClassroomClient) ListClassrooms

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

func (*ClassroomClient) ListJobs

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

func (*ClassroomClient) ListMemberJobRecords

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

func (*ClassroomClient) ShowClassroomDetail

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

func (*ClassroomClient) ShowJobDetail

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

func (*ClassroomClient) ShowJobExercises

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

func (*ClassroomClient) ShowJudgementDetail added in v0.0.54

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

func (*ClassroomClient) ShowJudgementFile added in v0.0.54

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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