Imports github.com/dgrijalva/jwt-go github.com/tarent/loginsrv/logging github.com/tarent/loginsrv/model github.com/tarent/loginsrv/oauth2 Standard library imports bytes encoding/json errors flag fmt html/template io/ioutil math/rand net/http os strings time