web

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2023 License: AGPL-3.0 Imports: 43 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	config.Server
	DB *sqlx.DB

	ProblemStore problems.Store
	MailService  services.MailService
}

func (*Server) ConnectToDB

func (s *Server) ConnectToDB()

func (*Server) Run

func (s *Server) Run()

func (*Server) SetupEnvironment

func (s *Server) SetupEnvironment()

func (*Server) StartBackgroundJobs

func (s *Server) StartBackgroundJobs()

func (*Server) Submit

func (s *Server) Submit(uid int, problemset, problem, language string, source []byte) (int, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL