Support unix sockets.

This commit is contained in:
Kristian Mide
2019-02-14 11:40:54 +01:00
committed by Silver
parent f22202b31b
commit 07a409ffef
4 changed files with 44 additions and 8 deletions

View File

@@ -37,8 +37,10 @@ const (
)
type TunnelConfig struct {
// OriginUrl may not be used if a user specifies a unix socket.
OriginUrl string
EdgeAddrs []string
OriginUrl string
Hostname string
OriginCert []byte
TlsConfig *tls.Config