MCPcopy Create free account

hub / github.com/Sioro-Neoku/go-peerflix / functions

Functions19 in github.com/Sioro-Neoku/go-peerflix

↓ 4 callersMethodClose
Close cleans up the connections.
client.go:186
↓ 3 callersMethodError
()
client.go:33
↓ 2 callersMethodOpen
(url string)
player.go:19
↓ 2 callersMethodReadyForPlayback
* func (c Client) RenderPieces() (output string) { pieces := c.Torrent.PieceStateRuns() for i := range pieces { piece := pieces[i] if piece.Pri
client.go:275
↓ 2 callersFunctiondownloadFile
(URL string)
client.go:308
↓ 2 callersMethodgetLargestFile
()
client.go:234
↓ 2 callersFunctionjoinPlayerNames
joinPlayerNames returns a list of supported video players ready for display.
player.go:61
↓ 2 callersMethodpercentage
()
client.go:298
↓ 1 callersFunctionNewClient
NewClient creates a new torrent client based on a magnet or a torrent file. If the torrent file is on http, we try downloading it.
client.go:69
↓ 1 callersFunctionNewClientConfig
NewClientConfig creates a new default configuration.
client.go:57
↓ 1 callersFunctionNewFileReader
NewFileReader sets up a torrent file for streaming reading.
fileEntry.go:27
↓ 1 callersMethodRender
Render outputs the command line interface for the client.
client.go:192
↓ 1 callersMethodSeek
Seek seeks to the correct file position, paying attention to the offset.
fileEntry.go:22
↓ 1 callersFunctiondownloadBlockList
(blocklistPath string)
client.go:174
↓ 1 callersFunctiongetBlocklist
Download and add the blocklist.
client.go:134
↓ 1 callersFunctionopenPlayer
openPlayer opens a stream using the specified player and port.
player.go:42
MethodGetFile
GetFile is an http handler to serve the biggest file managed by the client.
client.go:280
MethodOpen
Open the given stream in a GenericPlayer.
player.go:29
Functionmain
()
main.go:21