vc

package
v0.31.58 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CredDefFromLedger

func CredDefFromLedger(DID, credDefID string) (cd string, err error)

Types

type Schema

type Schema struct {
	ID      string        `json:"id,omitempty"`      // ID from Indy/Ledger
	Name    string        `json:"name,omitempty"`    // name of the schema
	Version string        `json:"version,omitempty"` // version number in string
	Attrs   []string      `json:"attrs,omitempty"`   // attribute string list
	Stored  *async.Future `json:"-"`                 // info from ledger
}

func (*Schema) Create

func (s *Schema) Create(DID string) (err error)

func (*Schema) FromLedger

func (s *Schema) FromLedger(DID string) (err error)

func (*Schema) LazySchema

func (s *Schema) LazySchema() string

func (*Schema) ToLedger

func (s *Schema) ToLedger(wallet int, DID string) error

func (*Schema) ValidID

func (s *Schema) ValidID() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL