client

package
v0.36.4 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Receive

func Receive(
	port int,
	canceling chan context.CancelFunc,
	receiveEvent ReceiveEvent,
	middlewares ...cloudeventshttp.Middleware,
)

Receive events and push then to passed fn

Types

type ReceiveEvent

type ReceiveEvent func(ctx context.Context, e cloudevents.Event)

ReceiveEvent represents a function that receive event

Jump to

Keyboard shortcuts

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