Versions in this module Expand all Collapse all v1 v1.0.0 Sep 30, 2026 Changes in this version + const DefaultMaxBodyCaptureBytes + const StreamBufferSize + func GetBuffer() *[]byte + func PutBuffer(b *[]byte) + type BoundedCaptureWriter struct + func NewBoundedCaptureWriter(limit int) *BoundedCaptureWriter + func ReadAndCapture(rc io.ReadCloser, limit int) (io.ReadCloser, *BoundedCaptureWriter) + func (w *BoundedCaptureWriter) Bytes() []byte + func (w *BoundedCaptureWriter) Write(p []byte) (n int, err error) + type EBPFManager struct + CGroup string + PID int + ProxyPort int + func NewEBPFManager(proxyPort int) *EBPFManager + func (m *EBPFManager) CheckEnvironmentSupport() (bool, string) + func (m *EBPFManager) GenerateEBPFInstructions() string + type ProxyServer struct + func NewProxyServer(addr string, cm *certs.CertificateManager, rb *ringbuffer.RingBuffer) *ProxyServer + func (p *ProxyServer) Close() error + func (p *ProxyServer) GetMockEngine() *mock.Engine + func (p *ProxyServer) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (p *ProxyServer) SetInsecureUpstreamTLS(insecure bool) + func (p *ProxyServer) SetMockEngine(eng *mock.Engine) + func (p *ProxyServer) Start() error + type RedirectionMode string + const ModeEBPF + const ModeExplicitProxy + const ModeIPTables