Categorygithub.com/mkaiho/google-api-sample
module
0.0.0-20211221132833-759e132cbd2c
Repository: https://github.com/mkaiho/google-api-sample.git
Documentation: pkg.go.dev

# README

google-api-sample

Links

Build

$ make build

Run sample binary

$ GBP_CLIENT_ID=<Google Client ID> \
  GBP_CLIENT_SECRET=<Google Client Secret> \
  GBP_REFRESH_TOKEN=<Refresh token> \
  GBP_REDIRECT_URL=<Redirect URL> \
  ./bin/sample

Run token-reciever server binary

$ GBP_CLIENT_ID=<Google Client ID> \
  GBP_CLIENT_SECRET=<Google Client Secret> \
  GBP_REFRESH_TOKEN=<Refresh token> \
  GBP_REDIRECT_URL=<Redirect URL> \
  ./bin/token-reciever

Run pubsub-pub binary

$ GCP_CLIENT_ID=<Google Client ID> \
  GCP_CLIENT_SECRET=<Google Client Secret> \
  GCP_REFRESH_TOKEN=<Refresh token> \
  GCP_REDIRECT_URL=<Redirect URL> \
  ./bin/pubsub-pub

Run pubsub-pub binary

$ GCP_CLIENT_ID=<Google Client ID> \
  GCP_CLIENT_SECRET=<Google Client Secret> \
  GCP_REFRESH_TOKEN=<Refresh token> \
  GCP_REDIRECT_URL=<Redirect URL> \
  ./bin/pubsub-sub

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author