Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type APIServer ¶
APIServer Receiver object for API Rest Server
func NewAPIServer ¶
NewAPIServer provides an instance of APIServer
func (*APIServer) APIShutdownHandler ¶
func (s *APIServer) APIShutdownHandler(w http.ResponseWriter, r *http.Request)
APIShutdownHandler provides shutdown handler for closing the REST Server It also closes the Database.
func (*APIServer) RunAPIServer ¶
func (s *APIServer) RunAPIServer()
RunAPIServer starts the Database and Rest Server
Directories ¶
Path | Synopsis |
---|---|
generated
|
|
server/go
* Swagger MyApp * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
* Swagger MyApp * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) |
Click to show internal directories.
Click to hide internal directories.