Simply build with
go build and install with
- redigo (must be after commit 69e1a27a where redis.Pool.TestOnBorrow was introduced)
- redis v2.7 or higher
To start the service run
goforget -redis-host=localhost:6379:1 -http=:8080.
This will start an instance of
goforget on port 8080 and will be connected to
a local redis server on port 6379 using database 1. To see other valid
- This will create the distribution if necessary and increase the probability
of the field red by increasing it's count by one. There is an optional
N, to increase the count by an arbitrary amount.
Access entire distribution
Access single field
Access N fields with highest probability
Get the number of distributions currently being stores