honeybee

command
v0.0.0-...-7788d34 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

README

cache

An implement of Distributed cache.

这个子项目提供灵活的缓存实现

Test case


# Get
curl -v http://localhost:5000/api/cache/u_1234

# Test: add cache
curl -v -X PUT -d "bbbbbbbbbbbwwww" http://localhost:5000/api/cache/u_1234
# Response should be:
# Response 200
# {"code":0,"message":"succeed"}

curl -v -X PUT -d "{\"name\":\"xx\",\"age\":\"100\"}" http://localhost:5000/api/cache/u:999
# Response should be:
# Response 400

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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