add Updateboltcard()
This commit is contained in:
parent
0300a5aa30
commit
dadc76f0d3
8 changed files with 66 additions and 49 deletions
12
internalapi/ping.go
Normal file
12
internalapi/ping.go
Normal 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)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue