add encryption and get page

This commit is contained in:
Aleksandr Trushkin
2024-01-29 00:09:30 +03:00
parent c814f27c54
commit 9ef5f2bbf8
8 changed files with 436 additions and 35 deletions

View File

@ -61,7 +61,7 @@ func SetupDI(ctx context.Context, cfgpath string) error {
return nil, fmt.Errorf("getting logger: %w", err)
}
client, err := eway.New(eway.Config(cfg.Eway), log)
client, err := eway.New(ctx, eway.Config(cfg.Eway), log)
if err != nil {
return nil, fmt.Errorf("making new eway client: %w", err)
}