package
1.6.3
Repository: https://github.com/33cn/externaldb.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

DecodeJSONToMap Decode json data to map[string]interface{}.
NewStatsComm 创建一个新的统计公共实例.
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Addresses Addresses.
BaseStatisItem 基础统计项组件.
No description provided by the author
No description provided by the author
DBRead DBRead.
StatsItemInfo具体统计项的信息.
DonationStats DonationStats 用于统计指定字段的捐款并排名.
Hashes 交易hash数组 swagger:parameters Hashes.
Organizations Organization.
swagger:parameters QMatch.
QMatchKey key.
swagger:parameters QPage.
swagger:parameters QRange.
swagger:parameters QRanges.
swagger:parameters QSort.
No description provided by the author
RepDonationStat 捐款排名统计结果:返回捐款人名以及捐款额度.
No description provided by the author
RepLastSeq 最新的seq序列号.
RepSubTermsAgg 单位.
RepTermsAgg 省份信息:.
RepVolunteerStat 志愿者分布图统计.
No description provided by the author
SpecifiedFields 用于获取指定字段的值,例如获取某个省份某个单位志愿者的姓名.
定义一个缓存慈善全款统计信息的结构,底层定时刷新到cache中,前端直接访问cache中的即可 Req 用于统计的条件 Rep 统计的结果 Interval 定时统计的时间间隔 LastSeq 定时刷新时的最新区块的seq,如果seq没有增加就不去刷新直接使用cache缓存的统计信息 LastCallTime 此缓存数据被调用的最新时间,用于缓存项超过最大值时删除最旧没有被调用的统计项,防止缓存数据太多 IsRefreshing 标记此项统计是否正在进行,如果正在统计进行时不再触发统计,等待下个周期再刷新统计.
No description provided by the author
TotalStats 用于统计指定字段值的总和.
VolunteerStats 用于统计志愿者分布图:按照省分桶,再按照单位分桶.
VolunteerStatsItem 具体统计项的信息.

# Interfaces

No description provided by the author
统计项组件的方法集StatsItem.

# Type aliases

No description provided by the author