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

Struct CertContainer

main.go:132–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132type CertContainer struct {
133 CertPEM []byte
134 KeyPEM []byte
135 CertWatcher *fswatch.Watcher
136 KeyWatcher *fswatch.Watcher
137 Cert tls.Certificate
138}
139
140func NewCertContainer() (*CertContainer, error) {
141 CertPEM, err := os.ReadFile(certPath)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected