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