Documentation ¶ Index ¶ func Ensure(certPath string, keyPath string) func EnsureDir(dir string) func FileNames(dir string) (string, string) type Gen func (this Gen) Ensure(certPath string, keyPath string) func (this Gen) Generate(certPath string, keyPath string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Ensure ¶ func Ensure(certPath string, keyPath string) func EnsureDir ¶ func EnsureDir(dir string) func FileNames ¶ func FileNames(dir string) (string, string) Types ¶ type Gen ¶ type Gen struct { Host string Organization string ValidFrom time.Time ValidFor time.Duration IsCA any RsaBits int EcdsaCurve string // contains filtered or unexported fields } func (Gen) Ensure ¶ func (this Gen) Ensure(certPath string, keyPath string) func (Gen) Generate ¶ func (this Gen) Generate(certPath string, keyPath string) error Source Files ¶ View all Source files secret.go Click to show internal directories. Click to hide internal directories.