beego: remove app funciont & fix #590
config := tls.Config{
ClientAuth: tls.RequireAndVerifyClientCert,
Certificates: []tls.Certificate{cert},
ClientCAs: pool,
}
config.Rand = rand.Reader
beego.BeeApp.Server. TLSConfig = &config
Showing
3 changed files
with
50 additions
and
174 deletions
-
Please register or sign in to post a comment