Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CreateCertificate ¶
func (c *Client) CreateCertificate(req *CreateCertificateRequest) (*CreateCertificateResponse, error)
func (*Client) CreateCertificateWithContext ¶
func (c *Client) CreateCertificateWithContext(ctx context.Context, req *CreateCertificateRequest) (*CreateCertificateResponse, error)
type CreateCertificateResponse ¶
type CreateCertificateResponse struct {
Id string `json:"_id"`
SubjectCommonName string `json:"subjectCommonName"`
SubjectNames []string `json:"subjectNames"`
Expired bool `json:"expired"`
Expiring bool `json:"expiring"`
InUse bool `json:"inUse"`
Managed bool `json:"managed"`
Services []string `json:"services"`
Domains []string `json:"domains"`
NotBefore string `json:"notBefore"`
NotAfter string `json:"notAfter"`
CreatedAt string `json:"createdAt"`
// contains filtered or unexported fields
}
func (*CreateCertificateResponse) GetMessage ¶
func (r *CreateCertificateResponse) GetMessage() string
Click to show internal directories.
Click to hide internal directories.