Add some conifguration and logging for the hub
This commit is contained in:
14
appconfig/endpoints.go
Normal file
14
appconfig/endpoints.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package appconfig
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
func handleAuthzConfig(w http.ResponseWriter, req *http.Request) {
|
||||
headers := w.Header()
|
||||
headers.Set("content-type", "text/plain")
|
||||
|
||||
w.WriteHeader(http.StatusOK)
|
||||
fmt.Fprintf(w, "hello, world")
|
||||
}
|
||||
Reference in New Issue
Block a user