Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PropertyNameCache ¶
if updating wormhole version will cause property_id and property_name mismatched, the whcwallet needs restart to clear cache. Otherwise, the app based on this api will returned error result.
func GetPNameCache ¶
func GetPNameCache() *PropertyNameCache
func New ¶
func New() *PropertyNameCache
func (*PropertyNameCache) GetPropertyName ¶
func (c *PropertyNameCache) GetPropertyName(pid int64) (string, bool)
func (*PropertyNameCache) StorePropertyName ¶
func (c *PropertyNameCache) StorePropertyName(pid int64, pname string)
Click to show internal directories.
Click to hide internal directories.