Closed lydiahuang59 closed 5 years ago
Added example code from dragonboat here.
You can run it by entering:
go run server.go diskkv.go -nodeid 1 go run server.go diskkv.go -nodeid 2 go run server.go diskkv.go -nodeid 3
in three different terminal windows.
Then you can type in put key value and get key to test/use the database in the different windows.
put key value
get key
This currently only works on Linux (pretty sure).
@gvacaliuc yup working on that
Added example code from dragonboat here.
You can run it by entering:
in three different terminal windows.
Then you can type in
put key value
andget key
to test/use the database in the different windows.This currently only works on Linux (pretty sure).