server

package
v0.0.0-...-45db1ef Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const MAX_UPLOAD_SIZE = 1024 * 1024 // 1MB

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	DB     database.SqlLite
	Config *config.RaceResultConfig
	Router *mux.Router
}

func NewServer

func NewServer(config *config.RaceResultConfig, db database.SqlLite) Server

func (Server) Run

func (s Server) Run()

Directories

Path Synopsis
templ: version: v0.2.707
templ: version: v0.2.707

Jump to

Keyboard shortcuts

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