usage

package
v0.72.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hello

func Hello(ctx context.Context, event *PubsubProxyEvent) error

Hello prints meta and events details

Types

type Attributes

type Attributes struct {
	NotificationConfig  string     `json:"notificationConfig"`
	ObjectGeneration    string     `json:"objectGeneration"`
	ObjectId            string     `json:"objectId"`
	BucketId            string     `json:"bucketId"`
	EventTime           *time.Time `json:"eventTime"`
	EventType           string     `json:"eventTime"`
	OverwroteGeneration string     `json:"overwroteGeneration"`
}

type PubsubProxyEvent

type PubsubProxyEvent struct {
	Data       []byte `json:"data"`
	Attributes *Attributes
}

PubsubProxyEvent

Jump to

Keyboard shortcuts

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