ssl

package
v0.0.0-...-49af19c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MODULE    = "ssl"
	RSA_BITS  = 2048
	CERT_NAME = "web_admin_cert.pem"
	KEY_NAME  = "web_admin_key.pem"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Ssl

type Ssl struct {
	SslUse    bool   `json:"sslUse"`
	SslVerify bool   `json:"sslVerify"`
	SslCert   string `json:"sslCertPath"`
	SslKey    string `json:"sslKeyPath"`
	ConfigDir string `json:"configDir"`
	Host      string `json:"host"`
	// contains filtered or unexported fields
}

func New

func New(conf *config.Configuration, log *admin_log.Log) *Ssl

func (*Ssl) Load

func (s *Ssl) Load() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL