mirror of
https://github.com/ap-pauloafonso/ratio-spoof.git
synced 2026-04-21 00:22:05 +00:00
friendly name for callback arg
This commit is contained in:
parent
a3f5532ea5
commit
4d4737f078
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ func (T *HttpTracker) SwapFirst(currentIdx int) {
|
|||
T.Urls[currentIdx] = aux
|
||||
}
|
||||
|
||||
func (T *HttpTracker) Announce(query string, headers map[string]string, retry bool, callBack func(int)) (*TrackerResponse, error) {
|
||||
func (T *HttpTracker) Announce(query string, headers map[string]string, retry bool, callBack func(newEstimatedTimeToAnnounce int)) (*TrackerResponse, error) {
|
||||
defer func() {
|
||||
T.RetryAttempt = 0
|
||||
}()
|
||||
|
|
|
|||
Loading…
Reference in a new issue