Documentation
¶
Overview ¶
Package web provides web, proxy, and HTTP utility commands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfidenceScore ¶
ConfidenceScore measures entity preservation after optimization.
Types ¶
type ProxyConfig ¶
type ProxyConfig struct {
ListenAddr string `toml:"listen_addr"`
TargetURL string `toml:"target_url"`
ModelAliases map[string]string `toml:"model_aliases"`
TLSEnabled bool `toml:"tls_enabled"`
TLSCertFile string `toml:"tls_cert_file"`
TLSKeyFile string `toml:"tls_key_file"`
Enabled bool `toml:"enabled"`
}
ProxyConfig holds proxy server configuration.
type URLEntityProtection ¶
type URLEntityProtection struct {
// contains filtered or unexported fields
}
URLEntityProtection protects critical entities during HTML stripping.
func NewURLEntityProtection ¶
func NewURLEntityProtection() *URLEntityProtection
NewURLEntityProtection creates entity protection for tickers, dates, money.
Click to show internal directories.
Click to hide internal directories.