Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainLinkReferenceGetter ¶
type ChainLinkReferenceGetter interface { // GetMnemonic returns the mnemonic GetMnemonic() (string, error) // GetChain returns Chain instance GetChain() (Chain, error) // GetFilename returns filename to save GetFilename() (string, error) }
ChainLinkReferenceGetter allows to get all the data needed to generate a ChainLinkJSON instance
type ChainLinkReferencePrompt ¶
type ChainLinkReferencePrompt struct { ChainLinkReferenceGetter // contains filtered or unexported fields }
ChainLinkReferencePrompt is a ChainLinkReferenceGetter implemented with an interactive prompt
func NewChainLinkReferencePrompt ¶
func NewChainLinkReferencePrompt() *ChainLinkReferencePrompt
NewChainLinkReferencePrompt returns an instance implementing ChainLinkReferencePrompt
func (ChainLinkReferencePrompt) GetChain ¶
func (cp ChainLinkReferencePrompt) GetChain() (Chain, error)
GetChain implements ChainLinkReferenceGetter
func (ChainLinkReferencePrompt) GetFilename ¶
func (cp ChainLinkReferencePrompt) GetFilename() (string, error)
GetFilename implements ChainLinkReferenceGetter
func (ChainLinkReferencePrompt) GetMnemonic ¶
func (cp ChainLinkReferencePrompt) GetMnemonic() (string, error)
GetMnemonic implements ChainLinkReferenceGetter
Click to show internal directories.
Click to hide internal directories.