Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseLongForm ¶
func ParseLongForm(uri string) (SuffixData, Delta, error)
Types ¶
type Create ¶
type Create struct { Operation SuffixData SuffixData `json:"suffixData"` Delta Delta `json:"delta"` }
func CreateOperation ¶
func CreateOperation(suffixData SuffixData, delta Delta) Create
func (Create) EncodedSuffixData ¶
type Deactivate ¶
func DeactivateOperation ¶
func DeactivateOperation(suffix, reveal, signature string) Deactivate
type SuffixData ¶
type SuffixData struct { Type string `json:"type,omitempty"` DeltaHash string `json:"deltaHash"` RecoveryCommitment string `json:"recoveryCommitment"` AnchorOrigin string `json:"anchorOrigin,omitempty"` }
func (SuffixData) URI ¶
func (s SuffixData) URI() (string, error)
type Update ¶
func UpdateOperation ¶
Click to show internal directories.
Click to hide internal directories.