Documentation ¶
Index ¶
- func Login(h *Handler, password string) error
- type AtsrvConfig
- type Handler
- func (h *Handler) GetContest(c echo.Context) (err error)
- func (h *Handler) GetSubmission(c echo.Context) (err error)
- func (h *Handler) GetSubmissions(c echo.Context) (err error)
- func (h *Handler) GetTask(c echo.Context) (err error)
- func (h *Handler) GetTasks(c echo.Context) (err error)
- func (h *Handler) Join(c echo.Context) (err error)
- func (h *Handler) Me(c echo.Context) (err error)
- func (h *Handler) PostSubmission(c echo.Context) (err error)
- func (h *Handler) Root(c echo.Context) error
- type RspGetSubmissions
- type RspGetTasks
- type RspRoot
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AtsrvConfig ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(page *agouti.Page, config AtsrvConfig) *Handler
func (*Handler) GetContest ¶
func (*Handler) GetSubmission ¶
func (*Handler) GetSubmissions ¶
func (*Handler) PostSubmission ¶
type RspGetSubmissions ¶
type RspGetSubmissions struct {
Submissions []*models.Submission `json:"submissions" yaml:"submissions"`
}
type RspGetTasks ¶
Click to show internal directories.
Click to hide internal directories.