cmdutil

package
v2.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOrReadPin

func GetOrReadPin(s *session.Session) (string, error)

func GetOrSpendKey

func GetOrSpendKey(s *session.Session) (*mixinnet.Key, error)

func LookupAndLoadKeystore

func LookupAndLoadKeystore(name string) ([]byte, error)

Types

type Keystore

type Keystore struct {
	*mixin.Keystore
	Pin      string        `json:"pin,omitempty"`
	SpendKey *mixinnet.Key `json:"spend_key,omitempty"`
}

func DecodeKeystore

func DecodeKeystore(b []byte) (*Keystore, error)

func (*Keystore) String

func (store *Keystore) String() string

Jump to

Keyboard shortcuts

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