package
0.0.0-20190207011935-b90c40817db5
Repository: https://github.com/coldog/engine.git
Documentation: pkg.go.dev
# Functions
InMemStore returns an in memory implementation of the Store interface.
InstrumentStore wraps all store methods to instrument the underlying calls.
New will initialize a new Server.
# Constants
MaxTicks is the maximum amount of ticks that can be returned.
# Variables
ErrInvalidSequence is returned when a game tick is written with an invalid sequence.
ErrIsLocked is returned when a game is locked.
ErrNotFound is thrown when a game is not found.
LockExpiry is the time after which a lock will expire.
# Interfaces
Store is the interface to the game store.