neofsid

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientWrapper

type ClientWrapper neofsid.Client

ClientWrapper is a wrapper over NeoFS ID contract client which provides convenient methods for working with a contract.

Working ClientWrapper must be created via Wrap.

func Wrap

func Wrap(c *neofsid.Client) *ClientWrapper

Wrap creates, initializes and returns the ClientWrapper instance.

If c is nil, panic occurs.

func (*ClientWrapper) AccountKeys

func (x *ClientWrapper) AccountKeys(id *owner.ID) (keys.PublicKeys, error)

AccountKeys requests public keys of NeoFS account from NeoFS ID contract.

Jump to

Keyboard shortcuts

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