Files
slinky/internal/web/types.go
2025-09-11 15:59:53 +00:00

30 lines
434 B
Go

package web
import "time"
type Result struct {
URL string
OK bool
Status int
Err error
ErrMsg string
Depth int
CacheHit bool
Method string
ContentType string
Sources []string
}
type Stats struct {
Pending int
Processed int
}
type Config struct {
MaxDepth int
MaxConcurrency int
RequestTimeout time.Duration
MaxRetries429 int
Exclude []string
}