Versions in this module Expand all Collapse all v0 v0.4.0 Apr 19, 2023 v0.3.0 Apr 19, 2023 v0.2.0 Apr 14, 2023 v0.1.0 Apr 14, 2023 Changes in this version + const XForwardedFor + const XRealIP + func GetHandler(cfg *configs.Config) *http.ServeMux + func Ip2long(ipstr string) uint32 + func IsAdminIp(ip string, cfg *configs.Config) bool + func IsLeaderIp(ip string, cfg *configs.Config) bool + func RemoteIp(req *http.Request) string + type PostReport struct + A int + B int + C int + D int + E int + F int + G int + H int + PercentA float32 + PercentB float32 + PercentC float32 + PercentD float32 + PercentE float32 + PercentF float32 + PercentG float32 + PercentH float32 + TxtFields []string + Vote *pb.Vote + VoteId string