chore(deps): implement github.com/qdm12/golibs/command locally (#2418)
This commit is contained in:
@@ -3,6 +3,7 @@ package vpn
|
||||
import (
|
||||
"context"
|
||||
"net/netip"
|
||||
"os/exec"
|
||||
|
||||
"github.com/qdm12/gluetun/internal/configuration/settings"
|
||||
"github.com/qdm12/gluetun/internal/models"
|
||||
@@ -92,3 +93,9 @@ type PublicIPLoop interface {
|
||||
RunOnce(ctx context.Context) (err error)
|
||||
ClearData() (err error)
|
||||
}
|
||||
|
||||
type CmdStarter interface {
|
||||
Start(cmd *exec.Cmd) (
|
||||
stdoutLines, stderrLines <-chan string,
|
||||
waitError <-chan error, startErr error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user