kane v1.0.0 Kane

Kane. Citizen Kane. Charles Foster Kane, to be exact, Publisher extraordinaire.

Rosebud.

Kane is for publishing and subscribing to topics using Google Cloud Pub/Sub.

Link to this section Summary

Functions

Retrieves the default Oauth scope for retrieving an access token

iex> Kane.oauth_scope
"https://www.googleapis.com/auth/pubsub"

Link to this section Types

Link to this type

t()
t() :: %Kane{
  endpoint: String.t(),
  project_id: String.t(),
  token: Goth.Token.t()
}

Link to this section Functions

Link to this function

oauth_scope()
oauth_scope() :: String.t()

Retrieves the default Oauth scope for retrieving an access token

iex> Kane.oauth_scope
"https://www.googleapis.com/auth/pubsub"