judge

package
v0.0.0-...-ff841c9 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetJudgeStatusLogic

type GetJudgeStatusLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetJudgeStatusLogic

func NewGetJudgeStatusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetJudgeStatusLogic

查询判题状态

func (*GetJudgeStatusLogic) GetJudgeStatus

func (l *GetJudgeStatusLogic) GetJudgeStatus(req *types.JudgeStatusReq) (resp *types.JudgeStatusResp, err error)

type GetWasmLogic

type GetWasmLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetWasmLogic

func NewGetWasmLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetWasmLogic

获取判题Wasm

func (*GetWasmLogic) GetWasm

func (l *GetWasmLogic) GetWasm(req *types.WasmReq) (resp *types.WasmResp, err error)

type ListJudgeLogic

type ListJudgeLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewListJudgeLogic

func NewListJudgeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListJudgeLogic

查询判题列表

func (*ListJudgeLogic) ListJudge

func (l *ListJudgeLogic) ListJudge(req *types.ListJudgeReq) (resp *types.ListJudgeResp, err error)

type SubmitJudgeLogic

type SubmitJudgeLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewSubmitJudgeLogic

func NewSubmitJudgeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SubmitJudgeLogic

提交判题请求

func (*SubmitJudgeLogic) SubmitJudge

func (l *SubmitJudgeLogic) SubmitJudge(req *types.JudgeReq) (resp *types.JudgeResp, err error)

type TryLogic

type TryLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewTryLogic

func NewTryLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TryLogic

尝试运行

func (*TryLogic) Try

func (l *TryLogic) Try(req *types.TryReq) (resp *types.TryResp, err error)

Jump to

Keyboard shortcuts

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