Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Proxy ¶
type Proxy struct {
Raddr *net.TCPAddr
Lconn *net.TCPConn
PathMapper XDebugProcessorPlugin
Config *config.Config
Logger *logger.Logger
// contains filtered or unexported fields
}
Proxy represents a pair of connections and their state
func (*Proxy) RegisterPostProcessor ¶
func (p *Proxy) RegisterPostProcessor(processor XDebugProcessorPlugin)
RegisterPostProcessor add a new message post processor
type XDebugProcessorPlugin ¶
type XDebugProcessorPlugin interface {
Initialize(c *config.Config, l *logger.Logger, m *pathmapping.PathMapping)
ApplyMappingToTextProtocol(message []byte) []byte
ApplyMappingToXML(message []byte) []byte
}
XDebugProcessorPlugin process message in xDebug protocol
Click to show internal directories.
Click to hide internal directories.