Documentation
¶
Index ¶
- func NewAutocertLoader(_, instName string, _, inlineArgs []string) (module.Module, error)
- func NewFileLoader(_, instName string, _, inlineArgs []string) (module.Module, error)
- func NewSelfSignedLoader(_, instName string, _, inlineArgs []string) (module.Module, error)
- type AutocertLoader
- type FileLoader
- type SelfSignedLoader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAutocertLoader ¶ added in v0.18.0
func NewFileLoader ¶
Types ¶
type AutocertLoader ¶ added in v0.18.0
type AutocertLoader struct {
// contains filtered or unexported fields
}
AutocertLoader implements module.TLSLoader using golang.org/x/crypto/acme/autocert. It obtains and automatically renews Let's Encrypt certificates using the HTTP-01 challenge. This requires port 80 to be available for the ACME challenge handler.
func (*AutocertLoader) ConfigureTLS ¶ added in v0.18.0
func (l *AutocertLoader) ConfigureTLS(c *tls.Config) error
func (*AutocertLoader) InstanceName ¶ added in v0.18.0
func (l *AutocertLoader) InstanceName() string
func (*AutocertLoader) Name ¶ added in v0.18.0
func (l *AutocertLoader) Name() string
type FileLoader ¶
type FileLoader struct {
// contains filtered or unexported fields
}
func (*FileLoader) Close ¶
func (f *FileLoader) Close() error
func (*FileLoader) ConfigureTLS ¶
func (f *FileLoader) ConfigureTLS(c *tls.Config) error
func (*FileLoader) InstanceName ¶
func (f *FileLoader) InstanceName() string
func (*FileLoader) Name ¶
func (f *FileLoader) Name() string
type SelfSignedLoader ¶
type SelfSignedLoader struct {
// contains filtered or unexported fields
}
func (*SelfSignedLoader) ConfigureTLS ¶
func (f *SelfSignedLoader) ConfigureTLS(c *tls.Config) error
func (*SelfSignedLoader) InstanceName ¶
func (f *SelfSignedLoader) InstanceName() string
func (*SelfSignedLoader) Name ¶
func (f *SelfSignedLoader) Name() string
Click to show internal directories.
Click to hide internal directories.