//
pkg.gl
Category
github.com/powerman/go-service-goswagger-clean-example
internal
api
package
0.3.0
Repository:
https://github.com/powerman/go-service-goswagger-clean-example.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
20
Dependents
1
Files
361 SLOC
#
Packages
model
No description provided by the author
restapi
Package restapi Address Book Schemes: http Host: localhost:8765 BasePath: / Version: 0.1.1 Consumes: - application/json Produces: - application/json swagger:meta */.
#
Functions
InitMetrics
InitMetrics must be called once before using this package.
Serve
Serve listens on the TCP network address cfg.Host:cfg.Port and handle requests on incoming connections.
#
Structs
Config
Config contains configuration for internal API service.