This repository has been archived on 2021-09-02. You can view files and clone it, but cannot push or open issues or pull requests.
my-bloody-hetzner-sb-notifier/hetzner/endpoint.go
Mahmoud Rahbar Azad 5d5c779b43
some clean up
added Makefile
2018-10-25 21:18:45 +02:00

12 lines
230 B
Go

package hetzner
import (
"fmt"
"time"
)
const hetznerlivedataurl = "https://www.hetzner.de/a_hz_serverboerse/live_data.json"
func MakeURL() string {
return fmt.Sprintf("%s?m=%v", hetznerlivedataurl, time.Now().UnixNano())
}