mirror of
https://github.com/eosswedenorg/thalos
synced 2026-08-27 20:28:14 +02:00
app/abi/manager.go: Some documentation
This commit is contained in:
parent
fb54dd9960
commit
3379c70e63
1 changed files with 1 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ func NewAbiManager(rdb *redis.Client, api *eos.API, id string) *AbiManager {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Set or update an ABI in the cache.
|
||||||
func (mgr *AbiManager) SetAbi(account eos.AccountName, abi *eos.ABI) error {
|
func (mgr *AbiManager) SetAbi(account eos.AccountName, abi *eos.ABI) error {
|
||||||
return mgr.cache.Set(string(account), abi, time.Hour)
|
return mgr.cache.Set(string(account), abi, time.Hour)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue