internal

package
v0.0.0-...-b803a98 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecCmd

func ExecCmd(command string) error

ExecCmd is used to run the reload hook

func ExportCertificateFile

func ExportCertificateFile(conf *Config, domainName string, cert *certmagic.Certificate) error

ExportCertificateFile saves certs to file

func ExportKeyFile

func ExportKeyFile(conf *Config, domainName string, cert *certmagic.Certificate) error

ExportKeyFile saves a private key to file

func HashCertificates

func HashCertificates(certificates [][]byte) (string, error)

HashCertificates blabla

func HashFile

func HashFile(conf *Config, domainName string, isCert bool) (string, error)

HashFile blabla

Types

type Config

type Config struct {
	DomainNames  []string
	Path         string
	Staging      bool
	ForceRenewal bool
	Email        string
	BucketName   string
	BucketRegion string
	Hook         string
}

Config for cli

Jump to

Keyboard shortcuts

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