publish-message

command
v0.0.0-...-9994f1b Latest Latest
Warning

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

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

README

Publish Message

Client to publish a message to Cloud Pub/Sub

Local testing

To test locally you'll need to authenticate with gerrit OAuth scopes:

luci-auth login -scopes 'https://www.googleapis.com/auth/pubsub'

then use an input like the sample-input.json in this directory.

go run publish-message/main.go --input-json=/path/to/sample-input.json

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.

Jump to

Keyboard shortcuts

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