server

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ContentTypeJSON    = "application/json"
	ContentTypeGeoJSON = "application/geo+json"
)
View Source
const (
	ErrMsgEncoding = "error encoding response"
)

Variables

View Source
var (
	ErrNotFound error = fmt.Errorf("not found")
)

Functions

func Create

func Create() *http.Server

func FatalAfter

func FatalAfter(delaySec int, msg string) chan struct{}

Types

This section is empty.

Jump to

Keyboard shortcuts

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