Use context everywhere

This commit is contained in:
2026-05-26 18:58:50 +03:00
parent 3ece07e11d
commit 11a357ebc4
7 changed files with 37 additions and 54 deletions

View File

@@ -1,6 +1,7 @@
package dialer
import (
"context"
"fmt"
"net/url"
@@ -25,7 +26,7 @@ func New(app *application.App) *Dialer {
}
}
func (d *Dialer) ConnectDependencies() error {
func (d *Dialer) ConnectDependencies(ctx context.Context) error {
dialURL, err := d.UpstreamURL()
if err != nil {
return fmt.Errorf(
@@ -38,6 +39,6 @@ func (d *Dialer) ConnectDependencies() error {
return nil
}
func (d *Dialer) Start() error {
func (d *Dialer) Start(_ context.Context) error {
return nil
}