Documentation ¶ Index ¶ func StartProxy(logger *modifier.Logger, config *Config) *martian.Proxy type Config Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func StartProxy ¶ func StartProxy(logger *modifier.Logger, config *Config) *martian.Proxy StartProxy - Starts the martian proxy and sets up the modifier. Nil config will set some reasonable defaults Types ¶ type Config ¶ type Config struct { Port uint // port to listen on, default 8080 Addr string // ip address to listen on, default 0.0.0.0 Proxy string // downstream proxy to use, optional. Cert string // CA certificate Key string // key } Config - struct that holds the proxy config Source Files ¶ View all Source files proxy.go Click to show internal directories. Click to hide internal directories.