JonLim / togo

A simple way to build your microservices in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

togo

Build Status GoDoc codecov Go Report Card Open Source Helpers

This package was inspired in gizmo from The New York Times and it offer a simple way to build your microservices with no external dependencies in Go.

Installation

go get github.com/opentogo/togo

Examples

  • They are available in the examples directory.
  • There are also examples within the GoDoc.

Log

It implements the Apache combined log format with application name as prefix.

[togo-example-service] Running at :3000
[togo-example-service] ::1 - - [10/Oct/2019:17:19:14 +0000] "GET /svc/togo HTTP/1.1" 404 19 "-" "curl/7.54.0" 0.0000
[togo-example-service] ::1 - - [10/Oct/2019:17:19:21 +0000] "GET /svc/togo/cats HTTP/1.1" 200 39 "-" "curl/7.54.0" 0.0001

Contributors

About

A simple way to build your microservices in Go

License:MIT License


Languages

Language:Go 100.0%