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
JobHandlerPlugin jobs.JobRequestHandler
}
type UnimplementedGatewayPlugin ¶
type UnimplementedGatewayPlugin struct {
GatewayService
}
func (*UnimplementedGatewayPlugin) Start ¶
func (*UnimplementedGatewayPlugin) Start(_ *GatewayStartOpts) error
func (*UnimplementedGatewayPlugin) Stop ¶
func (*UnimplementedGatewayPlugin) Stop() error
Click to show internal directories.
Click to hide internal directories.