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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustNew

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

func New

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

Types

type Option

type Option func(*fileSource)

func WithClientCert

func WithClientCert(certFile, keyFile string) Option

func WithClientRootCAs

func WithClientRootCAs(rootCAsFile string) Option

func WithInsecureSkipVerify

func WithInsecureSkipVerify(insecureSkipVerify bool) 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 WithSystemPool added in v0.0.8

func WithSystemPool(useSystemPool bool) Option

Jump to

Keyboard shortcuts

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