all repos — volatile @ 1021d0d3cc981b13b9f74ba4bf68d78337a677ce

A (dead) simple volatile data storage written in Go.

README (view raw)

 1volatile
 2--------
 3
 4A (dead) simple volatile data storage written in Go.
 5
 6
 7FEATURES
 8
 9• Automatic cleanup via goroutines!
10• Can be as fast (or slow) as you wish!
11• Does not use any external libraries, only native go!
12• Absolutely unsafe memory-wise and probably more resource-intensive than any other alternative.
13
14
15USAGE
16
17Use NewVolatile to create a new cache.
18Then, you can use the following methods:
19• Get
20• Set
21• Has
22• Clear
23• Remove
24• Length
25
26
27Check out 'volatile_test.go' for some examples.
28
29
30INSTALLING
31
32go get github.com/BiRabittoh/volatile
33
34
35LICENSE
36
37volatile is licensed under MIT.