sandboxutils

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MsgChan chan SandboxMessage

Functions

This section is empty.

Types

type CloudEventsSandboxOnlyPublisher

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

func NewCloudEventsPublisher

func NewCloudEventsPublisher() *CloudEventsSandboxOnlyPublisher

func (*CloudEventsSandboxOnlyPublisher) Publish

func (*CloudEventsSandboxOnlyPublisher) PublishRaw

func (z *CloudEventsSandboxOnlyPublisher) PublishRaw(ctx context.Context, topic string, msgRaw []byte) error

PublishRaw will publish a raw byte array as a message with context.

type SandboxMessage

type SandboxMessage struct {
	Msg   proto.Message
	Raw   []byte
	Topic string
}

Jump to

Keyboard shortcuts

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