gateway

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package gateway implements a REST gateway for the emulator GRPC service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gateway

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

Gateway implements the emulator gateway server.

func New

func New(opts Options) *Gateway

New returns a new gateway.

func (*Gateway) Run

func (gw *Gateway) Run()

Run starts the emulator gateway server.

type Options

type Options struct {
	GatewayAddress       string
	FrontendBinary       string
	FrontendAddress      string
	CopyEmulatorStdout   bool
	CopyEmulatorStderr   bool
	LogRequests          bool
	EnableFaultInjection bool
}

Options encapsulates options for the emulator gateway.

Jump to

Keyboard shortcuts

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