An example of gprc service, that uses minio as a database.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
dancheg97 b2bc4626d4
continuous-integration/drone/push Build is passing Details
updated redis template with proper license
2 months ago
cmd updated redis template with proper license 2 months ago
gen/pb yy 4 months ago
redis updated redis template with proper license 2 months ago
service yy 4 months ago
.drone.yml fixed template 4 months ago
.gitignore Initial commit 4 months ago
.golangci.yml Initial commit 4 months ago
LICENSE updated redis template with proper license 2 months ago
Makefile yy 4 months ago
README.md added module to revieve redis 4 months ago
api.proto redis interaction module 4 months ago
docker-compose.yml fixed template 4 months ago
dockerfile removed unused stuff 4 months ago
go.mod yy 4 months ago
go.sum yy 4 months ago
main.go removed unused stuff 4 months ago

README.md

Go redis template

Generic badge Generic badge Build Status

Example description.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.


Repository stack:

  • grpc - you can describe your service and messages in proto file code for provided schema will be generated, type safe and fast API. Multiple middleware solutions are included with service.
  • docker - 2 stage dockerfile and clever docker-compose with migrations separated to different container (for optional horizontal scaling of service) are already provided with service.
  • golangci-lint - linter config stored in root directory, already includes a lot of usefull linters, mostly commented with helpful descriptions of different linters. You can tune it for your personal needs.
  • drone - already written pipeline for drone-ci, which includes lint, test, build and pushing service to registry.
  • logrus - one of the most popular libraries for logging in go, has perfect interfaces and adapters for both grpc server and postgres modules.
  • redis - redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker.