Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 1.26 KB

README.md

File metadata and controls

27 lines (23 loc) · 1.26 KB

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