Golang Net Http Middleware In React