mirror of
https://github.com/netbirdio/netbird.git
synced 2025-02-17 02:31:06 +01:00
10 lines
271 B
Go
10 lines
271 B
Go
|
package server
|
||
|
|
||
|
type Store interface {
|
||
|
GetPeer(peerId string) (*Peer, error)
|
||
|
GetAccount(accountId string) (*Account, error)
|
||
|
GetPeerAccount(peerId string) (*Account, error)
|
||
|
GetAccountBySetupKey(setupKey string) (*Account, error)
|
||
|
SaveAccount(account *Account) error
|
||
|
}
|