We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d308c28 commit d8af331Copy full SHA for d8af331
adapters/outputadapter.go adapter/outputadapter.goadapters/outputadapter.go renamed to adapter/outputadapter.go
@@ -1,4 +1,4 @@
1
-package adapters
+package adapter
2
3
import (
4
"fmt"
octopus/models.go
@@ -3,6 +3,8 @@ package octopus
"io"
5
"time"
6
+
7
+ "github.com/rapidclock/web-octopus/adapter"
8
)
9
10
// Node is used to represent each crawled link and its associated depth of crawl.
@@ -39,7 +41,7 @@ type CrawlOptions struct {
39
41
CrawlRate time.Duration
40
42
RespectRobots bool
43
IncludeBody bool
- OpAdapter OutputAdapter
44
+ OpAdapter adapter.OutputAdapter
45
}
46
47
type CrawlOutput struct {
0 commit comments