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

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 
主站蜘蛛池模板: 青龙| 舞阳县| 鹿泉市| 青田县| 福安市| 西城区| 沛县| 西藏| 靖安县| 和顺县| 昂仁县| 揭东县| 长乐市| 曲阳县| 蒲城县| 逊克县| 彭水| 桂阳县| 黑龙江省| 唐海县| 元阳县| 托克托县| 贞丰县| 巴彦县| 邵东县| 买车| 建阳市| 明光市| 商水县| 太原市| 河源市| 镇雄县| 长武县| 山西省| 鄂托克旗| 团风县| 赤水市| 五家渠市| 南宫市| 扎囊县| 城口县|