Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ContestController ¶
type ContestController struct { class.Controller Type string }
func (ContestController) Index ¶
func (c ContestController) Index()
type FAQController ¶
type FAQController struct {
class.Controller
}
type HomeController ¶
type HomeController struct {
class.Controller
}
func (HomeController) Index ¶
func (hc HomeController) Index()
type NewsController ¶
type NewsController struct {
class.Controller
}
新闻控件
func (NewsController) Detail ¶
func (nc NewsController) Detail(Nid string)
type OSCController ¶
type OSCController struct {
class.Controller
}
func (OSCController) Index ¶
func (oc OSCController) Index()
type ProblemController ¶
type ProblemController struct {
class.Controller
}
问题控件
func (*ProblemController) Detail ¶
func (pc *ProblemController) Detail(Pid string)
列出某问题的详细信息,URL,/probliems/<pid>
func (*ProblemController) List ¶
func (pc *ProblemController) List()
列出特定数量的问题,URL,/problems?pid=<pid>&titile=<titile>&source=<source>&page=<page>
func (*ProblemController) Submit ¶
func (pc *ProblemController) Submit(Pid string)
提交某一问题的solution, URL /problems/<pid>,method POST
type RanklistController ¶
type RanklistController struct {
class.Controller
}
排名控件
func (*RanklistController) Index ¶
func (rc *RanklistController) Index()
type SessController ¶
type SessController struct {
class.Controller
}
func (SessController) Delete ¶
func (s SessController) Delete()
func (SessController) Get ¶
func (s SessController) Get()
func (SessController) Post ¶
func (s SessController) Post()
type StatusController ¶
type StatusController struct {
class.Controller
}
func (*StatusController) Code ¶
func (sc *StatusController) Code()
func (StatusController) List ¶
func (sc StatusController) List()
type UserController ¶
type UserController struct {
class.Controller
}
func (*UserController) Detail ¶
func (uc *UserController) Detail(uid string)
func (*UserController) Edit ¶
func (uc *UserController) Edit()
func (*UserController) Pagepassword ¶
func (uc *UserController) Pagepassword()
func (*UserController) Password ¶
func (uc *UserController) Password()
func (*UserController) Register ¶
func (uc *UserController) Register()
func (*UserController) Settings ¶
func (uc *UserController) Settings()
func (*UserController) Signup ¶
func (uc *UserController) Signup()
func (*UserController) Update ¶
func (uc *UserController) Update()
Source Files ¶
Click to show internal directories.
Click to hide internal directories.