Documentation
¶
Overview ¶
Package html captures events with the sender's own HTML markup: a report, a link to a tool's page, an experiment with a new kind of event. Send
curl -X POST http://html@127.0.0.1:8000 -H 'Content-Type: text/html' --data '<h1>Report</h1>'
or JSON {"title": "…", "html": "…"} with X-Buggregator-Event: html, or POST to /html[/project]. The UI shows the markup in a sandboxed frame.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
module.BaseModule
}
Module is the custom HTML event catcher.
func (*Module) HTTPHandler ¶
func (m *Module) HTTPHandler() module.HTTPIngestionHandler
func (*Module) PreviewMapper ¶
func (m *Module) PreviewMapper() event.PreviewMapper