net/http/httptest.Server.certificate (field)
4 uses
net/http/httptest (current package)
server.go#L45: certificate *x509.Certificate
server.go#L168: s.certificate, err = x509.ParseCertificate(s.TLS.Certificates[0].Certificate[0])
server.go#L173: certpool.AddCert(s.certificate)
server.go#L294: return s.certificate
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |