web

package
v0.0.0-...-9d4992d Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: GPL-3.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SpaHandler

func SpaHandler() http.HandlerFunc

SpaHandler handles request to the SPA

Types

type Server

type Server struct {
	Host           string
	Port           int
	DbUri          string
	ScreenshotPath string
}

Server is a web server

func NewServer

func NewServer(host string, port int, dburi string, screenshotpath string) *Server

NewServer returns a new server intance

func (*Server) Run

func (s *Server) Run()

Run a server

Directories

Path Synopsis
Package docs Code generated by swaggo/swag.
Package docs Code generated by swaggo/swag.

Jump to

Keyboard shortcuts

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