Simple authentication example using JSON web tokens and Go How to run Simple fire it up with go run jwt.go and it's running on port 9000 Visit /settoken to get a token Visit /profile only if you have a valid token Visit /logout to logout if you have a vlid token Uses: dgrijalva/jwt-go