Imports github.com/RichardKnop/go-oauth2-server/log github.com/coreos/etcd/clientv3 github.com/coreos/etcd/etcdserver/api/v3rpc/rpctypes github.com/coreos/etcd/pkg/transport github.com/hashicorp/consul/api golang.org/x/net/context Standard library imports encoding/json fmt net/http os strings time