server

package
v0.0.0-...-54f49d6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

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

func GetBasicAuth(user string, password string) string

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL