add Updateboltcard()

This commit is contained in:
Peter Rounce 2023-02-22 08:11:52 +00:00
parent 0300a5aa30
commit dadc76f0d3
8 changed files with 66 additions and 49 deletions

12
internalapi/ping.go Normal file
View file

@ -0,0 +1,12 @@
package internalapi
import (
"net/http"
)
func Internal_ping(w http.ResponseWriter, req *http.Request) {
w.Header().Set("Content-Type", "application/json")
w.WriteHeader(http.StatusOK)
jsonData := []byte(`{"status":"OK","pong":"internal API"}`)
w.Write(jsonData)
}