Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redis get 方式可以控制吗? 比如redis 存储的hash 结构,现在默认也会用 string 结构来get 吗? #41

Open
ys-d opened this issue Nov 13, 2024 · 2 comments

Comments

@ys-d
Copy link

ys-d commented Nov 13, 2024

No description provided.

@daoshenzzg
Copy link
Collaborator

jetcache-go是通用的解决方案,建议采用默认的string结构。如果你有个性化需求,可以实现Remote接口的时候采用hash结构:

Get(ctx context.Context, key string) (val string, err error)

@x1nchen
Copy link
Contributor

x1nchen commented Nov 13, 2024

我看到 jetcache 也有类似的咨询 alibaba/jetcache#13 (comment) ,基本上可以作为这个问题回答的补充

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants