mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-12 13:05:58 +08:00
feat: local cache
This commit is contained in:
@@ -5,20 +5,7 @@ func NewOption() *Option {
|
||||
}
|
||||
|
||||
type Option struct {
|
||||
Enable *bool
|
||||
Link []string
|
||||
}
|
||||
|
||||
func (o *Option) WithEnable() *Option {
|
||||
t := true
|
||||
o.Enable = &t
|
||||
return o
|
||||
}
|
||||
|
||||
func (o *Option) WithDisable() *Option {
|
||||
f := false
|
||||
o.Enable = &f
|
||||
return o
|
||||
Link []string
|
||||
}
|
||||
|
||||
func (o *Option) WithLink(key ...string) *Option {
|
||||
|
||||
Reference in New Issue
Block a user