mirror of
https://github.com/sot-tech/mochi.git
synced 2026-05-24 00:34:47 -07:00
bt: remove unused Tracker interface
This commit is contained in:
@@ -135,9 +135,3 @@ type ClientError string
|
|||||||
|
|
||||||
// Error implements the error interface for ClientError.
|
// Error implements the error interface for ClientError.
|
||||||
func (c ClientError) Error() string { return string(c) }
|
func (c ClientError) Error() string { return string(c) }
|
||||||
|
|
||||||
// Tracker represents an implementation of the BitTorrent tracker protocol.
|
|
||||||
type Tracker interface {
|
|
||||||
ListenAndServe() error
|
|
||||||
Stop()
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user