forked from mamu/spacepanel_aggregator
14 lines
153 B
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)
|
||
|
}
|
||
|
}
|