Commit 67549f461d5374bac2194f5b3762bebb3c70dbf9
1 parent
4b3627bba5
Exists in
master
and in
1 other branch
readme
Showing
1 changed file
with
12 additions
and
0 deletions
Show diff stats
README.md
1 | # Webutility | ||
2 | Webutility package provides some useful tools for creating INIS KC server application: | ||
3 | * JWT authorization (uses ["github.com/dgrijalva/jwt-go"]()) | ||
4 | * HTTP responses | ||
5 | * Payload metadata framework | ||
6 | * Front-end UI configuration | ||
7 | * RBAC | ||
8 | |||
9 | ### Build | ||
10 | * go1.8 passing | ||
11 | * go1.9 passing | ||
12 | |||
1 | TODO: | 13 | TODO: |
2 | * http utility: | 14 | * http utility: |
3 | 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 |
4 | 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 |
5 | 17 |