Documentation ¶
Index ¶
- type Invitation
- type Mock
- func (m *Mock) AddAgent(agent *model.Agent) error
- func (m *Mock) Connect(a *model.Agent, strInvitation string) (id string, err error)
- func (m *Mock) Init(l model.Listener, agents []*model.Agent, archiver model.Archiver, ...)
- func (m *Mock) Invite(a *model.Agent) (result, id string, err error)
- func (m *Mock) ResumeCredentialOffer(a *model.Agent, job *model.JobInfo, accept bool) (err error)
- func (m *Mock) ResumeProofRequest(a *model.Agent, job *model.JobInfo, accept bool) (err error)
- func (m *Mock) SendMessage(a *model.Agent, connectionID, message string) (id string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Invitation ¶
type Invitation struct { ServiceEndpoint string `json:"serviceEndpoint,omitempty" faker:"url"` RecipientKeys []string `json:"recipientKeys,omitempty" faker:"-"` ID string `json:"@id,omitempty" faker:"uuid_hyphenated"` Label string `json:"label,omitempty" faker:"first_name"` Type string `json:"@type,omitempty" faker:"-"` }
type Mock ¶
type Mock struct {
// contains filtered or unexported fields
}
func (*Mock) ResumeCredentialOffer ¶
func (*Mock) ResumeProofRequest ¶
Click to show internal directories.
Click to hide internal directories.