server

package
v0.0.0-...-8aa12d4 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: MPL-2.0 Imports: 17 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 {
	// contains filtered or unexported fields
}

Server represents the competition scoring platform

func New

func New(configFile string) (*Server, error)

New returns a new Server object with configuration file cfg loaded

func (*Server) Start

func (s *Server) Start() error

Start binds the Server to the configured port for listening to HTTP requests. Also connects to the database

Directories

Path Synopsis
api

Jump to

Keyboard shortcuts

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