Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ThroughputQuota ¶
type ThroughputQuota interface {
// Balance returns the balance of the given identity.
Balance(id identity.ID) (mana int64, exists bool)
// BalanceByIDs returns the balances of all known identities.
BalanceByIDs() (quotaByID map[identity.ID]int64)
// TotalBalance returns the total amount of throughput quota.
TotalBalance() (totalQuota int64)
// Interface embeds the required methods of the module.Interface.
module.Interface
}
Click to show internal directories.
Click to hide internal directories.