13 lines
268 B
Go
13 lines
268 B
Go
package registrar
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
func HandleRegister(resp http.ResponseWriter, req *http.Request) {
|
|
headers := resp.Header()
|
|
headers.Set("content-type", "application/json")
|
|
resp.WriteHeader(http.StatusOK)
|
|
resp.Write([]byte(`{"status": "registered"}`))
|
|
}
|