Documentation
¶
Index ¶
- type HttpProps
- type HttpsTunnel
- type Protocol
- type Session
- type TlsProps
- type TlsTunnel
- type Tunnel
- type TunnelCtx
- type TunnelRegistry
- func (r *TunnelRegistry) GetHttpSession(req http.Header) (*yamux.Session, *db.Tunnel, error)
- func (r *TunnelRegistry) GetHttpTunnels() (map[string]*HttpsTunnel, error)
- func (r *TunnelRegistry) GetTLSSession(clientHello *tls.ClientHelloInfo) (*yamux.Session, *db.Tunnel, error)
- func (r *TunnelRegistry) GetTLSTunnels() (map[string]*TlsTunnel, error)
- func (r *TunnelRegistry) RemoveSession(tunn *db.Tunnel) error
- func (r *TunnelRegistry) StoreSession(sess *yamux.Session) (*db.Tunnel, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpsTunnel ¶
type HttpsTunnel struct {
// contains filtered or unexported fields
}
func (*HttpsTunnel) GetSession ¶
func (t *HttpsTunnel) GetSession() *yamux.Session
type TlsTunnel ¶
type TlsTunnel struct {
// contains filtered or unexported fields
}
func (*TlsTunnel) GetSession ¶
type TunnelRegistry ¶
type TunnelRegistry struct {
// contains filtered or unexported fields
}
func NewTunnelRegistry ¶
func NewTunnelRegistry(db *gorm.DB) *TunnelRegistry
func (*TunnelRegistry) GetHttpSession ¶
func (*TunnelRegistry) GetHttpTunnels ¶
func (r *TunnelRegistry) GetHttpTunnels() (map[string]*HttpsTunnel, error)
func (*TunnelRegistry) GetTLSSession ¶
func (r *TunnelRegistry) GetTLSSession(clientHello *tls.ClientHelloInfo) (*yamux.Session, *db.Tunnel, error)
func (*TunnelRegistry) GetTLSTunnels ¶
func (r *TunnelRegistry) GetTLSTunnels() (map[string]*TlsTunnel, error)
func (*TunnelRegistry) RemoveSession ¶
func (r *TunnelRegistry) RemoveSession(tunn *db.Tunnel) error
func (*TunnelRegistry) StoreSession ¶
Click to show internal directories.
Click to hide internal directories.