go-config-example

module
v0.0.0-...-b4e7280 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2018 License: MIT

README

go-config-example

A example code of manage configuration and secure information in Go

Getting started

$ docker-compose build

$ docker-compose up -d

$ docker-compose ps
    Name                 Command             State           Ports         
---------------------------------------------------------------------------
app            ./server                      Up      0.0.0.0:8080->8080/tcp
master_mysql   docker-entrypoint.sh mysqld   Up      0.0.0.0:3306->3306/tcp

$ curl -i http://localhost:8080/.healthcheck
HTTP/1.1 200 OK
Date: Mon, 20 Aug 2018 02:52:33 GMT
Content-Length: 0

Directories

Path Synopsis
src

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL