Skip to content

Latest commit

 

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Gorums examples

This folder contains examples of services implemented with Gorums. If you want a detailed walkthrough of how to get started with Gorums, read the user guide.

Interactive Storage service

The storage example implements a simple key-value storage service. The client features an interactive command line interface that allows you to send RPCs and quorum calls to different configurations of servers, called nodes. Both the client and the server are included in the same binary, and four local servers will be started automatically.

To install:

make tools
make

Optionally:

go build -o ./storage ./storage

To run:

./storage/storage

To recompile the proto files:

make -B