Documentation
¶
Index ¶
- type Client
- func (client *Client) DisableSSLVerification()
- func (client *Client) GetAnchor(anchorID string) (*woleetapi.Anchor, error)
- func (client *Client) GetAnchors(page int, size int, direction string, sort string) (*woleetapi.Anchors, error)
- func (client *Client) GetReceipt(anchorID string) ([]byte, error)
- func (client *Client) GetReceiptToFile(anchorID string, outputPath string) error
- func (client *Client) GetServerConfig() (*idserver.ConfigDisco, error)
- func (client *Client) GetSignature(hashToSign string, pubKey string, integratedSignature bool) (*idserver.SignatureResult, error)
- func (client *Client) GetUser() (*idserver.UserDisco, error)
- func (client *Client) GetUserDiscoFromPubkey(pubKey string) (*idserver.UserDisco, error)
- func (client *Client) ListKeysFromUserID(userID string) (*[]idserver.KeyGet, error)
- func (client *Client) PostAnchor(anchor *woleetapi.Anchor) (*woleetapi.Anchor, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { BaseURL string RestyClient *resty.Client }
func GetNewClient ¶
func (*Client) DisableSSLVerification ¶
func (client *Client) DisableSSLVerification()
func (*Client) GetAnchors ¶
func (*Client) GetReceiptToFile ¶
func (*Client) GetServerConfig ¶
func (client *Client) GetServerConfig() (*idserver.ConfigDisco, error)
func (*Client) GetSignature ¶
func (*Client) GetUserDiscoFromPubkey ¶
func (*Client) ListKeysFromUserID ¶
Click to show internal directories.
Click to hide internal directories.