Files

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
}