mirror of
				https://github.com/h44z/wg-portal.git
				synced 2025-11-03 23:56:18 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			293 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			293 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)
 | 
						|
}
 |