REPOSITORY / ScuroNeko/mtg

Commits

COMMITS REPOSITORY
Commit Graph
710 Commits
Author SHA1 Message Date
9seconds 185baf6bc9 Add tests for access command 2021-03-12 21:57:53 +03:00
9seconds 546a5849f3 Add test for generate-secret command 2021-03-12 20:07:18 +03:00
9seconds 2cc81219b1 Use HTTP timeout from config 2021-03-12 17:00:52 +03:00
9seconds 1f862027af Add blocklist to config 2021-03-12 16:53:15 +03:00
9seconds 02643fb6bb Add concurrency parameter 2021-03-12 16:21:52 +03:00
9seconds e167b85d3b Add HTTP timeout 2021-03-12 16:19:52 +03:00
9seconds c0b6124d94 Add tests for configuration parsing 2021-03-12 15:34:32 +03:00
9seconds 113b5ecbe0 Add tests for config type ip 2021-03-12 15:08:36 +03:00
9seconds 4daf927a72 Add method for validation of the secret 2021-03-12 14:40:07 +03:00
9seconds 1218f18af9 Add tests for config type port 2021-03-12 14:23:06 +03:00
9seconds 7ca143d352 Add tests for config type url 2021-03-12 12:16:35 +03:00
9seconds 428010880e Add tests for prefer ip config type 2021-03-12 10:28:08 +03:00
9seconds dc81740bda Add tests for hostport type 2021-03-12 09:53:43 +03:00
9seconds f7dc54b652 Add tests for config type http path 2021-03-11 22:07:01 +03:00
9seconds c0ab254acf Minor formatting issues 2021-03-11 21:50:47 +03:00
9seconds 5c4536c591 Add tests for config error rate type 2021-03-11 21:30:43 +03:00
9seconds d48e82be7c Add tests for duration config type 2021-03-11 17:24:57 +03:00
9seconds bc4b14c83d Add tests for type bytes 2021-03-11 16:33:29 +03:00
9seconds 6b9b437a5a Correct usage of ifconfig.co 2021-03-11 06:27:39 +03:00
9seconds d6566e5dfb Change network to accept DialFunc 2021-03-11 06:08:15 +03:00
9seconds 6b28488fbd Move cli to separate package 2021-03-11 05:50:04 +03:00
9seconds 1a02511afe Move config into separate package 2021-03-11 05:37:18 +03:00
9seconds 757ea5b63c Add PatchHTTPClient method
This method is mostly required for testing
2021-03-11 05:01:26 +03:00
9seconds 24add0dce4 Make network as a separae interface 2021-03-11 04:57:07 +03:00
9seconds 299c6478c2 Create base structure to allow patching 2021-03-10 21:59:01 +03:00
9seconds ddd3d608fa Add tests for secret 2021-03-10 21:39:46 +03:00
9seconds d5b0a47d52 Fix race detector tests 2021-03-10 18:34:08 +03:00
9seconds ca0a550f12 Use array of fixed length for secret 2021-03-10 18:26:36 +03:00
9seconds 94084674c0 Use custom cli classes 2021-03-10 18:08:25 +03:00
9seconds 9aa56191f9 Linting 2021-03-10 17:18:53 +03:00
9seconds a34949f15c Rename secret ee to hex 2021-03-10 17:03:56 +03:00
9seconds cbcc113e41 Add cli command for access 2021-03-10 16:59:19 +03:00
9seconds 6f0b0e0c32 Add command for generating secrets 2021-03-10 15:59:48 +03:00
9seconds 098a9c411a Marshalling of config to string 2021-03-10 15:28:06 +03:00
9seconds d1dd56550f Add correct configuration 2021-03-10 14:42:24 +03:00
9seconds 59f328b804 Validate config 2021-03-10 12:29:13 +03:00
9seconds 783c49db37 Correct secret parsing 2021-03-10 12:26:07 +03:00
9seconds 015f02c077 Cleanups of secret module 2021-03-10 11:48:44 +03:00
9seconds e0833e86d9 Update configuration file with proxies specification 2021-03-10 11:12:10 +03:00
9seconds f89f5f8469 Remove access-file 2021-03-10 11:03:23 +03:00
9seconds 0395ce8d1a Fix lint issues 2021-03-10 10:45:32 +03:00
9seconds ef87d031ed Add gofumpt as formatter 2021-03-10 10:35:17 +03:00
9seconds ba875da9b5 Make tests for load balanced client 2021-03-10 10:25:24 +03:00
9seconds 8f7e79862b Add tests for proxy dialers 2021-03-09 21:36:40 +03:00
9seconds 9124ffabf1 Rename load balanced dialer to loadBalancedSocks5Dialer 2021-03-09 18:23:39 +03:00
9seconds c8914f90db Add tests for circuit breaker 2021-03-09 18:21:43 +03:00
9seconds 7c43a4b0b7 Add tests for circuit breaker 2021-03-09 18:20:21 +03:00
9seconds e386ae0daf Move proxy consts into init file 2021-03-09 12:00:06 +03:00
9seconds b5346668f8 Add mock for net conn 2021-03-09 11:58:06 +03:00
9seconds 7002e4cd09 Add load balancing network dialer 2021-03-09 11:52:13 +03:00