package
Version:
v0.0.0-...-5e165d6
Opens a new window with list of versions in this module.
Published: Jan 8, 2023
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 neural_network services.
HTTP starts HTTP server on addr using handler logged as imageProcessingService.
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 imageProcessingService.
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.