Help us shape the future of Go! Take the 2026 Go Developer Survey

orders

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package orders manages the Pub/Sub topics of orders through the "orders" client.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Topics

type Topics struct {
	// contains filtered or unexported fields
}

Topics creates Pub/Sub topics.

func NewTopics

func NewTopics(client *pubsub.Client) *Topics

NewTopics provides the topics on the orders client, which inject builds with the log plugin. @Provide(index=0) @Inject(index=0, name=orders, plugins=[log])

func (*Topics) Create

func (t *Topics) Create(ctx context.Context, id string) error

Create creates the topic id in the client's project.

Jump to

Keyboard shortcuts

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