fasten-onprem/backend/pkg/database/interface.go

14 lines
287 B
Go
Raw Normal View History

2022-08-25 19:26:29 -06:00
package database
import (
"context"
"github.com/fastenhealth/fastenhealth-onprem/backend/pkg/models"
)
type DatabaseRepository interface {
Close() error
GetCurrentUser() models.User
2022-08-25 19:26:29 -06:00
CreateProviderCredentials(ctx context.Context, providerCreds *models.ProviderCredential) error
2022-08-25 19:26:29 -06:00
}