webserver

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartWebServer

func StartWebServer(ctx context.Context, listenPort int, metricsEndpoint string, readTimeout, writeTimeout, idleTimeout, shutdownTimeout, maxRequestsInFlight int, useTLS bool, serverCert, serverKey string, onShutdown *func(cancelShutdown context.CancelFunc))

StartWebServer create new http-server and start listening on provided port.

Types

This section is empty.

Jump to

Keyboard shortcuts

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