pubsub

package
v0.0.0-...-f4b31ea Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Copyright 2023 The ChromiumOS Authors Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PublishMessage

func PublishMessage(
	projectID string,
	topicID string,
	orderingKey string,
	endpoint string,
	data []byte, opts ...option.ClientOption,
) (string, error)

PublishMessage `data` to projects/`projectID`/topics/`topic-id`. Passes `opts` to the pubsub client (e.g. WithTokenSource)

Types

This section is empty.

Jump to

Keyboard shortcuts

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