refactored initialization

This commit is contained in:
Stephan D
2025-12-24 01:31:43 +01:00
parent e6626600cc
commit c941319c4e
19 changed files with 130 additions and 71 deletions

View File

@@ -3,6 +3,7 @@ package transfer
import (
"context"
"github.com/tech/sendico/gateway/chain/internal/service/gateway/rpcclient"
"github.com/tech/sendico/gateway/chain/internal/service/gateway/shared"
"github.com/tech/sendico/gateway/chain/storage"
clockpkg "github.com/tech/sendico/pkg/clock"
@@ -11,7 +12,7 @@ import (
type Deps struct {
Logger mlogger.Logger
Networks map[string]shared.Network
Networks *rpcclient.Registry
Storage storage.Repository
Clock clockpkg.Clock
EnsureRepository func(context.Context) error