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 Issues
Function Delete()
of kvstorage
package returns bool
in case of error, which is not idiomatic. Add return type error
.
Add go vet
check for a workflow.
Add golangci-lint
Add different Go versions to test against
Function Get()
of kvstorage
package returns bool
in case of error, which is not idiomatic. Change return type to error
.
Function DeleteFrontIfOlder()
of kvstorage
package returns bool
in case of error, which is not idiomatic. Change return type to error
.
Function Set()
of kvstorage
package returns bool
now, 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.