Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Contest ¶
type Contest struct { Cid int ContestDetail *model.Contest Index map[int]int class.Controller } //@Controller
func (*Contest) InitContest ¶
func (*Contest) PasswordPage ¶
@URL: /contests/(\d+)/password @method: GET
type ContestProblem ¶
type ContestProblem struct { Contest } //@Controller
func (*ContestProblem) Detail ¶
func (pc *ContestProblem) Detail(Cid, Pid string)
@URL: /contests/(\d+)/problems/(\d+) @method:GET
func (*ContestProblem) Submit ¶
func (pc *ContestProblem) Submit(Cid, Pid string)
@URL: /contests/(\d+)/problems/(\d+) @method: POST
type ContestRanklist ¶
type ContestRanklist struct { Contest } //@Controller
func (*ContestRanklist) Download ¶
func (rc *ContestRanklist) Download(Cid string)
Download 下载contest排名csv文件 @URL: /contests/(\d+)/rankfile @method: GET
func (*ContestRanklist) Home ¶
func (rc *ContestRanklist) Home(Cid string)
Home ranklist 列表主页 @URL: /contests/(\d+)/ranklist @method: GET
type ContestStatus ¶
type ContestStatus struct { Contest } //@Controller
func (*ContestStatus) Code ¶
func (sc *ContestStatus) Code(Cid string, Sid string)
@URL: /contests/(\d+)/status/(\d+)/code @method:GET
func (*ContestStatus) List ¶
func (sc *ContestStatus) List(Cid string)
@URL: /contests/(\d+)/status @method: GET
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.