Documentation ¶
Index ¶
- func Create(addr string, handlers func(x *mux.Router), options Options) *http.Server
- func ModelAndView(w http.ResponseWriter, resources fs.FS, view string, data Model) error
- func Start(server *http.Server, l net.Listener)
- func Stop(server *http.Server)
- func WithTransportLayerSecurity(certFile, keyFile string, app *http.Server)
- type Model
- type Options
- type Path
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ModelAndView ¶
func WithTransportLayerSecurity ¶ added in v0.1.6
Types ¶
type Options ¶
type Options struct {
HealthChecks []healthsupport.HealthCheck
}
Click to show internal directories.
Click to hide internal directories.