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