Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbiManager ¶
type AbiManager struct {
// contains filtered or unexported fields
}
AbiManager handles an ABI cache that fetches the ABI from an API on cache miss.
func NewAbiManager ¶
func NewAbiManager(cache *cache.Cache, api *eos.API) *AbiManager
Create a new ABI Manager
func (*AbiManager) GetAbi ¶
func (mgr *AbiManager) GetAbi(account eos.AccountName) (*eos.ABI, error)
Get an ABI from the cache, on cache miss it is fetched from the API, gets cached and then returned to the user
func (*AbiManager) SetAbi ¶
func (mgr *AbiManager) SetAbi(account eos.AccountName, abi *eos.ABI) error
Set or update an ABI in the cache.
Click to show internal directories.
Click to hide internal directories.