mirror of
https://github.com/vacp2p/dasy.git
synced 2026-01-09 23:08:06 -05:00
14 lines
313 B
Go
14 lines
313 B
Go
// Package store contains everything storage related for MVDS.
|
|
package store
|
|
|
|
import (
|
|
"github.com/status-im/mvds/protobuf"
|
|
"github.com/status-im/mvds/state"
|
|
)
|
|
|
|
type MessageStore interface {
|
|
Has(id state.MessageID) bool
|
|
Get(id state.MessageID) (protobuf.Message, error)
|
|
Add(message protobuf.Message) error
|
|
}
|