This commit is contained in:
cubixle
2021-07-25 20:52:56 +01:00
parent 645ff9d698
commit 2ddeeea267
7 changed files with 140 additions and 10 deletions

View File

@@ -0,0 +1,23 @@
package main
import (
"log"
"github.com/cubixle/l1"
)
func main() {
r, err := l1.NewRunner(
l1.WithTarget("http://google.com"),
l1.WithRunFunc(func(target string) error {
return nil
}),
)
if err != nil {
log.Fatal(err)
}
err = r.Start()
if err != nil {
log.Fatal(err)
}
}