updated Update() doc

This commit is contained in:
BroodjeAap 2020-07-09 19:59:39 +00:00
parent 0583189645
commit a0ae04c494

View file

@ -35,7 +35,7 @@ func NewStream(URL string) Stream {
return stream
}
// Update calls itself every Interval milliseconds
// Update gets called by UpdateInterval Interval milliseconds to fetch the latest instant
func (s Stream) Update() {
log.Print("Update:", s.URL)
resp, err := http.Get(s.URL)