Documentation ¶
Index ¶
- type FileCertGetter
- func (fcg FileCertGetter) CaddyModule() caddy.ModuleInfo
- func (fcg FileCertGetter) GetCertificate(ctx context.Context, hello *tls.ClientHelloInfo) (*tls.Certificate, error)
- func (fcg *FileCertGetter) Provision(ctx caddy.Context) error
- func (fcg *FileCertGetter) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileCertGetter ¶
type FileCertGetter struct { // The path to file with domain-certificate dictionary. Required. Path string `json:"path,omitempty"` // contains filtered or unexported fields }
FileCertGetter can get a certificate via file.
func (FileCertGetter) CaddyModule ¶
func (fcg FileCertGetter) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
func (FileCertGetter) GetCertificate ¶
func (fcg FileCertGetter) GetCertificate(ctx context.Context, hello *tls.ClientHelloInfo) (*tls.Certificate, error)
func (*FileCertGetter) Provision ¶
func (fcg *FileCertGetter) Provision(ctx caddy.Context) error
func (*FileCertGetter) UnmarshalCaddyfile ¶
func (fcg *FileCertGetter) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
UnmarshalCaddyfile deserializes Caddyfile tokens into ts.
... file <path>
Click to show internal directories.
Click to hide internal directories.