endtoendserver

package
v0.46.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PubSubMessage

type PubSubMessage struct {
	Message struct {
		Attributes map[string]string `json:"attributes,omitempty"`
	} `json:"message"`
}

PubSubMessage is the payload of a Pub/Sub event.

type Server

type Server interface {
	Run(context.Context) error
	Shutdown(ctx context.Context) error
}

Server is an end-to-end test service.

func New

func New() (Server, error)

New instantiates a new end-to-end test service.

func NewPullServer

func NewPullServer() (Server, error)

New instantiates a new end-to-end test service.

func NewPushServer

func NewPushServer() (Server, error)

New instantiates a new push end-to-end test service.

Jump to

Keyboard shortcuts

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