mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-08 13:39:53 +00:00
12 lines
281 B
Go
12 lines
281 B
Go
package cachefly
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
func (c *Client) CreateCertificate(req *CreateCertificateRequest) (*CreateCertificateResponse, error) {
|
|
resp := &CreateCertificateResponse{}
|
|
err := c.sendRequestWithResult(http.MethodPost, "/certificates", req, resp)
|
|
return resp, err
|
|
}
|