grpc

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDocumentServer

func NewDocumentServer(docPlugin sdk.DocumentService) pb.DocumentServiceServer

func NewEventServer

func NewEventServer(eventingPlugin sdk.EventService) pb.EventServer

func NewKeyValueServer

func NewKeyValueServer(kvPlugin sdk.KeyValueService) pb.KeyValueServer

func NewQueueServer

func NewQueueServer(plugin sdk.QueueService) pb.QueueServer

func NewStorageServer

func NewStorageServer(storagePlugin sdk.StorageService) pb.StorageServer

func NewTopicServer

func NewTopicServer(eventService sdk.EventService) pb.TopicServer

Types

type DocumentServer

type DocumentServer struct {
	pb.UnimplementedDocumentServiceServer
	// contains filtered or unexported fields
}

DocumentServer - GRPC Interface for registered Nitric Document Plugin

func (*DocumentServer) Delete

func (*DocumentServer) Get

func (*DocumentServer) Query

func (*DocumentServer) Set

type EventServer

type EventServer struct {
	pb.UnimplementedEventServer
	// contains filtered or unexported fields
}

GRPC Interface for registered Nitric Eventing Plugins

func (*EventServer) Publish

type FaasServer

type FaasServer struct {
	pb.UnimplementedFaasServer
	// contains filtered or unexported fields
}

func NewFaasServer

func NewFaasServer(workerPool worker2.WorkerPool) *FaasServer

func (*FaasServer) TriggerStream

func (s *FaasServer) TriggerStream(stream pb.Faas_TriggerStreamServer) error

Starts a new stream A reference to this stream will be passed on to a new worker instance This represents a new server that is ready to begin processing

type KeyValueServer

type KeyValueServer struct {
	pb.UnimplementedKeyValueServer
	// contains filtered or unexported fields
}

GRPC Interface for registered Nitric KV Plugin

func (*KeyValueServer) Delete

func (*KeyValueServer) Get

func (*KeyValueServer) Put

type QueueServer

type QueueServer struct {
	pb.UnimplementedQueueServer
	// contains filtered or unexported fields
}

GRPC Interface for registered Nitric Storage Plugins

func (*QueueServer) Complete

func (*QueueServer) Receive

func (*QueueServer) Send

func (*QueueServer) SendBatch

type StorageServer

type StorageServer struct {
	pb.UnimplementedStorageServer
	// contains filtered or unexported fields
}

GRPC Interface for registered Nitric Storage Plugins

func (*StorageServer) Delete

func (*StorageServer) Read

func (*StorageServer) Write

type TopicServer

type TopicServer struct {
	pb.UnimplementedTopicServer
	// contains filtered or unexported fields
}

func (*TopicServer) List

Jump to

Keyboard shortcuts

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