p

package
v0.0.0-...-5fb0320 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package p contains a Google Cloud Storage Cloud Function.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HelloGCS

func HelloGCS(ctx context.Context, e GCSEvent) error

HelloGCS prints a message when a file is changed in a Cloud Storage bucket.

Types

type GCSEvent

type GCSEvent struct {
	Bucket string `json:"bucket"`
	Name   string `json:"name"`
}

GCSEvent is the payload of a GCS event.

Jump to

Keyboard shortcuts

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