mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-17 04:30:03 +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 {
|
||||
return mgr.cache.Set(string(account), abi, time.Hour)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue