Documentation ¶
Index ¶
- Variables
- func Decode(encodedValue string) (string, error)
- func Download(torrentPath, outputPath string) (string, error)
- func Handshake(path, addr string) (string, error)
- func Info(path string) (string, error)
- func Peers(path string) (string, error)
- func RunCommand(f CommandFunc)
- func RunCommand2(f CommandFunc2)
- type CommandFunc
- type CommandFunc2
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrPeerNotFound = errors.New("commands: peer not found")
Functions ¶
func RunCommand ¶
func RunCommand(f CommandFunc)
func RunCommand2 ¶
func RunCommand2(f CommandFunc2)
Types ¶
type CommandFunc ¶
Click to show internal directories.
Click to hide internal directories.