Versions in this module Expand all Collapse all v1 v1.18.3 Feb 20, 2020 v1.18.2 Feb 20, 2020 Changes in this version + type Option func(o *Options) + func ACMEHosts(hosts ...string) Option + func ACMEProvider(p acme.Provider) Option + func EnableACME(b bool) Option + func EnableTLS(b bool) Option + func TLSConfig(t *tls.Config) Option + type Options struct + ACMEHosts []string + ACMEProvider acme.Provider + EnableACME bool + EnableTLS bool + TLSConfig *tls.Config + type Server interface + Address func() string + Handle func(path string, handler http.Handler) + Init func(opts ...Option) error + Start func() error + Stop func() error