dwr

command module
v0.0.0-...-02037c1 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2021 License: GPL-3.0 Imports: 12 Imported by: 0

README

dwr

Diminishing Weighted Random Distribution implementation, with state save. This can be used for various distributions to distribute fairly among a group

Input Register json

POST /myKey JSON: json := { "weight_1" : 1, "weight_2" : 2, "weight_heavy": 99 }

REQUESTS

GET :

GET /myKey

Response

{ "key": "weight_heavy" }

DELETE

Request: DELETE /myKey

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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