filesource

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustNew

func MustNew(opts ...Option) tlscert.ServerCertsSource

func New

func New(opts ...Option) (tlscert.ServerCertsSource, error)

Types

type Option

type Option func(*fileSource)

func WithClientAuthFile

func WithClientAuthFile(clientAuthFile string) Option

func WithClientCRLFile

func WithClientCRLFile(clientCRLFile string) Option

func WithKeyPassword added in v0.0.6

func WithKeyPassword(keyPassword string) Option

func WithLogger

func WithLogger(logger *slog.Logger) Option

func WithNotifyFunc

func WithNotifyFunc(notifyFunc func()) Option

func WithRefresh

func WithRefresh(refresh time.Duration) Option

func WithX509KeyPair

func WithX509KeyPair(certFile, keyFile string) Option

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL