Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultCertsPath = "./cert"
)
Variables ¶
This section is empty.
Functions ¶
func GetCertPath ¶ added in v0.4.2
func GetCertPath() string
func GetCertPool ¶
func GetCertPool(opts ...LoadOption) (*x509.CertPool, error)
Types ¶
type LoadOption ¶
type LoadOption func(*LoadOptions)
func CertPath ¶
func CertPath(path string) LoadOption
type LoadOptions ¶
type LoadOptions struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.