Documentation ¶
Index ¶
- type Config
- type FrostFSID
- func (f *FrostFSID) CreateSubject(namespace string, key *keys.PublicKey) (util.Uint256, uint32, error)
- func (f *FrostFSID) GetSubjectExtended(userHash util.Uint160) (*client.SubjectExtended, error)
- func (f *FrostFSID) GetSubjectKeyByName(namespace, name string) (*keys.PublicKey, error)
- func (f *FrostFSID) Wait(tx util.Uint256, vub uint32, err error) 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) CreateSubject ¶
func (*FrostFSID) GetSubjectExtended ¶
func (*FrostFSID) GetSubjectKeyByName ¶
Click to show internal directories.
Click to hide internal directories.