Documentation
¶
Index ¶
- func MustNew(opts ...Option) tlscert.ServerCertsSource
- func New(opts ...Option) (tlscert.ServerCertsSource, error)
- type Option
- func WithClientAuthFile(clientAuthFile string) Option
- func WithClientCRLFile(clientCRLFile string) Option
- func WithKeyPassword(keyPassword string) Option
- func WithLogger(logger *slog.Logger) Option
- func WithNotifyFunc(notifyFunc func()) Option
- func WithRefresh(refresh time.Duration) Option
- func WithX509KeyPair(certFile, keyFile string) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustNew ¶
func MustNew(opts ...Option) tlscert.ServerCertsSource
Types ¶
type Option ¶
type Option func(*fileSource)
func WithClientAuthFile ¶
func WithClientCRLFile ¶
func WithKeyPassword ¶ added in v0.0.6
func WithLogger ¶
func WithNotifyFunc ¶
func WithNotifyFunc(notifyFunc func()) Option
func WithRefresh ¶
func WithX509KeyPair ¶
Click to show internal directories.
Click to hide internal directories.