dapp

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SearchKeyStoreFiles

func SearchKeyStoreFiles(root string, name string) (files []string)

Types

type Dapp

type Dapp struct {
	*mixin.Client
	Pin  string
	Name string
}

func New

func New(store *KeyStore) (*Dapp, error)

type KeyStore

type KeyStore struct {
	UserID     string `json:"client_id,omitempty"`
	SessionID  string `json:"session_id,omitempty"`
	PrivateKey string `json:"private_key,omitempty"`
	PinToken   string `json:"pin_token,omitempty"`
	Pin        string `json:"pin,omitempty"`
}

func LoadKeyStoreFromFile

func LoadKeyStoreFromFile(file string) (*KeyStore, error)

Jump to

Keyboard shortcuts

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