server-go

command module
v0.0.0-...-86fa0e8 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2022 License: MIT Imports: 3 Imported by: 0

README

Go Server

HTTP server prototype written in Go.

Sample ./server.yaml Config

// TODO: update config example

server:
  port: :5000
  protocol: HTTP
  https:
    cert: cert.pem
    key: key.pem

db:
  connection: postgres://<username>:<passowrd>@<host>:<port>/<database>?sslmode=disable

gin:
  release: true

gorm:
  level: 3

timber:
  cli:
    level: 9
    timestamp: "[15:04:05]"
  file:
    level: 9
    timestamp: "[15:04:05]"
    path: logs/2006-01-02.log

Documentation

Overview

TODO: remove gin? https://echo.labstack.com TODO: add documentation

Directories

Path Synopsis
api
v1

Jump to

Keyboard shortcuts

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