mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-09 20:29:23 +02:00
21f4cf7ab5
- Use filepaths with /tmp for tests instead - Only mock functions where filepath can't be specified such as user.Lookup
17 lines
399 B
Go
17 lines
399 B
Go
package cyberghost
|
|
|
|
import (
|
|
"context"
|
|
"net"
|
|
"net/http"
|
|
|
|
"github.com/qdm12/gluetun/internal/firewall"
|
|
"github.com/qdm12/golibs/logging"
|
|
)
|
|
|
|
func (c *Cyberghost) PortForward(ctx context.Context, client *http.Client,
|
|
pfLogger logging.Logger, gateway net.IP, fw firewall.Configurator,
|
|
syncState func(port uint16) (pfFilepath string)) {
|
|
panic("port forwarding is not supported for Cyberghost")
|
|
}
|