Documentation ¶
Index ¶
- type Config
- type FrostFSID
- func (f *FrostFSID) GetUserAddress(namespace, name string) (string, error)
- func (f *FrostFSID) GetUserGroupIDs(userHash util.Uint160) ([]string, error)
- func (f *FrostFSID) GetUserKey(account, name string) (string, error)
- func (f *FrostFSID) RegisterPublicKey(ns string, key *keys.PublicKey) error
- func (f *FrostFSID) ValidatePublicKey(key *keys.PublicKey) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // RPCAddress is an endpoint to connect to neo rpc. RPCAddress string // Contract is hash of contract or its name in NNS. Contract string // ProxyContract is hash of proxy contract or its name in NNS to interact with frostfsid. ProxyContract string // Key is used to interact with frostfsid contract. // If this is nil than random key will be generated. Key *keys.PrivateKey }
type FrostFSID ¶
type FrostFSID struct {
// contains filtered or unexported fields
}
func (*FrostFSID) GetUserAddress ¶
func (*FrostFSID) GetUserGroupIDs ¶
func (*FrostFSID) RegisterPublicKey ¶
Click to show internal directories.
Click to hide internal directories.