add http/https scheme for log of ghttp.Server; add transport setting to ignore tls cert for ghttp.Client; version updates

This commit is contained in:
John
2019-05-06 09:35:39 +08:00
parent 59ad1a9b00
commit 66e40155a9
6 changed files with 33 additions and 9 deletions

View File

@ -10,6 +10,7 @@ func main() {
r.Response.Writeln("来自于HTTPS的哈喽世界")
})
s.EnableHTTPS("./server.crt", "./server.key")
s.SetAccessLogEnabled(true)
s.SetPort(8199)
s.Run()
}