Documentation ¶
Overview ¶
Package server provides the back-end implementation of the kjudge app.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server this the root entry of the server.
func (*Server) HandleError ¶ added in v0.3.0
HandleError defines an error handler that complies with echo's standards.
func (*Server) SetupProfiling ¶ added in v0.3.0
func (s *Server) SetupProfiling()
SetupProfiling sets up profiling for the server in development mode.
func (*Server) Start ¶
Start starts the server, listening for requests.
Directories ¶
Path | Synopsis |
---|---|
Package admin defines admin routes.
|
Package admin defines admin routes. |
Package auth implements the authentication functions for the server.
|
Package auth implements the authentication functions for the server. |
Package httperr provides some convenience functions to create echo HTTP errors.
|
Package httperr provides some convenience functions to create echo HTTP errors. |
User implements a group that handle /user requests.
|
User implements a group that handle /user requests. |
Click to show internal directories.
Click to hide internal directories.