Migrating from git.apache.org/thrift.git to github.com/apache/thrift
This commit is contained in:
parent
5443a86d12
commit
9aebf09699
6 changed files with 21 additions and 5 deletions
16
coordinated_server.go
Normal file
16
coordinated_server.go
Normal 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))
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue