2
0
mirror of synced 2025-02-24 06:38:14 +00:00

Pull AnnounceOpt into tracker package

This commit is contained in:
Matt Joiner 2021-06-24 13:10:28 +10:00
parent a3159e6b11
commit 65f507a792

View File

@ -9,10 +9,12 @@ import (
)
type Client interface {
Announce(context.Context, AnnounceRequest, trHttp.AnnounceOpt) (AnnounceResponse, error)
Announce(context.Context, AnnounceRequest, AnnounceOpt) (AnnounceResponse, error)
Close() error
}
type AnnounceOpt = trHttp.AnnounceOpt
type NewClientOpts struct {
Http trHttp.NewClientOpts
// Overrides the network in the scheme. Probably a legacy thing.