Documentation ¶
Index ¶
- Variables
- type Server
- func (s *Server) AdminGET(c *gin.Context)
- func (s *Server) AdminPOST(c *gin.Context)
- func (s *Server) CodereviewGET(c *gin.Context)
- func (s *Server) CodereviewPOST(c *gin.Context)
- func (s *Server) IndexGET(c *gin.Context)
- func (s *Server) IndexPOST(c *gin.Context)
- func (s *Server) InitRouter() *gin.Engine
- func (s *Server) LoginGET(c *gin.Context)
- func (s *Server) LoginPOST(c *gin.Context)
- func (s *Server) LogoutPOST(c *gin.Context)
- func (s *Server) ManageFlipPOST(c *gin.Context)
- func (s *Server) ManageGET(c *gin.Context)
- func (s *Server) ManagePOST(c *gin.Context)
- func (s *Server) Poll() error
- func (s *Server) ProfileGET(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrForeignUser = errors.New("foreign user")
)
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) CodereviewGET ¶
func (*Server) CodereviewPOST ¶
func (*Server) InitRouter ¶
func (*Server) LogoutPOST ¶
func (*Server) ManageFlipPOST ¶
func (*Server) ManagePOST ¶
TODO: add check for judge credentials. TODO: add check for acm format.
func (*Server) ProfileGET ¶
Click to show internal directories.
Click to hide internal directories.