Documentation ¶
Index ¶
- func GetHttpHostname(c *conn.Conn) (_ net.Conn, routerName string, err error)
- func GetHttpsHostname(c *conn.Conn) (sc net.Conn, routerName string, err error)
- func HttpHostNameRewrite(c *conn.Conn, rewriteHost string) (_ net.Conn, err error)
- type HttpMuxer
- type HttpsMuxer
- type Listener
- type VhostMuxer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHttpHostname ¶
func GetHttpsHostname ¶
Types ¶
type HttpMuxer ¶
type HttpMuxer struct {
*VhostMuxer
}
type VhostMuxer ¶
type VhostMuxer struct {
// contains filtered or unexported fields
}
func NewVhostMuxer ¶
Click to show internal directories.
Click to hide internal directories.