cert

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 19, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(certFile, keyFile string) (watch.Watcher, error)

Types

type Watch

type Watch struct {
	// contains filtered or unexported fields
}

func (*Watch) GetCertificate

func (cm *Watch) GetCertificate(*tls.ClientHelloInfo) (*tls.Certificate, error)

func (*Watch) Load

func (cm *Watch) Load() error

func (*Watch) Watch

func (cm *Watch) Watch(watcher *fsnotify.Watcher) error

Jump to

Keyboard shortcuts

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