Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAutoTlS ¶
func WithAutoTlS(domains []string, opts ...Option) []http.ServerOption
Types ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
func WithEmail ¶
WithEmail Email optionally specifies a contact email address. This is used by CAs, such as Let's Encrypt, to notify about problems with issued certificates.
func WithRenewBefore ¶
WithRenewBefore RenewBefore optionally specifies how early certificates should be renewed before they expire. If zero , they're renewed 30 days before expiration.
Click to show internal directories.
Click to hide internal directories.