Skip to content

zhaozhenxiang/DHT-client-Golang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DHT-client-Golang

SQL:
CREATE TABLE `torrent` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `torrent` varchar(255) CHARACTER SET utf8 NOT NULL,
  `filename` varchar(255) CHARACTER SET utf8 DEFAULT NULL,
  `portnumber` int(11) DEFAULT NULL,
  `init_time` datetime DEFAULT NULL,
  `filesize` varchar(255) CHARACTER SET utf8 DEFAULT NULL,
  PRIMARY KEY (`id`,`torrent`),
  KEY `torrent` (`torrent`) USING BTREE,
  KEY `filename` (`filename`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=latin1;

todo list

  • 使用channel来延时并且批量写入 *
  • 使用command line来传入参数 *
  • 使用配置文件来控制参数 *

About

只是利用别人的库来写入DB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages