spacepanel_aggregator/httppoll.go

14 lines
153 B
Go
Raw Normal View History

2020-01-30 23:24:19 +00:00
package spacepanel_aggregator
import (
"fmt"
"time"
)
func Poll(url string) {
for true {
fmt.Println("Polling", url)
time.Sleep(sleeptime)
}
}