mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-13 16:47:36 +08:00
14 lines
324 B
Go
14 lines
324 B
Go
package cache
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
type BlackCache interface {
|
|
BatchDeleter
|
|
CloneBlackCache() BlackCache
|
|
GetBlackIDs(ctx context.Context, userID string) (blackIDs []string, err error)
|
|
// del user's blackIDs msgCache, exec when a user's black list changed
|
|
DelBlackIDs(ctx context.Context, userID string) BlackCache
|
|
}
|