Documentation ¶
Index ¶
Constants ¶
View Source
const ( ADMIN_ENDPOINT = "/admin/v1/logs/administrator" AUTH_ENDPOINT = "/admin/v2/logs/authentication" TELEPHONY_ENDPOINT = "/admin/v1/logs/telephony" LOGGER_NAME = "duopull" MINTIME_KIND = "mintime" MINTIME_KEY = "mintime" MINTIME_NAMESPACE = "mintime" )
Variables ¶
View Source
var ( PROJECT_ID string KEYNAME string )
Functions ¶
Types ¶
type PubSubMessage ¶
type PubSubMessage struct {
Data []byte `json:"data"`
}
PubSubMessage is used for the function signature of the main function (Duopull()) represent the data sent from PubSub. The data is not actually read, this is only used as a mechanism for triggering the function (using Cloud Scheduler or similiar)
Click to show internal directories.
Click to hide internal directories.