MCPcopy Create free account
hub / github.com/PuerNya/git-proxy / Update

Method Update

main.go:195–200  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

193}
194
195func (c *CertContainer) Update() {
196 Cert, err := tls.X509KeyPair(c.CertPEM, c.KeyPEM)
197 if err == nil {
198 c.Cert = Cert
199 }
200}
201
202func (c *CertContainer) Close() {
203 if c.CertWatcher != nil {

Callers 1

NewCertContainerFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected