chore(deps): implement github.com/qdm12/golibs/command locally (#2418)

This commit is contained in:
Quentin McGaw
2024-08-21 15:21:31 +02:00
committed by GitHub
parent 4d60b71583
commit a2b3d7e30c
26 changed files with 537 additions and 95 deletions

View File

@@ -2,19 +2,18 @@ package openvpn
import (
"github.com/qdm12/gluetun/internal/constants/openvpn"
"github.com/qdm12/golibs/command"
)
type Configurator struct {
logger Infoer
cmder command.RunStarter
cmder CmdRunStarter
configPath string
authFilePath string
askPassPath string
puid, pgid int
}
func New(logger Infoer, cmder command.RunStarter,
func New(logger Infoer, cmder CmdRunStarter,
puid, pgid int) *Configurator {
return &Configurator{
logger: logger,