proxy

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server represents the MITM proxy server

func NewServer

func NewServer(cfg *config.Manager, ca *cert.CA, certPath, keyPath string) (*Server, error)

NewServer creates a new proxy server

func (*Server) ReloadFromConfig

func (s *Server) ReloadFromConfig()

ReloadFromConfig reloads configuration without restarting the proxy (mainly for rules/targets changes). Note: it does not hot-update listen address, session TTL, or other parameters that require rebuilding components.

func (*Server) Start

func (s *Server) Start() error

Start starts the proxy server

func (*Server) Stop

func (s *Server) Stop()

Stop stops the proxy server

Jump to

Keyboard shortcuts

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