|
6086fc53b7
|
update the doc comment
|
2020-06-28 20:06:38 +08:00 |
|
|
bdb3db3166
|
set the ipv4/ipv6 protocols as the default when the address is empty
|
2020-06-27 23:10:54 +08:00 |
|
|
10bf29d7d4
|
update README.md
|
2020-06-20 23:06:20 +08:00 |
|
|
87a03f763b
|
add some piece sizes
|
2020-06-20 19:29:54 +08:00 |
|
|
a2af7e1c0c
|
update peer server
|
2020-06-19 20:38:20 +08:00 |
|
|
5841196688
|
update README.md
|
2020-06-19 20:19:43 +08:00 |
|
|
79d51906c1
|
update the downloader
|
2020-06-19 20:19:32 +08:00 |
|
|
ada4692b65
|
update peer protocol
|
2020-06-19 20:18:58 +08:00 |
|
|
32cc9a6738
|
fix a bug
|
2020-06-19 20:17:28 +08:00 |
|
|
d8551d97b2
|
add the path /announce into the tracker url if missing
|
2020-06-19 20:16:50 +08:00 |
|
|
7a19f492a3
|
add the String method for BitField
|
2020-06-18 23:27:20 +08:00 |
|
|
0c27c4f805
|
add the MType prefix for the message types
|
2020-06-18 23:14:23 +08:00 |
|
|
4d9030d096
|
add the MType prefix for the message types
|
2020-06-18 23:12:27 +08:00 |
|
|
3f0570b868
|
use the type BitField instead of []bool
|
2020-06-18 23:06:43 +08:00 |
|
|
920f99e2c6
|
add the dial timeout
|
2020-06-18 22:43:13 +08:00 |
|
|
fbfe450c03
|
add OnWriteMsg to customize the message sending
|
2020-06-18 22:42:15 +08:00 |
|
|
8a90efa6f0
|
update file piece and block
|
2020-06-18 22:40:20 +08:00 |
|
|
6804c8fb43
|
update tracker
|
2020-06-18 22:39:22 +08:00 |
|
|
a7f955dfe6
|
update example test
|
2020-06-14 17:11:39 +08:00 |
|
|
a6b10015cf
|
add the file downloading handler
|
2020-06-14 16:58:48 +08:00 |
|
|
8951a19acc
|
add the no-op implementation for the handlers
|
2020-06-13 10:38:49 +08:00 |
|
|
dafbca62c4
|
update torrent downloader
|
2020-06-12 21:05:27 +08:00 |
|
|
dd9a644ea4
|
update PeerConn interface
|
2020-06-12 21:03:59 +08:00 |
|
|
2a8b6bd467
|
update tracker interface
|
2020-06-12 21:03:02 +08:00 |
|
|
11fe99eeeb
|
MetaInfo.Magnet uses the information of info as the default when the arguments are the empty value
|
2020-06-12 21:02:22 +08:00 |
|
|
0b4a6d67c0
|
fix: the memory leaks because of the dead loop
|
2020-06-11 23:55:13 +08:00 |
|
|
2687c8a5cc
|
add the Reader and Writer for torrent files
|
2020-06-11 22:36:38 +08:00 |
|
|
09c7246f74
|
add the new methods PieceOffset and GetFileByOffset for Info
|
2020-06-11 00:02:20 +08:00 |
|
|
246aaf4157
|
add PathWithPrefix to add the prefix to the returned path
|
2020-06-11 00:01:50 +08:00 |
|
|
745b8b5d40
|
the path returned by File.Path contains the directory
|
2020-06-11 00:01:07 +08:00 |
|
|
ddec282207
|
allow CopyNBuffer to set the buffer to nil
|
2020-06-09 21:00:33 +08:00 |
|
|
af334826d7
|
does not return an error for the unknown type of the peer message
|
2020-06-09 20:59:55 +08:00 |
|
|
810bd5932a
|
add the callback OnClose for Handler
|
2020-06-07 15:28:08 +08:00 |
|
|
249556c2e5
|
remove the support of Go 1.7&1.8 because of the requirement of type alias
|
2020-06-07 14:43:44 +08:00 |
|
|
43abddb2cb
|
add the test for go 1.7, 1.8, 1.9, 1.10
|
2020-06-07 14:21:19 +08:00 |
|
|
cec626f2d7
|
fix: use %s instead of %w for fmt.Errorf to be compatible with go below 1.13
|
2020-06-07 14:17:44 +08:00 |
|
|
5911d1e5ab
|
fix bugs
|
2020-06-07 14:08:33 +08:00 |
|
|
464d8114eb
|
fix the missing of reflect.IsZero below go1.13
|
2020-06-07 13:59:24 +08:00 |
|
|
6bfa2f6700
|
first commit
|
2020-06-07 13:43:15 +08:00 |
|