(domain string)
| 245 | } |
| 246 | |
| 247 | func (s *Shared) DomainCounter(domain string) *atomic.Int64 { |
| 248 | val, _ := s.DomainPageCounter.LoadOrStore(domain, &atomic.Int64{}) |
| 249 | return val.(*atomic.Int64) |
| 250 | } |
| 251 | |
| 252 | func (s *Shared) backoffFor(host string) *hostBackoff { |
| 253 | if val, ok := s.hostBackoffs.Get(host); ok { |
no outgoing calls