Documentation
¶
Overview ¶
Package web provides a compiled skill for web content extraction and analysis.
Index ¶
Constants ¶
View Source
const ( // SkillName is the name of the web skill. SkillName = "web" // DefaultTimeout is the default HTTP timeout. DefaultTimeout = 30 * time.Second // DefaultMaxSize is the default maximum response size (5MB). DefaultMaxSize = 5 * 1024 * 1024 // DefaultUserAgent is the default user agent string. DefaultUserAgent = "OmniAgent/1.0 (Web Skill)" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Timeout is the HTTP request timeout.
Timeout time.Duration
// MaxSize is the maximum response size in bytes.
MaxSize int64
// UserAgent is the user agent string for requests.
UserAgent string
}
Config configures the web skill.
Click to show internal directories.
Click to hide internal directories.