web

package
v0.0.0-...-6dace06 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: GPL-3.0 Imports: 8 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 {
	DB     *gorm.DB
	Router *mux.Router
}

func New

func New(useDB bool) *Server

func (*Server) GetWeekHtml

func (s *Server) GetWeekHtml(w http.ResponseWriter, r *http.Request)

func (*Server) Run

func (s *Server) Run()

func (*Server) SetupRouter

func (s *Server) SetupRouter()

Jump to

Keyboard shortcuts

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