pubsub

package
v0.0.0-...-94544c5 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMessageDate

func GetMessageDate[T any](r *http.Request) (*T, error)

GetMessageDate decodes the message data and returns the specified type.

Types

type Message

type Message struct {
	Message      api.PubsubMessage `json:"message"`
	Subscription string            `json:"subscription"`
}

Message is the payload of a Pub/Sub event.

Jump to

Keyboard shortcuts

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