Skip to content

Latest commit

 

History

History
32 lines (16 loc) · 472 Bytes

README.md

File metadata and controls

32 lines (16 loc) · 472 Bytes

Fizzbuzz in golang, grpc and grpc-gateway

This is an implementation of fizzbuzz using protobuf for code generation.

It uses grpc and grpc-gateway for REST.

How to use

Build

go build -o bin/fizzbuzz cmd/main.go

Run

bin/fizzbuzz -http-host <HTTP_ADDRESS>

go run ./cmd/main.go -http-host <HTTP_ADDRESS>

there are 3 endpoints:

Swagger for documentation

/swagger

User statistics

/stats

fizzbuzz

/fizzbuzz