Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Module ¶
func Module(c Config) common.ModuleFactory
Types ¶
type FetchArg ¶
type FetchArg struct {
URL string `json:"url" required:"true" description:"absolute http or https URL, credentials not allowed in it"`
Format string `` /* 363-byte string literal not displayed */
Full bool `` /* 162-byte string literal not displayed */
Offset uint `json:"offset" description:"1-based line of the converted content to start from, for continuing a long page"`
Limit uint `json:"limit" description:"max lines to return, default 2000"`
Timeout uint `` /* 160-byte string literal not displayed */
SaveAs string `` /* 148-byte string literal not displayed */
}
type Result ¶
type Result struct {
Title string `json:"title" description:"the backend's title for the page"`
URL string `json:"url" description:"fetch it with web__fetch to read the page"`
Snippet string `json:"snippet,omitempty" description:"the backend's own one- or two-sentence extract; empty when it returns content instead"`
Content string `` /* 184-byte string literal not displayed */
Published string `json:"published,omitempty" description:"publication date the backend reports; empty when it reports none"`
}
Click to show internal directories.
Click to hide internal directories.