Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Certificate ¶
func GenerateCert ¶
func GenerateCert(c *Config) (*Certificate, error)
GenerateCert generates cert, and private key and returns (cert, private key, error)
func GenerateCerts ¶
func GenerateCerts(c *Config, numberCerts int) ([]*Certificate, error)
GenerateCerts use all CPUs in the host to generate numberCerts concurrently
Click to show internal directories.
Click to hide internal directories.