Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TypeHTTP = typeHeaderValue("http")
View Source
var TypeTCP = typeHeaderValue("tcp")
Functions ¶
This section is empty.
Types ¶
type ServerInfo ¶
func ParseHostURL ¶
func ParseHostURL(host *url.URL) (ServerInfo, error)
type TokenRefresher ¶
type TokenRefresher interface {
SetToken(token string)
}
type TokenRetriever ¶
type TokenRetriever interface {
GetToken() string
}
type TokenStore ¶
type TokenStore interface { TokenRetriever TokenRefresher }
type TunnelInfo ¶
func Handshake ¶
func Handshake(conn net.Conn, hostname string, tunnel *TunnelInfo, t TunnelType) (TunnelInfo, error)
type TunnelInfoSetter ¶
type TunnelInfoSetter interface {
SetTunnelInfo(info TunnelInfo)
}
type TunnelType ¶
Click to show internal directories.
Click to hide internal directories.