command
module
Version:
v0.0.0-...-2b31a26
Opens a new window with list of versions in this module.
Published: Jun 17, 2019
License: GPL-3.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
simple-service
simple-service
is an 'as easy as possible' golang HTTP api used at Onefootball on examples and tests.
It has only a /live
endpoint answering text/plain; charset=utf-8
. The following responses are possibly:
Well done :)
: if the application was able to connect with a Postgres database
Running
: if some error occurred during the connection with the database
Check the config
package for more details on how to configure the database connection.
Building
simple-service
uses go modules. To build the application you can use the following command:
GO111MODULE=on go build
The command above will generate a binary simple-service
that starts the application.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Package config provides data structs and methods to store the application's configuration details
|
Package config provides data structs and methods to store the application's configuration details |
Package db provides simple database abstractions for common operations.
|
Package db provides simple database abstractions for common operations. |
|
|
Click to show internal directories.
Click to hide internal directories.