Documentation ¶
Index ¶
- Constants
- func NewChainAdaptor(conf *config.Config) (blockchain.KeyAdaptor, error)
- type KeyAdaptor
- func (a *KeyAdaptor) GetSocialKey(ctx context.Context, req *keylocker.GetSocialKeyReq) (*keylocker.GetSocialKeyRep, error)
- func (a *KeyAdaptor) GetSupportChain(req *keylocker.SupportChainReq) (*keylocker.SupportChainRep, error)
- func (a *KeyAdaptor) SetSocialKey(ctx context.Context, req *keylocker.SetSocialKeyReq) (*keylocker.SetSocialKeyRep, error)
Constants ¶
View Source
const ChainName = "Filcoin"
Variables ¶
This section is empty.
Functions ¶
func NewChainAdaptor ¶
func NewChainAdaptor(conf *config.Config) (blockchain.KeyAdaptor, error)
Types ¶
type KeyAdaptor ¶
type KeyAdaptor struct {
fallback.KeyAdaptor
}
func (*KeyAdaptor) GetSocialKey ¶
func (a *KeyAdaptor) GetSocialKey(ctx context.Context, req *keylocker.GetSocialKeyReq) (*keylocker.GetSocialKeyRep, error)
func (*KeyAdaptor) GetSupportChain ¶
func (a *KeyAdaptor) GetSupportChain(req *keylocker.SupportChainReq) (*keylocker.SupportChainRep, error)
func (*KeyAdaptor) SetSocialKey ¶
func (a *KeyAdaptor) SetSocialKey(ctx context.Context, req *keylocker.SetSocialKeyReq) (*keylocker.SetSocialKeyRep, error)
Click to show internal directories.
Click to hide internal directories.