mirror of
https://github.com/h44z/wg-portal
synced 2025-02-26 05:49:14 +00:00
12 lines
292 B
Go
12 lines
292 B
Go
|
package route
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
"github.com/h44z/wg-portal/internal/domain"
|
||
|
)
|
||
|
|
||
|
type InterfaceAndPeerDatabaseRepo interface {
|
||
|
GetAllInterfaces(ctx context.Context) ([]domain.Interface, error)
|
||
|
GetInterfacePeers(ctx context.Context, id domain.InterfaceIdentifier) ([]domain.Peer, error)
|
||
|
}
|