View Code? Open in Web Editor
NEW
Simple yet fully functional in-memory key-value storage server based on HTTP protocol with elements being purged when expired. All operations run in constant time.
License: GNU General Public License v3.0
kvserver's People
Contributors
Stargazers
Watchers
kvserver's Issues
Function DeleteFrontIfOlder()
of kvstorage
package returns bool
in case of error, which is not idiomatic. Change return type to error
.
Add golangci-lint
Add different Go versions to test against
Function Set()
of kvstorage
package returns bool
now, which is not idiomatic. Change return type to error
.
Add go vet
check for a workflow.
Function Delete()
of kvstorage
package returns bool
in case of error, which is not idiomatic. Add return type error
.
Function Get()
of kvstorage
package returns bool
in case of error, which is not idiomatic. Change return type to error
.
Package kvstorage
has Init()
function to initialize storage which is not idiomatic. More idiomatic way would be to use NewStorage()
constructor.