Commit ff2508880c275474ba2632d1870c585df78dc3fa

Authored by Marko Tikvić
1 parent c7aadbb39d
Exists in master and in 1 other branch v2

readme

Showing 1 changed file with 2 additions and 4 deletions   Show diff stats
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 https://github.com/dgrijalva/jwt-go) 3 * JWT authorization (uses https://github.com/dgrijalva/jwt-go)
4 * HTTP responses 4 * HTTP response templates
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
11 * go1.9 passing 10 * go1.9 passing
12 11
13 `TODO`: 12 `TODO`:
14 * http utility: 13 * http utility:
15 1. add parameters to the ProcessHeaders to enable/disable token/role-access-rights checks 14 * 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 15