Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ContestController ¶
type ContestController struct { class.Controller Type string } //@Controller
type FAQController ¶
type FAQController struct { class.Controller } //@Controller
type HomeController ¶
type HomeController struct { class.Controller } //@Controller
type NewsController ¶
type NewsController struct { class.Controller } //@Controller
func (*NewsController) Detail ¶
func (nc *NewsController) Detail(Nid string)
@URL: /news/(\d+) @method: GET
type OSCController ¶
type OSCController struct { class.Controller } //@Controller
type ProblemController ¶
type ProblemController struct { class.Controller } //@Controller
问题控件
func (*ProblemController) Detail ¶
func (pc *ProblemController) Detail(Pid string)
列出某问题的详细信息 @URL: /problems/(\d+) @method: GET
func (*ProblemController) List ¶
func (pc *ProblemController) List()
列出特定数量的问题?pid=<pid>&titile=<titile>&source=<source>&page=<page> @URL:/problems @method:GET
func (*ProblemController) Submit ¶
func (pc *ProblemController) Submit(Pid string)
提交某一问题的solution @URL: /problems/(\d+) @method: POST
type RanklistController ¶
type RanklistController struct { class.Controller } //@Controller
排名控件
func (*RanklistController) Index ¶
func (rc *RanklistController) Index()
@URL: /ranklist @method: GET
type SessController ¶
type SessController struct { class.Controller } //@Controller
type StatusController ¶
type StatusController struct { class.Controller } //@Controller
type UserController ¶
type UserController struct { class.Controller } //@Controller
func (*UserController) Detail ¶
func (uc *UserController) Detail(uid string)
@URL: /users/(.+) @method: GET
func (*UserController) Pagepassword ¶
func (uc *UserController) Pagepassword()
@URL: /account @method: GET
Source Files ¶
Click to show internal directories.
Click to hide internal directories.