cloudfunctions

package module
v0.0.0-...-628cd94 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

README

Watch Emails

watch_emails watches for new messages in a user's inbox. As advised by Google, it is triggered daily.

SelfDoc

Auto-generated code documentation to make the repository easier to navigate and contribute to.

Last Updated: 2023-05-15

The gmail_subscription directory is for a Cloud Function that handles Gmail subscriptions for candidates and recruiters. It includes functions for checking email activity, creating Gmail subscriptions, and error tracking with Sentry. The directory also contains configuration files for GolangCI, a README for the watch_emails function, and go.mod and go.sum files for managing dependencies.

Files
.golangci.yml

This file contains the configuration for GolangCI, a linter for Go code. It specifies a list of issue texts to exclude from linting, with an example exclusion for a specific loop variable.

cloudfunction.go

This file contains Go code for a Cloud Function that handles Gmail subscriptions for candidates and recruiters. It includes functions for checking email activity, creating Gmail subscriptions, and error tracking with Sentry.

go.mod

This file is the go.mod file for the cloudfunctions/gmail_subscription directory. It specifies the module name and version, as well as the required dependencies and their versions.

go.sum

This file (go.sum) contains a list of all the dependencies and their versions used in the cloudfunctions/gmail_subscription directory, along with their cryptographic hashes. It is used to ensure the integrity of the dependencies and prevent tampering.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudFunction

type CloudFunction struct {
	// contains filtered or unexported fields
}

func NewCloudFunction

func NewCloudFunction(ctx context.Context) (*CloudFunction, error)

type EmailSetting

type EmailSetting struct {
	IsActive bool `json:"is_active"`
}

TODO: Add EmailSetting type and parsing to shared libs

type EmailSettings

type EmailSettings map[string]EmailSetting

Jump to

Keyboard shortcuts

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