judger_agent

package
v0.0.0-...-adbf6dd Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JudgeRequest

type JudgeRequest struct {
	Code     string `json:"code"`
	Language string `json:"language"`
}

type JudgerClient

type JudgerClient struct {
	Host string
}

func (JudgerClient) GetState

func (jc JudgerClient) GetState() (string, error)

func (JudgerClient) PostJudgeSync

func (jc JudgerClient) PostJudgeSync(packagelug string, judgeRequest JudgeRequest) ([]map[string]interface{}, error)

Jump to

Keyboard shortcuts

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