mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-05 03:42:08 +08:00
9 lines
210 B
Go
9 lines
210 B
Go
package cache
|
|
|
|
import "context"
|
|
|
|
type OnlineCache interface {
|
|
GetOnline(ctx context.Context, userID string) ([]int32, error)
|
|
SetUserOnline(ctx context.Context, userID string, online, offline []int32) error
|
|
}
|