update vendor and use single static

This commit is contained in:
deepzz0
2017-07-08 21:54:39 +08:00
parent da7b726e8d
commit 3ff5977941
312 changed files with 70988 additions and 77 deletions

View File

@@ -0,0 +1,19 @@
package main
import (
"log"
"github.com/gin-gonic/autotls"
"github.com/gin-gonic/gin"
)
func main() {
r := gin.Default()
// Ping handler
r.GET("/ping", func(c *gin.Context) {
c.String(200, "pong")
})
log.Fatal(autotls.Run(r, "example1.com", "example2.com"))
}