Migrating from git.apache.org/thrift.git to github.com/apache/thrift

This commit is contained in:
Renan DelValle 2019-02-19 11:59:34 -08:00
parent 5443a86d12
commit 9aebf09699
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
6 changed files with 21 additions and 5 deletions

16
coordinated_server.go Normal file
View file

@ -0,0 +1,16 @@
package realis
import (
"fmt"
"log"
"net/http"
)
func handler(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, `{"roll_forward":true}`)
}
func Run_server() {
http.HandleFunc("/aurora-update", handler)
log.Fatal(http.ListenAndServe(":8080", nil))
}