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

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 
主站蜘蛛池模板: 探索| 上栗县| 伊吾县| 宜春市| 博兴县| 鹤壁市| 永定县| 阜阳市| 阿巴嘎旗| 桃园县| 巴马| 丁青县| 茶陵县| 溧阳市| 古交市| 宜春市| 海原县| 邮箱| 松滋市| 仲巴县| 望都县| 洪湖市| 巴中市| 阳高县| 阿城市| 广元市| 满洲里市| 哈尔滨市| 罗源县| 于都县| 辽中县| 郑州市| 大丰市| 永济市| 睢宁县| 利津县| 井研县| 军事| 孝义市| 繁昌县| 同江市|