Discover Packages
github.com/findy-network/findy-wrapper-go
pairwise
package
Version:
v0.30.75
Opens a new window with list of versions in this module.
Published: May 22, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package pairwise is corresponding Go package for libindy's pairwise namespace.
We suggest that you read indy SDK documentation for more information.
Create creates a new pairwise to wallet with the argumets.
Exists returns true if pairwise exists in the wallet.
Get returns a pairwise data with their DID.
List lists lists all of the pairwise in the wallet.
SetMeta sets the meta data for their DID.
type Data struct {
MyDid string `json:"my_did,omitempty"`
TheirDid string `json:"their_did,omitempty"`
Metadata string `json:"metadata,omitempty"`
}
Data is a pairwise data saved to indy wallet.
NewData creates a pairwise data from a string returned by indy pairwise
function. Note! The indy's string is buggy, that's why this function removes
unnecessary \ characters from it before JSON unmarshal.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.