Files
gluetun/internal/cli/cli.go

21 lines
322 B
Go
Raw Normal View History

package cli
2020-02-08 21:50:17 +00:00
import (
"context"
"github.com/qdm12/gluetun/internal/os"
2020-02-08 21:50:17 +00:00
)
type CLI interface {
ClientKey(args []string, openFile os.OpenFileFunc) error
HealthCheck(ctx context.Context) error
OpenvpnConfig(os os.OS) error
Update(args []string, os os.OS) error
}
type cli struct{}
func New() CLI {
return &cli{}
}