Documentation ¶
Overview ¶
Package invitation is for invitation data model. It includes the JSON struct.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶ added in v0.1.26
func Build(inv Invitation) (s string, err error)
Types ¶
type Invitation ¶
type Invitation struct { // the Image URL of the connection invitation ImageURL string `json:"imageUrl,omitempty"` // the Service endpoint of the connection invitation ServiceEndpoint string `json:"serviceEndpoint,omitempty"` // the RecipientKeys for the connection invitation RecipientKeys []string `json:"recipientKeys,omitempty"` // the ID of the connection invitation ID string `json:"@id,omitempty"` // the Label of the connection invitation Label string `json:"label,omitempty"` // the DID of the connection invitation DID string `json:"did,omitempty"` // the RoutingKeys of the connection invitation RoutingKeys []string `json:"routingKeys,omitempty"` // the Type of the connection invitation Type string `json:"@type,omitempty"` Thread *decorator.Thread `json:"~thread,omitempty"` }
Invitation model
Invitation defines DID exchange invitation message https://github.com/hyperledger/aries-rfcs/tree/master/features/0023-did-exchange#0-invitation-to-exchange
func Translate ¶ added in v0.1.26
func Translate(s string) (i Invitation, err error)
Click to show internal directories.
Click to hide internal directories.