官术网_书友最值得收藏!

RedirectHandler

The RedirectHandler function returns a request handler that redirects each request it receives to the given URI using the given status code. The provided code should be in the 3xx range and is usually StatusMovedPermanently, StatusFound, or StatusSeeOther:

func RedirectHandler(url string, code int) Handler 
主站蜘蛛池模板: 长沙市| 尉犁县| 池州市| 垣曲县| 印江| 宕昌县| 宜城市| 洪洞县| 沿河| 黔江区| 确山县| 锦州市| 屯昌县| 五台县| 鹤山市| 当雄县| 苏州市| 甘谷县| 上林县| 漯河市| 东兰县| 临夏市| 五台县| 饶河县| 景德镇市| 双江| 安吉县| 平阴县| 义马市| 新宁县| 定边县| 山东| 建德市| 崇礼县| 冕宁县| 平乐县| 顺昌县| 霍邱县| 尤溪县| 海城市| 昔阳县|