Documentation
¶
Index ¶
- type Client
- func (c *Client) HandleRequest(dest1, dest2 *service.Destination) error
- func (c *Client) HandleRequestWithInvitation(inv *didexchange.Invitation, dest *service.Destination) error
- func (c *Client) SendProposal(dest1, dest2 *service.Destination) error
- func (c *Client) SendProposalWithInvitation(inv *didexchange.Invitation, dest *service.Destination) error
- func (c *Client) SendRequest(dest *service.Destination) error
- type Provider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client enable access to introduce API
func (*Client) HandleRequest ¶
func (c *Client) HandleRequest(dest1, dest2 *service.Destination) error
HandleRequest executes after receiving a request (the client does not have a public Invitation)
func (*Client) HandleRequestWithInvitation ¶
func (c *Client) HandleRequestWithInvitation(inv *didexchange.Invitation, dest *service.Destination) error
HandleRequestWithInvitation executes after receiving a request when the client has a public Invitation
func (*Client) SendProposal ¶
func (c *Client) SendProposal(dest1, dest2 *service.Destination) error
SendProposal sends proposal to introducees
func (*Client) SendProposalWithInvitation ¶
func (c *Client) SendProposalWithInvitation(inv *didexchange.Invitation, dest *service.Destination) error
SendProposalWithInvitation sends proposal to introducee executes when the client has a public Invitation
func (*Client) SendRequest ¶
func (c *Client) SendRequest(dest *service.Destination) error
SendRequest sends request sending a request means that introducee is willing to share its invitation
Click to show internal directories.
Click to hide internal directories.