gateway

package
v0.0.0-...-15c1b16 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 7 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GatewayService

type GatewayService interface {
	// Start the Gateway
	Start(opts *GatewayStartOpts) error
	// Stop the Gateway
	Stop() error
}

GatewayService - The interface for a Nitric Gateway, which acts as provider specific adapter for all incoming requests.

type GatewayStartOpts

type GatewayStartOpts struct {
	ApiPlugin               apigateways.ApiRequestHandler
	HttpPlugin              http.HttpRequestHandler
	SchedulesPlugin         schedules.ScheduleRequestHandler
	TopicsListenerPlugin    topics.SubscriptionRequestHandler
	StorageListenerPlugin   storage.BucketRequestHandler
	WebsocketListenerPlugin websockets.WebsocketRequestHandler
}

type UnimplementedGatewayPlugin

type UnimplementedGatewayPlugin struct {
	GatewayService
}

func (*UnimplementedGatewayPlugin) Start

func (*UnimplementedGatewayPlugin) Stop

Jump to

Keyboard shortcuts

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