Remember scanned URLs

This commit is contained in:
Richard Patel
2018-10-28 17:07:30 +01:00
parent c196b6f20d
commit b1c40767e0
7 changed files with 89 additions and 61 deletions

View File

@@ -5,13 +5,16 @@ import (
"net/url"
)
func main() {
func init() {
prepareConfig()
}
func main() {
readConfig()
c := context.Background()
remotes := make(chan *RemoteDir)
remotes := make(chan *OD)
go Schedule(c, remotes)
u, _ := url.Parse("http://mine.terorie.com:420/")