Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler processes script messages from the WebView
func NewHandler ¶
func NewHandler(parserService *services.ParserService, browserService *services.BrowserService) *Handler
NewHandler creates a new message handler
func (*Handler) SetWebView ¶
SetWebView sets the WebView reference (needed for script injection)
type Message ¶
type Message struct {
Type string `json:"type"`
URL string `json:"url"`
Q string `json:"q"`
Limit int `json:"limit"`
Offset int `json:"offset"`
Value string `json:"value"`
// History operations
HistoryID string `json:"historyId"`
// Request tracking
RequestID string `json:"requestId"`
// Wails fetch bridge
ID string `json:"id"`
Payload json.RawMessage `json:"payload"`
}
Message represents a script message from the WebView
Click to show internal directories.
Click to hide internal directories.