server

package
v0.0.0-...-efcb337 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileServer

func FileServer(r chi.Router, path string)

FileServer conveniently sets up a http.FileServer handler to serve static files from a http.FileSystem.

func GetServer

func GetServer() *http.Server

func Index

func Index(w http.ResponseWriter, r *http.Request)

func RunServer

func RunServer(cmder *helpers.Commander)

func SetRoutes

func SetRoutes(r *chi.Mux)

Types

This section is empty.

Jump to

Keyboard shortcuts

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