remove thirdparty diectory, add go.mod for package dependences

This commit is contained in:
John
2019-08-01 14:07:25 +08:00
parent 29ea9e3237
commit 06c16bf560
1330 changed files with 111 additions and 535234 deletions

View File

@ -0,0 +1,16 @@
package main
import (
"github.com/gogf/gf/net/ghttp"
)
func main() {
s := ghttp.GetServer()
s.BindHandler("/", func(r *ghttp.Request) {
r.Response.Writeln("来自于HTTPS的哈喽世界")
})
s.EnableHTTPS("./server.crt", "./server.key")
s.SetAccessLogEnabled(true)
s.SetPort(8199)
s.Run()
}