| 1 |
package handlers |
| 2 |
|
| 3 |
import ( |
| 4 |
"net/http" |
| 5 |
) |
| 6 |
|
| 7 |
func HomeHandler(w http.ResponseWriter, r *http.Request) { |
| 8 |
|
| 9 |
http.Redirect(w, r, |
| 10 |
"https://coreos.com/docs/cluster-management/setup/cluster-discovery/", |
| 11 |
http.StatusMovedPermanently, |
| 12 |
) |
| 13 |
} |