package
Version:
v1.1.1
Opens a new window with list of versions in this module.
Published: Sep 11, 2020
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package serve provides helpers to start and shutdown network services.
HTTP starts HTTP server on addr using handler logged as service.
It runs until failed or ctx.Done.
Metrics starts HTTP server on addr path /metrics using reg as
prometheus handler.
OpenAPI starts HTTP/HTTPS server using srv logged as service.
It runs until failed or ctx.Done.
Ctx is a synonym for convenience.
OpenAPIServer implemented by *restapi.Server generated by go-swagger.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.