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