Documentation ¶
Index ¶
- func AppendFile(fileName string, zipw *zip.Writer) error
- func AskInput(Message string, PageSize int) (string, error)
- func AskMultiSelect(Message string, Options []string) ([]string, error)
- func AskSelect(Message string, Options []string) (string, error)
- func CountPemBlock(bytes []byte) int
- func CrtToCertificate(FileName string, bytes []byte) error
- func DistinguishCertificate(p *Pem, _ *CertFile, pemBlockCount int) (string, error)
- func DistinguishCertificateWithConnection(cert *x509.Certificate) string
- func DownloadCertificate(url string, out string) error
- func GetCertExtension(c *CertFile) string
- func GetCertificate(domain, ip string) error
- func GetCertificateInfo(ip string, domain string) error
- func GetHost(domainName string) error
- func GetRecordIPv4(domainName string) ([]string, error)
- func GetSubjectCNandIssuerCN(pem *pem.Block) ([]string, error)
- func ParsingYaml(yamlObject *RootYaml) error
- func PrintFunc(field, value string)
- func PrintSplitFunc(field, value string)
- func PrivateToRsaPrivate(newFileName string, pemBlock *pem.Block) error
- func SetCertExtension(c *CertFile, file string)
- func SetTransport(domainName, ip string) http.Transport
- func UnZip(targetDirectory, newFileName string) error
- type Answer
- type AnswerList
- type CertFile
- type Connection
- type ExtensionX509
- type ExtensionZip
- type Md5
- type Metadata
- type Pem
- type ReturnType
- type RootYaml
- type Wrapper
- type YamlData
- type ZipFile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CountPemBlock ¶ added in v1.0.0
func CrtToCertificate ¶ added in v1.3.4
func DistinguishCertificate ¶
func DistinguishCertificateWithConnection ¶ added in v1.3.1
func DistinguishCertificateWithConnection(cert *x509.Certificate) string
func DownloadCertificate ¶ added in v1.3.3
func GetCertExtension ¶
func GetCertificate ¶ added in v1.3.1
func GetCertificateInfo ¶ added in v1.0.3
func GetRecordIPv4 ¶ added in v1.0.5
func GetSubjectCNandIssuerCN ¶ added in v1.4.6
func ParsingYaml ¶ added in v1.3.3
func PrintSplitFunc ¶ added in v1.0.0
func PrintSplitFunc(field, value string)
func PrivateToRsaPrivate ¶ added in v1.0.5
func SetCertExtension ¶
func SetTransport ¶ added in v1.0.3
Types ¶
type AnswerList ¶
type AnswerList struct {
Name []string
}
type CertFile ¶
func DirGrepX509 ¶ added in v1.0.4
type Connection ¶ added in v1.0.3
type Connection struct {
// contains filtered or unexported fields
}
type ExtensionX509 ¶ added in v1.0.4
type ExtensionX509 struct {
// contains filtered or unexported fields
}
type ExtensionZip ¶ added in v1.0.4
type ExtensionZip struct {
// contains filtered or unexported fields
}
type Pem ¶
func GetPemType ¶
type ReturnType ¶
type ReturnType interface { Answer | AnswerList }
type YamlData ¶ added in v1.3.1
type YamlData struct { LastModified int `yaml:"lastModified"` Metadata []Metadata `yaml:"metadata"` }
func (YamlData) GetNameListOwnURL ¶ added in v1.3.3
func (YamlData) GetURLListOwnURL ¶ added in v1.3.3
Click to show internal directories.
Click to hide internal directories.