server

package
v0.0.0-...-09f4b59 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrBodyDecode = errors.New("cannot decode request body")
)

Functions

This section is empty.

Types

type Server

type Server interface {
	Run(ctx context.Context, wg *sync.WaitGroup)
}

func New

func New(address, rootURL string, logger logging.Logger,
	memFS http.FileSystem, buildInfo models.BuildInformation) Server

Jump to

Keyboard shortcuts

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