mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 14:16:21 +00:00
12 lines
240 B
Go
12 lines
240 B
Go
package peers
|
|
|
|
import (
|
|
"github.com/vacp2p/mvds/state"
|
|
)
|
|
|
|
type Persistence interface {
|
|
Add(state.GroupID, state.PeerID) error
|
|
GetByGroupID(group state.GroupID) ([]state.PeerID, error)
|
|
Exists(state.GroupID, state.PeerID) (bool, error)
|
|
}
|