mirror of
https://github.com/eduardolat/pgbackweb.git
synced 2026-04-29 23:49:17 -05:00
16 lines
303 B
Go
16 lines
303 B
Go
package databases
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/eduardolat/pgbackweb/internal/database/dbgen"
|
|
)
|
|
|
|
func (s *Service) GetAllDatabases(
|
|
ctx context.Context,
|
|
) ([]dbgen.DatabasesServiceGetAllDatabasesRow, error) {
|
|
return s.dbgen.DatabasesServiceGetAllDatabases(
|
|
ctx, *s.env.PBW_ENCRYPTION_KEY,
|
|
)
|
|
}
|