responses

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Certificates

type Certificates struct {
	TotalCount     int64    `json:"total_count"`
	ResultCount    int64    `json:"result_count"`
	Page           string   `json:"page"`
	Limit          int64    `json:"limit"`
	ACMEUsageLevel string   `json:"acmeUsageLevel"`
	ACMELocked     bool     `json:"acmeLocked"`
	Results        []Result `json:"results"`
}

func UnmarshalCertificates

func UnmarshalCertificates(data []byte) (Certificates, error)

func (*Certificates) Marshal

func (r *Certificates) Marshal() ([]byte, error)

type EmailValidation

type EmailValidation struct {
	FedeCOM []string `json:"fede.com"`
}

type OtherMethod

type OtherMethod struct {
	FileValidationURLHTTP  string   `json:"file_validation_url_http"`
	FileValidationURLHTTPS string   `json:"file_validation_url_https"`
	FileValidationContent  []string `json:"file_validation_content"`
	CnameValidationP1      string   `json:"cname_validation_p1"`
	CnameValidationP2      string   `json:"cname_validation_p2"`
}

type Result

type Result struct {
	ID                string      `json:"id"`
	Type              string      `json:"type"`
	CommonName        string      `json:"common_name"`
	AdditionalDomains string      `json:"additional_domains"`
	Created           string      `json:"created"`
	Expires           string      `json:"expires"`
	Status            string      `json:"status"`
	ValidationType    interface{} `json:"validation_type"`
	ValidationEmails  interface{} `json:"validation_emails"`
	ReplacementFor    string      `json:"replacement_for"`
	FingerprintSha1   interface{} `json:"fingerprint_sha1"`
	BrandValidation   interface{} `json:"brand_validation"`
	Validation        Validation  `json:"validation"`
}

type Validation

type Validation struct {
	EmailValidation EmailValidation        `json:"email_validation"`
	OtherMethods    map[string]OtherMethod `json:"other_methods"`
}

Jump to

Keyboard shortcuts

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