save code

This commit is contained in:
zhangdeman committed 2023-03-09 10:31:14 +08:00
1 parent 72add1ba6a
commit 0a83c18e4f
2 files changed
+55

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
// Package redis ...
//
// Description : redis ...
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 2023-02-13 14:29
package redis
// Option 使用redis时的可选信息
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 14:30 2023/2/13
type Option struct {
ForceMaster bool // 强制操作主库, 写操作默认主库, 读操作不指定默认从库
Flag string // 实例标识
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.