web

package
v0.0.0-...-7a1ea33 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrWebAppClosed = http.ErrServerClosed
)

Functions

This section is empty.

Types

type WebApp

type WebApp interface {
	StartAndNotify(notifyChan chan struct{}) error
	Shutdown(ctx context.Context) error
}

func NewWebApp

func NewWebApp(serverCfg config.Server, productsService service.ProductsService, staticFS fs.FS, templates *template.Template) (WebApp, error)

Directories

Path Synopsis
implementations
chi

Jump to

Keyboard shortcuts

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