Documentation ¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DIDCommV2Endpoint ¶
type DIDCommV2Endpoint = endpoint.DIDCommV2Endpoint
DIDCommV2Endpoint contains ServiceEndpoint data specifically for DIDcommV2 and is wrapped in Endpoint as an array.
type Endpoint ¶
Endpoint contains endpoint specific content. Content of ServiceEndpoint api above will be used by priority: 1- DIDcomm V2 2- DIDComm V1 3- DIDCore To force lower priority endpoint content, avoid setting higher priority data during Unmarshal() execution.
func NewDIDCommV1Endpoint ¶
NewDIDCommV1Endpoint creates a DIDCommV1 endpoint.
func NewDIDCommV2Endpoint ¶
func NewDIDCommV2Endpoint(endpoints []DIDCommV2Endpoint) Endpoint
NewDIDCommV2Endpoint creates a DIDCommV2 endpoint with the given array of endpoints. At the time of writing this comment, only the first endpoint is effective in the API. Additional logic is required to use a different index.
func NewDIDCoreEndpoint ¶
func NewDIDCoreEndpoint(genericEndpoint interface{}) Endpoint
NewDIDCoreEndpoint creates a generic DIDCore endpoint.
type ServiceEndpoint ¶
type ServiceEndpoint = endpoint.ServiceEndpoint
ServiceEndpoint api for fetching ServiceEndpoint content based off of a DIDComm V1, V2 or DIDCore format.