Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GinHandler ¶
Types ¶
type CertData ¶
type CertData struct {
ftp_filehandler.FileBasic
Organization string `json:"organisation"`
Country string `json:"country"`
Province string `json:"province"`
Locality string `json:"locality"`
StreetAddress string `json:"street_address"`
PostalCode string `json:"postal_code"`
NotAfter NotAfterStruct `json:"add_date"`
IPAddrresses []net.IP `json:"ip_addresses"`
}
type CertSetup ¶
type CertSetup struct {
ftp_filehandler.FileBasic
CertData *CertData `json:"cert_data"`
PrivKey *rsa.PrivateKey `json:"private_key"`
PEM *bytes.Buffer `json:"pem"`
PrivKeyPEM *bytes.Buffer `json:"private_key_pem"`
TlsCert tls.Certificate `json:"tls_cert"`
// contains filtered or unexported fields
}
func (CertSetup) NewServerCert ¶
func (CertSetup) ServerTlsConfig ¶
func (CertSetup) UnderlyingError ¶
type NotAfterStruct ¶
Click to show internal directories.
Click to hide internal directories.