Versions in this module Expand all Collapse all v1 v1.0.1 May 10, 2021 v1.0.0 May 9, 2021 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 EnableCORS(b bool) Option + func EnableTLS(b bool) Option + func TLSConfig(t *tls.Config) Option + type Options struct + ACMEHosts []string + ACMEProvider acme.Provider + EnableACME bool + EnableCORS 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 Incompatible versions in this module v2.3.0+incompatible May 9, 2021