//
pkg.gl
Category
github.com/forceu/gokapi
internal
webserver
ssl
package
1.9.1
Repository:
https://github.com/forceu/gokapi.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
19
Dependents
2
Files
119 SLOC
#
Functions
GenerateIfInvalidCert
GenerateIfInvalidCert checks validity of the SSL certificate and generates a new one if none is present or if it is expired.
GetCertificateLocations
GetCertificateLocations returns the filepath of the public certificate and private key.