Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( HOST = utils.EnvHost("localhost") CERT = utils.EnvCert("localhost.pem") KEY = utils.EnvKey("localhost-key.pem") PORT = utils.EnvPort(":3000") HTTP_PORT = utils.EnvHTTPPort(PORT) UDP_PORT = utils.EnvUDPPort(PORT) HTTPS_PORT = utils.LookupEnvPort("HTTPS_PORT") ALT_SVC = utils.EnvAltSvc("") )
View Source
var NextProtos = []string{"http/1.1"}
disable HTTP/2, because http.Hijacker is not supported, which is required by https://github.com/elazarl/goproxy
Functions ¶
func ListenAndServe ¶
func ListenAndServeTLS ¶
func LocalTLSConfig ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.