Documentation ¶
Index ¶
Constants ¶
View Source
const ( HttpPort = 80 HttpsPort = 443 TargetWhitelistKey = "DOMAIN_PROXY_TARGET_WHITELIST" DefaultTargetWhitelist = "localhost,repo.maven.apache.org,repository.jboss.org,packages.confluent.io,jitpack.io,repo.gradle.org,plugins.gradle.org" EnableInternalProxyKey = "DOMAIN_PROXY_ENABLE_INTERNAL_PROXY" DefaultEnableInternalProxy = false InternalProxyHostKey = "DOMAIN_PROXY_INTERNAL_PROXY_HOST" DefaultInternalProxyHost = "indy-generic-proxy" InternalProxyPortKey = "DOMAIN_PROXY_INTERNAL_PROXY_PORT" DefaultInternalProxyPort = 80 InternalProxyUserKey = "DOMAIN_PROXY_INTERNAL_PROXY_USER" DefaultInternalProxyUser = "" InternalProxyPasswordKey = "DOMAIN_PROXY_INTERNAL_PROXY_PASSWORD" DefaultInternalProxyPassword = "" InternalNonProxyHostsKey = "DOMAIN_PROXY_INTERNAL_NON_PROXY_HOSTS" DefaultInternalNonProxyHosts = "localhost" DomainSocketToHttp = "Domain Socket <-> HTTP" DomainSocketToHttps = "Domain Socket <-> HTTPS" )
Variables ¶
This section is empty.
Functions ¶
func GetBasicAuth ¶
Types ¶
type DomainProxyServer ¶
type DomainProxyServer struct {
// contains filtered or unexported fields
}
func NewDomainProxyServer ¶
func NewDomainProxyServer() *DomainProxyServer
func (*DomainProxyServer) Start ¶
func (dps *DomainProxyServer) Start(ready chan<- bool)
func (*DomainProxyServer) Stop ¶
func (dps *DomainProxyServer) Stop()
Click to show internal directories.
Click to hide internal directories.