mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-09-04 22:53:17 +08:00
16 lines
315 B
Go
16 lines
315 B
Go
package controller
|
|
|
|
import "github.com/openimsdk/open-im-server/v3/pkg/common/storage/cache"
|
|
|
|
type StreamMsgDatabase interface {
|
|
cache.StreamMsgCache
|
|
}
|
|
|
|
func NewStreamMsgDatabase(db cache.StreamMsgCache) StreamMsgDatabase {
|
|
return &streamMsgDatabase{db}
|
|
}
|
|
|
|
type streamMsgDatabase struct {
|
|
cache.StreamMsgCache
|
|
}
|