/dragonboat-example

Examples for Dragonboat

Primary LanguageGoApache License 2.0Apache-2.0

About / 中文版

This repo contains examples for dragonboat.

The master branch and the release-3.2 branch of this repo target Dragonboat's master and v3.2.x releases. Use the release-2.0 branch of this repo if you plan to use Dragonboat v2.1.

Go 1.13 or later releases with Go module support is required.

Notice

Programs provided here in this repo are examples - they are intentionally created in a more straight forward way to help users to understand the basics of the dragonboat library. They are not benchmark programs.

Install

To download the example code to say $HOME/src/dragonboat-example:

$ cd $HOME/src
$ git clone https://github.com/lni/dragonboat-example

Build all examples:

$ cd $HOME/src/dragonboat-example
$ make

Examples

Click links below for more details.

Examples on how to use Dragonboat in your C++ projects can be found here. Thanks for Jason Yuchen for providing those examples.

Next Step