quiz-startup

module
v0.0.0-...-9fefbdc Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: Unlicense

README

quiz-startup

A quiz microservice project written in GO and GRPC

Description

quiz-startup was built to help me learn about Go, GRPC and Protocol Buffers.

What is it?

It is a simple go module with multiple packages. The module architecture is as follows:

github.com/thanders/quiz-startup (module)
- - broker
- - - proto
- - - client (package)
- - - server (package)

What is Protocol Buffers?

Usage

scripts
build

Builds the binaries for all microservices:

./createBinaries.sh
proto

Run the protocol buffer compiler to create the pb.go and grpc.pb.go files. The generated files help go to understand the proto contract.

./createProtoFiles.sh
Binaries

Each project will contain a /bin folder that contains a compiled binary. On a unix system the binary can be executed from a shell like any other executable.

For example:

./broker/server/bin/server
./broker/client/bin/client

Directories

Path Synopsis
broker

Jump to

Keyboard shortcuts

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