cev

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Overview

Package cev helps with cloud events

Index

Constants

View Source
const RAMCloudEventTypePrefix = "com.gitlab.realtime-asset-monitor"

RAMCloudEventTypePrefix prefix used for all cloud event type used by Real-time Asset Monitor

View Source
const RAMTrigram = "ram"

RAMTrigram Real-time Asset Monitor trigram

Variables

This section is empty.

Functions

func Publish

func Publish(ctx context.Context,
	microserviceName string,
	eventType string,
	data interface{},
	client cloudevents.Client,
	projectID string,
	host string) (ce cloudevents.Event, err error)

Publish common way for microservices to publish cloud events to pubsub

Types

This section is empty.

Jump to

Keyboard shortcuts

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