infra

module
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: MIT

README

Infra

Infra is a set of go libraries to unify the way we write grpc servers, access various databases, etc.

Installation

go get github.com/pushwoosh/infra

Libraries

All databases and brokers libraries have similar design: each library has NewContainer function that creates a container that holds named connections to the database.

To create a new connection, call Connect method. To fetch a connection, call Get method.

Databases

Message Brokers

Servers

  • HTTP - http server helpers
  • gRPC - gRPC server utilities for creating gRPC servers and gRPC gateways
  • Info - server info endpoint. provides endpoints for k8s liveness and readiness probes, pprof, build info

Other

Jump to

Keyboard shortcuts

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