MCPcopy
hub / github.com/caddyserver/caddy / Provision

Method Provision

modules/caddytls/certmanagers.go:40–43  ·  view source on GitHub ↗
(ctx caddy.Context)

Source from the content-addressed store, hash-verified

38}
39
40func (ts *Tailscale) Provision(ctx caddy.Context) error {
41 ts.logger = ctx.Logger()
42 return nil
43}
44
45func (ts Tailscale) GetCertificate(ctx context.Context, hello *tls.ClientHelloInfo) (*tls.Certificate, error) {
46 canGetCert, err := ts.canHazCertificate(ctx, hello)

Callers 1

Calls 1

LoggerMethod · 0.45

Tested by

no test coverage detected