Versions in this module Expand all Collapse all v0 v0.1.6 May 26, 2017 Changes in this version type Config + DisableManage bool v0.1.5 May 10, 2017 Changes in this version type Config + ServerTcpAddr string + ServerUdpAddr string v0.1.3 Apr 28, 2017 Changes in this version type Config + ClientId string type TunnelConfig + HttpsSkipVerify bool v0.1.2 Apr 23, 2017 Changes in this version + func LoadConfig(configDetail []byte, configType string) error + func LoadTLSConfig(rootCertPaths []string) (*tls.Config, error) + func Main(configDetail []byte, configType string) + type Aes struct + SecretKey string + type Config struct + Aes Aes + AuthToken string + DSN string + Debug bool + Durable bool + DurableFile string + EnableCompress bool + EncryptMode string + Health Health + HttpProxy string + LogFile string + ManagePort uint16 + ServerAddr string + Tls Tls + Transport string + Tunnels map[string]TunnelConfig + type Control struct + ClientID uuid.UUID + func NewControl(conn net.Conn, encryptMode string, transport string, ...) *Control + func (c *Control) AddTunnel(w http.ResponseWriter, r *http.Request) + func (c *Control) ClientAddTunnels() error + func (c *Control) Close() + func (c *Control) Run() + func (c *Control) SyncTunnels(cstm *msg.AddTunnels) error + type Health struct + Interval int64 + TimeOut int64 + type Tls struct + ServerName string + TrustedCert string + type TunnelConfig struct + Host string + HttpHostRewrite string + LocalAddr string + Port uint16 + Schema string