Documentation
¶
Index ¶
- type Client
- func (c *Client) SetTLSConfig(config *tls.Config) *Client
- func (c *Client) SetTimeout(timeout time.Duration) *Client
- func (c *Client) UpdateCertificate(certId int64, req *UpdateCertificateRequest) (*UpdateCertificateResponse, error)
- func (c *Client) UpdateCertificateWithContext(ctx context.Context, certId int64, req *UpdateCertificateRequest) (*UpdateCertificateResponse, error)
- type Options
- type OptionsFunc
- type UpdateCertificateRequest
- type UpdateCertificateResponse
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) UpdateCertificate ¶
func (c *Client) UpdateCertificate(certId int64, req *UpdateCertificateRequest) (*UpdateCertificateResponse, error)
func (*Client) UpdateCertificateWithContext ¶
func (c *Client) UpdateCertificateWithContext(ctx context.Context, certId int64, req *UpdateCertificateRequest) (*UpdateCertificateResponse, error)
type OptionsFunc ¶ added in v0.4.25
type OptionsFunc func(*Options)
func WithLogins ¶ added in v0.4.25
func WithLogins(username, password string) OptionsFunc
type UpdateCertificateResponse ¶
type UpdateCertificateResponse struct {
// contains filtered or unexported fields
}
func (*UpdateCertificateResponse) GetMessage ¶
func (r *UpdateCertificateResponse) GetMessage() string
Click to show internal directories.
Click to hide internal directories.