Commit 0beb2d1fe77557f07b89e0a4285f58b8a9a4eaba
1 parent
20b8ac36e0
Exists in
master
and in
1 other branch
readme
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
README.md
1 | # Webutility | 1 | # Webutility |
2 | Webutility package provides some useful tools for INIS KC server application: | 2 | Webutility package provides some useful tools for INIS KC server application: |
3 | * JWT authorization (uses ["github.com/dgrijalva/jwt-go"]()) | 3 | * JWT authorization (uses https://github.com/dgrijalva/jwt-go) |
4 | * HTTP responses | 4 | * HTTP responses |
5 | * Payload metadata framework | 5 | * Payload metadata framework |
6 | * Front-end UI configuration | 6 | * Front-end UI configuration |
7 | * RBAC | 7 | * RBAC |
8 | 8 | ||
9 | ### Build | 9 | ### Build |
10 | * go1.8 passing | 10 | * go1.8 passing |
11 | * go1.9 passing | 11 | * go1.9 passing |
12 | 12 | ||
13 | `TODO`: | 13 | `TODO`: |
14 | * http utility: | 14 | * http utility: |
15 | 1. add parameters to the ProcessHeaders to enable/disable token/role-access-rights checks | 15 | 1. add parameters to the ProcessHeaders to enable/disable token/role-access-rights checks |
16 | 2. check for Content-Type header, if clients expects something other than JSON respond with appropriate HTTP code | 16 | 2. check for Content-Type header, if clients expects something other than JSON respond with appropriate HTTP code |
17 | 17 |