mirror of
https://github.com/netbirdio/management-refactor.git
synced 2026-05-22 17:12:59 -07:00
14 lines
480 B
Go
14 lines
480 B
Go
package routers
|
|
|
|
import (
|
|
"context"
|
|
|
|
"management/internal/shared/db"
|
|
)
|
|
|
|
type Manager interface {
|
|
GetNetworkRoutersByNetID(ctx context.Context, tx db.Transaction, lockingStrength db.LockingStrength, accountID, userID, networkID string) ([]*NetworkRouter, error)
|
|
DeleteRouter(ctx context.Context, tx db.Transaction, accountID, userID, networkID, routerID string) error
|
|
DeleteRoutersInNetwork(ctx context.Context, tx db.Transaction, accountID, userID, networkID string) error
|
|
}
|