Skip to content

Commit fdb7438

Browse files
committed
#avmxf - Adapter Doc output format
1 parent c75e915 commit fdb7438

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

adapter/basicadapters.go

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ import (
99
oct "github.com/rapidclock/web-octopus/octopus"
1010
)
1111

12-
// StdOpAdapter is an output adapter that just prints the output onto the screen.
12+
// StdOpAdapter is an output adapter that just prints the output onto the
13+
// screen.
14+
//
15+
// Sample Output Format is:
16+
// LinkNum - Depth - Url
1317
type StdOpAdapter struct{}
1418

1519
func (s *StdOpAdapter) Consume() *oct.NodeChSet {
@@ -36,7 +40,10 @@ func (s *StdOpAdapter) Consume() *oct.NodeChSet {
3640
return listenChSet
3741
}
3842

39-
// FileWriterAdapter is an output adapter that writes the output to a specified file.
43+
// FileWriterAdapter is an output adapter that writes the output to a
44+
// specified file.
45+
// Sample Output Format is:
46+
// Depth - Url
4047
type FileWriterAdapter struct {
4148
FilePath string
4249
}

0 commit comments

Comments
 (0)