act/pkg/artifactcache
Jason Song d77991c95a
Support cache (#1770)
* feat: port

* fix: use httprouter

* fix: WriteHeader

* fix: bolthold

* fix: bugs

* chore: one less file

* test: test handler

* fix: bug in id

* test: fix cases

* chore: tidy

* fix: use atomic.Int32

* fix: use atomic.Store

* feat: support close

* chore: lint

* fix: cache keys are case insensitive

* fix: options

* fix: use options

* fix: close

* fix: ignore close error

* Revert "fix: close"

This reverts commit d53ea7568ba03908eb153031c435008fd47e7ccb.

* fix: cacheUrlKey

* fix: nil close

* chore: lint code

* fix: test key

* test: case insensitive

* chore: lint
2023-04-28 15:57:40 +00:00
..
testdata/example Support cache (#1770) 2023-04-28 15:57:40 +00:00
doc.go Support cache (#1770) 2023-04-28 15:57:40 +00:00
handler.go Support cache (#1770) 2023-04-28 15:57:40 +00:00
handler_test.go Support cache (#1770) 2023-04-28 15:57:40 +00:00
model.go Support cache (#1770) 2023-04-28 15:57:40 +00:00
storage.go Support cache (#1770) 2023-04-28 15:57:40 +00:00