client

package
v0.0.0-...-b2c4e65 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckCredentialRegistry

func CheckCredentialRegistry(conn *alaTypes.Connection) error

func CheckIdentityManager

func CheckIdentityManager(conn *alaTypes.Connection) error

func CheckKeystore

func CheckKeystore(conn *alaTypes.Connection) error

func CheckPublickeyRegistry

func CheckPublickeyRegistry(conn *alaTypes.Connection) error

func CheckTxOpts

func CheckTxOpts(conn *alaTypes.Connection) error

func ConnectToNetwork

func ConnectToNetwork(conn *alaTypes.Connection, nodeUrl string) error

Connects to the network

func NewClient

func NewClient(args *alaTypes.ClientConf) (*alaTypes.Connection, error)

Initializes the client that any actor interacting with the network should use. It can be: subject, issuer, or service provider. if args.NodeUrl, then the client will not connect to the network args.Keystore is not mandatory, but it is required if you want to sign JWT or tx

func SetKeystore

func SetKeystore(conn *alaTypes.Connection, ksConfig *alaTypes.KeystoreConfig) error

Set the keystore that will be used to sign the transactions and JWTs

Types

This section is empty.

Jump to

Keyboard shortcuts

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