mirror of
https://github.com/netbirdio/netbird.git
synced 2025-08-03 21:10:50 +02:00
11 lines
315 B
Go
11 lines
315 B
Go
package peers
|
|
|
|
import "github.com/netbirdio/netbird/management/refactor/resources/peers/types"
|
|
|
|
type Repository interface {
|
|
FindPeerByPubKey(pubKey string) (types.Peer, error)
|
|
FindPeerByID(id string) (types.Peer, error)
|
|
FindAllPeersInAccount(id string) ([]types.Peer, error)
|
|
UpdatePeer(peer types.Peer) error
|
|
}
|