websupport

package
v0.0.0-...-822262a Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(addr string, handlers func(x *mux.Router)) *http.Server

func ModelAndView

func ModelAndView(w http.ResponseWriter, resources *embed.FS, view string, data Model) error

func Start

func Start(server *http.Server, l net.Listener)

func Stop

func Stop(server *http.Server)

Types

type Model

type Model struct {
	Map map[string]any
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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