spacepanel_aggregator/httppoll.go

14 lines
153 B
Go

package spacepanel_aggregator
import (
"fmt"
"time"
)
func Poll(url string) {
for true {
fmt.Println("Polling", url)
time.Sleep(sleeptime)
}
}