Versions in this module Expand all Collapse all v0 v0.1.6 May 26, 2017 Changes in this version + var OldTunnelLock sync.Mutex + var OldTunnelMap = make(map[uuid.UUID]map[string]msg.Tunnel) type Config + RelicLicense string v0.1.5 May 10, 2017 v0.1.3 Apr 28, 2017 Changes in this version type Config + MaxIdlePipes string + MaxStreams string + PProfEnable bool v0.1.2 Apr 23, 2017 Changes in this version + var ControlMap = make(map[uuid.UUID]*Control) + var ControlMapLock sync.RWMutex + var TunnelMap = make(map[string]*Tunnel) + var TunnelMapLock sync.RWMutex + func LoadConfig(configDetail []byte, configType string) error + func Main(configDetail []byte, configType string) + func PipeHandShake(conn net.Conn, phs *msg.PipeClientHello) error + type Aes struct + SecretKey string + type Config struct + Aes Aes + AuthEnable bool + AuthUrl string + DSN string + Debug bool + Health Health + HttpPort uint16 + HttpsPort uint16 + ListenIP string + ListenPort int + LogFile string + ManagePort uint16 + NotifyEnable bool + NotifyKey string + NotifyUrl string + ServerDomain string + Tls Tls + type Control struct + ClientID uuid.UUID + func NewControl(conn net.Conn, encryptMode string, enableCompress bool, version string) *Control + func (c *Control) Close() + func (c *Control) GenerateClientId() uuid.UUID + func (c *Control) Serve() + func (c *Control) ServerAddTunnels(sstm *msg.AddTunnels) + func (c *Control) ServerHandShake() error + type Health struct + Interval int64 + TimeOut int64 + type Tls struct + TlsCert string + TlsKey string + type Tunnel struct + func (t *Tunnel) Close()