func init() { abfPlatformsSet = set.NewSet() for _, v := range abfPlatforms { abfPlatformsSet.Add(v.(string)) } abfArchWhitelistSet = set.NewSet() for _, v := range abfArchWhitelist { abfArchWhitelistSet.Add(v.(string)) } abfClient = &http.Client{ Timeout: time.Second * 60, } if abfEnable { Implementations["abf"] = &ABF{} } }
func init() { adminWhitelistSet = set.NewSet() for _, v := range adminWhitelist { adminWhitelistSet.Add(v.(string)) } }