mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-17 15:56:39 +00:00
14 lines
514 B
Go
14 lines
514 B
Go
package services
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
type Manager interface {
|
|
GetAllServices(ctx context.Context, accountID, userID string) ([]*Service, error)
|
|
GetService(ctx context.Context, accountID, userID, serviceID string) (*Service, error)
|
|
CreateService(ctx context.Context, accountID, userID string, service *Service) (*Service, error)
|
|
UpdateService(ctx context.Context, accountID, userID string, service *Service) (*Service, error)
|
|
DeleteService(ctx context.Context, accountID, userID, serviceID string) error
|
|
}
|