2 Star 7 Fork 6

user_499098 / imgproxy

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
landing.go 516 Bytes
一键复制 编辑 原始数据 按行查看 历史
package main
import "net/http"
var landingTmpl = []byte(`
<!doctype html>
<html>
<head><title>Hey, I'm imgproxy!</title></head>
<body>
<h1>Hey, I'm imgproxy!</h1>
<p style="font-size:1.2em">You can get me here: <a href="https://github.com/imgproxy/imgproxy" target="_blank">https://github.com/imgproxy/imgproxy</a></p>
</body>
</html>
`)
func handleLanding(reqID string, rw http.ResponseWriter, r *http.Request) {
rw.Header().Set("Content-Tyle", "text/html")
rw.WriteHeader(200)
rw.Write(landingTmpl)
}
Go
1
https://gitee.com/yunwisdoms/imgproxy.git
git@gitee.com:yunwisdoms/imgproxy.git
yunwisdoms
imgproxy
imgproxy
master

搜索帮助