mirror of
https://github.com/eduardolat/pgbackweb.git
synced 2026-02-19 20:08:26 -06:00
22 lines
427 B
Go
22 lines
427 B
Go
package integration
|
|
|
|
import (
|
|
"github.com/eduardolat/pgbackweb/internal/integration/postgres"
|
|
"github.com/eduardolat/pgbackweb/internal/integration/storage"
|
|
)
|
|
|
|
type Integration struct {
|
|
PGClient *postgres.Client
|
|
StorageClient *storage.Client
|
|
}
|
|
|
|
func New() *Integration {
|
|
pgClient := postgres.New()
|
|
storageClient := storage.New()
|
|
|
|
return &Integration{
|
|
PGClient: pgClient,
|
|
StorageClient: storageClient,
|
|
}
|
|
}
|