Commit Graph

47 Commits (e03dc0f0bf84ec8ea486c6976e966dc3038772d3)

Author SHA1 Message Date
Y4ssss e03dc0f0bf feat: support to set cache expiration 2021-11-08 14:59:42 +08:00
httpcheck 258f7b0440 fix: fix typos 2021-04-11 15:01:07 +08:00
kun cb5069aea2 feat: support prometheus metrics in router 2021-03-22 10:35:43 +08:00
bainli 7472c4efb3 golint 2021-03-04 15:32:04 +08:00
kun b66f9f4b2c fix: fix module cache dir 2021-03-01 17:54:03 +08:00
kun 6863d48b5e improve help doc 2021-02-26 14:46:25 +08:00
ping a4e417a2ce fix: support cache 302 status code 2020-08-31 14:59:54 +08:00
kun fa12c6beba add default env 2020-02-17 14:25:31 +08:00
kun 02f5e37219 fix non-unix OS use Join 2019-11-28 17:34:03 +08:00
kun 970dde4fb9 update go.mod to v2 2019-11-16 10:31:43 +08:00
kun 5b72060f37 auto enable go module 2019-11-07 09:29:45 +08:00
formych ae73e81ba0 修复CI死锁 2019-09-22 21:03:16 +08:00
formych 389bbbec05 修复缓存目录无用 2019-09-20 16:16:28 +08:00
formych 5a68b8fe9c fix file mode
add MkdirAll err info

fix
2019-09-16 13:22:27 +08:00
formych ec6941ab0c remove repeated signal
remove repeated sigterm signal
2019-09-09 09:32:24 +08:00
jsign 68e7126a9d graceful shutdown & refactor improvement 2019-09-06 17:07:35 +08:00
jsign 5aa10edcd3 proxy/router: fix panic & gofmt 2019-08-30 08:26:00 +08:00
fancyrabbit a7bbe9e74f cache files fetched from upstream proxy in -CacheDir under router mode 2019-08-21 15:24:30 +08:00
Baokun Lee 917f4e7037 set GOPRIVATE env 2019-08-10 23:36:19 +08:00
ianwoolf 55a9e0a0c5 replace fmt.Fprintf(os.Stderr, ...) with log.Printf() 2019-08-07 10:03:42 +08:00
ianwoolf 6141bae547 use path.Match instead of regexp 2019-08-07 09:53:50 +08:00
kun f4b9da88f3 print less log 2019-08-06 10:10:14 +08:00
imneov 769cffd5df add router mode 2019-08-02 14:59:09 +08:00
Baokun Lee 12fb2b3845 make dir before create cache file 2019-07-25 22:43:19 +08:00
kun b259869435 refactor handlers 2019-07-25 16:20:01 +08:00
edwardpro add79fbe31 compatible for go 1.11 and go 1.12 2019-03-20 22:28:35 +08:00
James Mills 5053e78599 Fixed Dockerfile build and runtime 2019-01-10 16:10:57 +08:00
hxzhao527 c874dd607d refactor(shutdown):
graceful shutdown
2018-12-29 12:29:11 +08:00
kun 043c484e5e fix docker build 2018-12-27 16:31:10 +08:00
nafisfaysal afb11b3683 improve server with graceful shutdown 2018-12-26 11:41:08 +08:00
kun 4b5758264e update flags 2018-12-25 20:23:52 +08:00
赵浩翔 18c8979b4c refactor: pure go 2018-12-25 17:36:32 +08:00
shengxiang 0ab15412ae fix mkdir cacheDir bad file mode 2018-11-27 10:53:54 +08:00
kun 2dfa76928d support latest fetch 2018-10-19 14:29:36 +08:00
姜禹 59e1de8487 add docker support 2018-10-19 14:29:13 +08:00
ianwoolf 42316d3ead remove pathSuffix 2018-09-06 12:04:18 +08:00
kun 9d4ae6116f add accees timestamp 2018-09-06 11:25:31 +08:00
ianwoolf 39b23e3b6c clear code: get path suffix 2018-09-06 11:12:34 +08:00
kun 90c421639b try go get if zip not found 2018-09-05 16:50:27 +08:00
kun aafa0fc010 add access log 2018-09-05 13:47:05 +08:00
kun 9a38b201ef clean error log 2018-09-05 13:35:56 +08:00
kun 6aca89fe84 support multiple GOPATH 2018-09-04 10:35:50 +08:00
kun 0e413b5096 ignore go get error 2018-09-03 16:24:22 +08:00
kun 4a2c1bd262 log error detail 2018-09-03 16:14:04 +08:00
kun 6ea355b5b9 support redirect to correct version URL 2018-09-03 15:58:59 +08:00
kun b7175d8f9a add listen flag 2018-09-03 11:09:50 +08:00
kun 68c0e15704 init 2018-09-01 15:31:53 +08:00