Skip to content

Commit

Permalink
add readme (#2)
Browse files Browse the repository at this point in the history
* chore: add readme

* fix: ci exec /bin/license-eye: exec format error
  • Loading branch information
bodhisatan authored Jun 23, 2022
1 parent 4d27a85 commit 00768db
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [pull_request]

jobs:
compliant:
runs-on: self-hosted
runs-on: [ self-hosted, X64 ]
steps:
- uses: actions/checkout@v3

Expand All @@ -17,7 +17,7 @@ jobs:
uses: crate-ci/typos@master

staticcheck:
runs-on: self-hosted
runs-on: [ self-hosted, X64 ]
steps:
- uses: actions/checkout@v3

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push, pull_request]

jobs:
lint-and-ut:
runs-on: self-hosted
runs-on: [ self-hosted, X64 ]
steps:
- uses: actions/checkout@v3

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Hertz-JWT
# Hertz-JWT(*This is a community driven project*)

This is a middleware for [Hertz](https://github.com/cloudwego/hertz) framework.

It uses [jwt-go](https://github.com/golang-jwt/jwt) to provide a jwt authentication middleware. It provides additional handler functions to provide the `login` api that will generate the token and an additional `refresh` handler that can be used to refresh tokens.

This repo is forked from [gin-jwt](https://github.com/appleboy/gin-jwt) and adapted to Hertz.
This repo is forked from [gin-jwt](https://github.com/appleboy/gin-jwt) and adapted to Hertz.

## Security Issue

Expand Down

0 comments on commit 00768db

Please sign in to comment.