feat: add blocking request (#12)

* feat: add blocking strategy

* docs: add examples for blocking strategy

* ci: run go tests recursively

* perf: wait for BlockCheckInterval for each request

* fix: use camel case instead of snake case for yaml config

* docs: add loading and error page customization as a feature

* fix: use errorPage

* fix: return json instead of html page

* set json key

* update development config

* docs: add comment about custom loading pages

* ci: add beta release
This commit is contained in:
Alexis Couvreur
2021-12-11 15:46:56 +01:00
committed by GitHub
parent 327211cbbf
commit b4f5eebaac
15 changed files with 425 additions and 164 deletions

View File

@@ -22,4 +22,4 @@ jobs:
run: go build -v .
- name: Test
run: go test -v .
run: go test -v ./...

View File

@@ -22,4 +22,4 @@ jobs:
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release -b main -p "@semantic-release/commit-analyzer" -p "@semantic-release/release-notes-generator" -p "@semantic-release/github"
run: npx semantic-release -b main -b beta