Documentation ¶ Index ¶ func SaveNewSelfSignedPEM(filename string) (*tls.Config, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func SaveNewSelfSignedPEM ¶ func SaveNewSelfSignedPEM(filename string) (*tls.Config, error) SaveNewSelfSignedPEM is sample code of how to create and store a new random self signed certificate and create a resulting tls.Config to secure http connections. Types ¶ This section is empty. Source Files ¶ View all Source files selfsigned.go Click to show internal directories. Click to hide internal directories.