auth0pull

package module
v0.0.0-...-10dc7e0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2020 License: MPL-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

View Source
const (
	LASTLOGID_KIND      = "last_log_id_auth0"
	LASTLOGID_KEY       = "last_log_id_auth0"
	LASTLOGID_NAMESPACE = "last_log_id_auth0"

	LOGGER_NAME = "auth0pull"
)

Variables

View Source
var (
	PROJECT_ID string
)

Functions

func Auth0Pull

func Auth0Pull(ctx context.Context, psmsg PubSubMessage) error

func InitConfig

func InitConfig()

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)

Directories

Path Synopsis
cmd module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL