Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnexpectedHTTPStatus = stdErrors.New("unexpected http status")
Functions ¶
This section is empty.
Types ¶
type RESTClient ¶
type RESTClient struct {
// contains filtered or unexported fields
}
func New ¶
func New(baseURL string) *RESTClient
func (*RESTClient) IssueCertificate ¶
func (c *RESTClient) IssueCertificate(certificate req.IssueCertificate) (*resp.ViewCertificate, error)
func (*RESTClient) ViewCertificate ¶
func (c *RESTClient) ViewCertificate(certificateID string) (*resp.ViewCertificate, error)
Click to show internal directories.
Click to hide internal directories.