Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateRequest ¶
type CertificateRequest struct {
Domain string `json:"domain"`
}
CertificateRequest represents a certificate request
type CertificateResponse ¶
type CertificateResponse struct {
Domain string `json:"domain"`
Certificate string `json:"certificate"`
PrivateKey string `json:"privateKey"`
IssuerCert string `json:"issuerCert,omitempty"`
NotBefore time.Time `json:"notBefore"`
NotAfter time.Time `json:"notAfter"`
Cached bool `json:"cached"`
}
CertificateResponse represents a certificate response
type NewServerOpts ¶
type NewServerOpts struct {
AppMetrics *metrics.AppMetrics
TraceProvider *trace.TracerProvider
Manager certmanager.CertManager
Authenticator auth.Authenticator
Storage *storage.Storage
TSNetServer *tsnetserver.TSNetServer
}
NewServerOpts contains options for the NewServer method
Click to show internal directories.
Click to hide internal directories.