Commit graph

29 commits

Author SHA1 Message Date
Leo Balduf
6b1d4c7ed5 cmd/chihaya: add config reloading via SIGUSR1
Fixes #215
2016-11-28 23:48:00 +01:00
Ye Yin
3932ca8971 Fix configure file parse 2016-10-12 19:44:52 +08:00
Jimmy Zelinskie
46bd349a23 jwt: add initial jwt update
This also changes the signature of the constructor to return an error.
2016-09-26 21:31:34 -04:00
Leo Balduf
86ebb108fc cmd/chihaya: stop hooks
Fixes #214.
2016-09-24 19:51:18 -04:00
Jimmy Zelinskie
486e898ce9 cmd: add --debug for debug logging 2016-09-05 12:20:15 -04:00
Jimmy Zelinskie
fa32839623 replace std log w/ logrus
There still needs to be much more logged with the debug level.
2016-09-05 12:10:42 -04:00
Jimmy Zelinskie
7ca15e9943 middleware: add blacklist support 2016-09-01 20:49:15 -04:00
Jimmy Zelinskie
e39da6b4e6 main: add CreateHooks() method for ConfigFile
This change simplifies middleware.Logic to having only one list of
PreHooks and one list of PostHooks.
2016-09-01 19:48:49 -04:00
Jimmy Zelinskie
9dc5372796 cmd: pull closure out into its own func
Also introduce a config.go.
2016-08-24 20:01:06 -04:00
Leo Balduf
0e0f8e7ad1 cmd/chihaya: clean up 2016-08-20 10:21:10 -04:00
Jimmy Zelinskie
cc6614c474 rename back to chihaya 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
1bff8d1571 delete old code 2016-08-16 22:17:10 -04:00
Leo Balduf
0910d2ccab general: add CPU profiling 2016-08-01 16:51:48 -04:00
Leo Balduf
aaf9978df3 middleware: add swarm interaction 2016-05-17 00:49:16 -04:00
Leo Balduf
0607841b3b middleware: added varinterval 2016-04-06 11:33:14 -04:00
Jimmy Zelinskie
35df7a29bc main: organize imports by server, middleware 2016-04-04 00:27:30 -04:00
Leo Balduf
9c1168746a hotfix: initialized scrape map 2016-04-02 20:23:42 -04:00
Leo Balduf
52483407cc middleware: added infohash middleware 2016-04-02 18:47:51 -04:00
Leo Balduf
6440f91a8e middleware: added deniability 2016-04-02 17:19:33 -04:00
Jimmy Zelinskie
33d6b1cd12 implement prometheus server 2016-03-02 21:05:33 -05:00
Jimmy Zelinskie
0dfc26caea remove config package 2016-03-02 21:05:33 -05:00
Leo Balduf
730de81b9f cmd/chihaya: added useful dependencies 2016-03-02 21:05:33 -05:00
Leo Balduf
50192d45c1 middleware: added IP blacklist/whitelist middlewares 2016-03-02 21:05:31 -05:00
Justin Li
75b4a20e56 Bring in more old behaviour, use types for peer_id and infohash 2016-03-02 21:05:31 -05:00
Jimmy Zelinskie
bd33c0c66b initial middleware refactor 2016-03-02 21:05:30 -05:00
Jimmy Zelinskie
5c27c960f0 clean the slate! 2016-03-02 21:05:30 -05:00
Justin Li
87c68f1973 2015 2015-01-01 12:02:25 -05:00
Jimmy Zelinskie
941de3d12e goimports 2014-07-25 01:46:58 -04:00
Justin Li
f8047ef8ab Reorganize main package structure per discussion 2014-07-16 20:33:38 -04:00