Skip to content
This repository has been archived by the owner on Jun 7, 2020. It is now read-only.

Latest commit

 

History

History
47 lines (36 loc) · 738 Bytes

README.md

File metadata and controls

47 lines (36 loc) · 738 Bytes

Qiwi gRPC service

Unmaintained

Requirements

  • Golang 1.11+
  • MongoDB 4.0+

Environment variables

PORT=50051
DEBUG=false
MONGO_HOST=localhost
MONGO_PORT=27017
MONGO_DB=qiwi

Start project

go mod vendor # install dependencies
go run *.go

Protobuf documentation

See Here

Powered by: https://github.com/pseudomuto/protoc-gen-doc

Generate
docker run --rm \
  -v $(pwd)/protobuf:/out \
  -v $(pwd)/protobuf:/protos \
  pseudomuto/protoc-gen-doc --doc_opt=markdown,readme.md

Protobuf code generation

Requirements
  • protobuf
  • protoc-gen-go
Generate
protoc -I protobuf protobuf/qiwi.proto --go_out=plugins=grpc:protobuf