state

module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2019 License: Apache-2.0

README

state

Project Logo

Distributed world and agent state for Bluest Eel models

Build Status Go Report Card Tagged Version

Getting Started

$ make up
$ make sqlsh
CREATE DATABASE state;
CREATE TABLE state.world (id INT PRIMARY KEY, name VARCHAR);
INSERT INTO state.world VALUES (1, 'test world');
SELECT * FROM state.world;

Then connect to a different node and perform the same select query:

NODE=db3 make sqlsh
SELECT * FROM state.world;
  id |    name
+----+------------+
   1 | test world
(1 row)

Time: 3.2932ms

Directories

Path Synopsis
db
examples
nearest
Package tool copied from https://gist.github.com/antoniomo/3371e44cbe2f0cc75a525aac0d188cfb
Package tool copied from https://gist.github.com/antoniomo/3371e44cbe2f0cc75a525aac0d188cfb

Jump to

Keyboard shortcuts

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