Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContestProblem ¶
type ContestProblem struct {
Contest
}
func (*ContestProblem) Detail ¶
func (pc *ContestProblem) Detail(Cid, Pid string)
func (*ContestProblem) Submit ¶
func (pc *ContestProblem) Submit(Cid, Pid string)
type ContestRanklist ¶
type ContestRanklist struct {
Contest
}
func (*ContestRanklist) Download ¶
func (rc *ContestRanklist) Download(Cid string)
Download 下载contest排名csv文件
type ContestStatus ¶
type ContestStatus struct {
Contest
}
func (*ContestStatus) Code ¶
func (sc *ContestStatus) Code(Cid string, Sid string)
func (*ContestStatus) List ¶
func (sc *ContestStatus) List(Cid string)
TODO : list by arguments like :contests/<cid>/status?uid=vsake&judge=3&language=1
type UserSorter ¶
type UserSorter []*userRank
func (UserSorter) Len ¶
func (u UserSorter) Len() int
func (UserSorter) Less ¶
func (u UserSorter) Less(i, j int) bool
func (UserSorter) Swap ¶
func (u UserSorter) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.