Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventStorer ¶
type Module ¶
type Module struct {
module.BaseModule
// contains filtered or unexported fields
}
func (*Module) PreviewMapper ¶
func (m *Module) PreviewMapper() event.PreviewMapper
func (*Module) SetEventService ¶
func (m *Module) SetEventService(es EventStorer)
func (*Module) TCPServers ¶
func (m *Module) TCPServers() []tcp.ServerConfig
type PHPProcess ¶
type PHPProcess struct {
// contains filtered or unexported fields
}
PHPProcess manages a long-running PHP subprocess for deserializing VarDumper data.
func StartPHPProcess ¶
func StartPHPProcess() (*PHPProcess, error)
StartPHPProcess extracts the embedded PHP binary and starts it.
func (*PHPProcess) Parse ¶
func (p *PHPProcess) Parse(base64Payload string) (*ParseResult, error)
Parse sends a base64 payload to the PHP process and reads the JSON result.
type ParseResult ¶
type ParseResult struct {
Type string `json:"type"` // "string", "array", "object", "code", etc.
Value string `json:"value"` // Rendered value (primitive string or HTML)
Label *string `json:"label,omitempty"` // Optional label
Language *string `json:"language,omitempty"`
Context json.RawMessage `json:"context"`
Project *string `json:"project,omitempty"`
Error string `json:"error,omitempty"` // Set on parse failure
}
ParseResult is the JSON response from the PHP parser.