mirror of
https://github.com/skidoodle/spotify-ws
synced 2025-10-09 05:22:43 +02:00
15 lines
186 B
Go
15 lines
186 B
Go
package main
|
|
|
|
import (
|
|
"net/http"
|
|
"os"
|
|
)
|
|
|
|
func main() {
|
|
resp, err := http.Get("http://localhost:3000/health")
|
|
if err != nil || resp.StatusCode != 200 {
|
|
os.Exit(1)
|
|
}
|
|
os.Exit(0)
|
|
}
|