replace zxq.co/ripple/hanayo

This commit is contained in:
Alicia
2019-02-23 13:29:15 +00:00
commit c3d206c173
5871 changed files with 1353715 additions and 0 deletions

21
vendor/github.com/osuripple/cheesegull/api/index.go generated vendored Normal file
View File

@@ -0,0 +1,21 @@
package api
import (
"expvar"
)
func index(c *Context) {
c.WriteHeader("Content-Type", "text/plain; charset=utf-8")
c.Write([]byte("CheeseGull v2.x Woo\nFor more information: https://github.com/osuripple/cheesegull"))
}
var _evh = expvar.Handler()
func expvarHandler(c *Context) {
_evh.ServeHTTP(c.writer, c.Request)
}
func init() {
GET("/", index)
GET("/expvar", expvarHandler)
}