Pull AnnounceOpt into tracker package
This commit is contained in:
parent
a3159e6b11
commit
65f507a792
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user