models

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ConfigPrivateKey is the configuration name of the private key for the GCP Pub/Sub client.
	ConfigPrivateKey = "privateKey"

	// ConfigClientEmail is the configuration name of the client's email for the GCP Pub/Sub client.
	ConfigClientEmail = "clientEmail"

	// ConfigProjectID is the configuration name of the project id for the GCP Pub/Sub client.
	ConfigProjectID = "projectId"

	// ConfigLocation is the configuration name of the Cloud Region or Zone where the topic resides.
	ConfigLocation = "location"

	// ConfigSubscriptionID is the configuration name of the subscription id for the subscriber client.
	ConfigSubscriptionID = "subscriptionId"

	// ConfigTopicID is the configuration name of the topic id for the publisher client.
	ConfigTopicID = "topicId"
)

Variables

This section is empty.

Functions

func ConfigKeyName

func ConfigKeyName(fieldName string) string

ConfigKeyName returns a configuration key name by struct field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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