v0.1.10 - Updated Pub/Sub Handler
New & Improved: Pub/Sub Handling Updates
New Function: ParsePubSubEnvelope
- Introduced
ParsePubSubEnvelope, a new utility function that:- Parses an
http.Requestfrom Cloud Pub/Sub. - Decodes the base64-encoded message data.
- Returns the message data, message ID, and publish timestamp.
- Parses an
Update: AddPubSubEndpoint
AddPubSubEndpointnow accepts a standardEndpointHandler, ensuring better consistency and flexibility when integrating Pub/Sub message processing.