restclient

package
v0.0.0-...-3a93896 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2022 License: MIT Imports: 8 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL