Server{ Addr: ":https", TLSConfig: &tls.Config{GetCertificate: m.GetCertificate}, Handler: r, } s.ListenAndServeTLS("", "") } ...
確定! 回上一頁