ezgo

module
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 5, 2021 License: MIT

README

gofr

Build Status license Maintainability Coverage Status

Mini GoLang framework for writing http or grpc api and command line tools.

What all is (planned to be) supported in Gofr?
  • API server and Cmd creation
  • SQL Database
  • Redis
  • Open telemetry for tracing/metrics
    • Trace all incoming requests
    • All outbound HTTP or gRPC requests
    • All Postgres queries
    • All Redis commands
    • Export Spans to GCP Cloud trace based on config
  • Logs to go to stdout and stderr
  • Configurations by Environment
Development Notes

To run the tests, mysql and redis needs to run on the default ports 3306 and 6379 respectively. Following docker commands can be used:

  • docker run --name gofr-mysql -e MYSQL_ROOT_PASSWORD=password -p3306:3306 mysql:latest
  • docker run --name gofr-redis -p6379:6379 redis:latest

Jump to

Keyboard shortcuts

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