Documentation ¶
Index ¶
- type Client
- func (client *Client) ContestsDelete(cid int64) error
- func (client *Client) ContestsJoin(cid, iid int64) error
- func (client *Client) ContestsNew(cid int64) error
- func (client *Client) ContestsProblemsAdd(cid, pid int64) error
- func (client *Client) ContestsProblemsDelete(cid, pid int64) error
- func (client *Client) ContestsRanking(cid, limit, offset int64) ([]sctypes.RankingRow, error)
- func (client *Client) ContestsRankingCount(cid int64) (int64, error)
- func (client *Client) ContestsRankingWithUserData(cid, limit, offset int64) ([]sctypes.RankingRowWithUserData, error)
- func (client *Client) FileDownload(category, name string) (io.ReadCloser, error)
- func (client *Client) JudgeSubmissionsUpdateCase(cid, sid, jid int64, status string, res database.SubmissionTestCase) error
- func (client *Client) JudgeSubmissionsUpdateResult(cid, sid, jid int64, status sctypes.SubmissionStatusType, score int64, ...) error
- func (client *Client) JudgeSubmit(cid, sid int64) error
- func (client *Client) StartWorkersWSPolling(parallel int64, judgeInfoChan chan<- ppjctypes.JudgeInformation, ...) (<-chan error, func(), error)
- type EmptyReadCloser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ContestsDelete ¶
func (*Client) ContestsJoin ¶
func (*Client) ContestsNew ¶
func (*Client) ContestsProblemsAdd ¶
func (*Client) ContestsProblemsDelete ¶
func (*Client) ContestsRanking ¶
func (*Client) ContestsRankingCount ¶
func (*Client) ContestsRankingWithUserData ¶
func (*Client) FileDownload ¶
func (client *Client) FileDownload(category, name string) (io.ReadCloser, error)
func (*Client) JudgeSubmissionsUpdateCase ¶
func (*Client) JudgeSubmissionsUpdateResult ¶
func (*Client) JudgeSubmit ¶
type EmptyReadCloser ¶
type EmptyReadCloser struct{}
func (*EmptyReadCloser) Close ¶
func (er *EmptyReadCloser) Close() error
Click to show internal directories.
Click to hide internal directories.