Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetCertCache ¶
func SetCertCache(cache map[string]tls.Certificate)
SetCertCache initializes the certificate cache and starts the go routine that serves the cache requests.
Types ¶
type CertCacheEntry ¶
type CertCacheEntry struct { Host string `json:"Host"` Certs KeyPairBytes }
CertCacheEntry is an entry in the certificate cache. It contains the host and the KeyPairBytes that was used to generate the certificate.
type KeyPairBytes ¶
KeyPairBytes is a byte representation of the certificate and private key for specific host's signed certificate. This is serialized in a cache file to be reused when the program terminates.
type Proxy ¶
type Proxy struct { HTTPTransport http.Transport HTTPBufferPool *sync.Pool HTTPBytePool *sync.Pool WebSocketUpgrader websocket.Upgrader WebSocketDialer websocket.Dialer }
Proxy is the object that stores the configured proxy TCP listener for the tracy proxy.
Click to show internal directories.
Click to hide internal directories.