{"modulePath":"github.com/runware/runware-cli","version":"v1.3.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package http\n\n## Functions\n\n```go\nfunc Download(ctx context.Context, url, destPath string, timeout time.Duration) error\n```\nDownload fetches url and writes the response body to destPath atomically: it streams into a temporary file and renames it to destPath on success, so a failed download never leaves a partial file behind.\n\n","path":"github.com/runware/runware-cli/internal/http","name":"http","synopsis":"","isRedistributable":true}
