grpc

package
v0.12.0-rc.16 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogArg added in v0.12.0

func LogArg(arg interface{}) string

func NewDocumentServer

func NewDocumentServer(docPlugin document.DocumentService) pb.DocumentServiceServer

func NewEventServiceServer added in v0.2.2

func NewEventServiceServer(eventsPlugin events.EventService) pb.EventServiceServer

func NewGrpcError added in v0.2.3

func NewGrpcError(operation string, err error) error

Provides GRPC error reporting

func NewPluginNotRegisteredError added in v0.6.1

func NewPluginNotRegisteredError(plugin string) error

Provides generic error for unregistered plugins

func NewQueueServiceServer added in v0.2.2

func NewQueueServiceServer(plugin queue.QueueService) pb.QueueServiceServer

func NewSecretServer added in v0.6.0

func NewSecretServer(secretPlugin secret.SecretService) pb.SecretServiceServer

func NewStorageServiceServer added in v0.2.2

func NewStorageServiceServer(storagePlugin storage.StorageService) pb.StorageServiceServer

func NewTopicServiceServer added in v0.2.2

func NewTopicServiceServer(eventService events.EventService) pb.TopicServiceServer

Types

type DocumentServiceServer added in v0.2.3

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

DocumentServiceServer - GRPC Interface for registered Nitric Document Plugin

func (*DocumentServiceServer) Delete added in v0.2.3

func (*DocumentServiceServer) Get added in v0.2.3

func (*DocumentServiceServer) Query added in v0.2.3

func (*DocumentServiceServer) QueryStream added in v0.10.0

func (*DocumentServiceServer) Set added in v0.2.3

type EventServiceServer added in v0.2.2

type EventServiceServer struct {
	pb.UnimplementedEventServiceServer
	// contains filtered or unexported fields
}

GRPC Interface for registered Nitric events Plugins

func (*EventServiceServer) Publish added in v0.2.2

type FaasServer

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

func NewFaasServer

func NewFaasServer(workerPool worker.WorkerPool) *FaasServer

func (*FaasServer) TriggerStream

func (s *FaasServer) TriggerStream(stream pb.FaasService_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 QueueServiceServer added in v0.2.2

type QueueServiceServer struct {
	pb.UnimplementedQueueServiceServer
	// contains filtered or unexported fields
}

GRPC Interface for registered Nitric Storage Plugins

func (*QueueServiceServer) Complete added in v0.2.2

func (*QueueServiceServer) Receive added in v0.2.2

func (*QueueServiceServer) Send added in v0.2.2

func (*QueueServiceServer) SendBatch added in v0.2.2

type SecretServer added in v0.6.0

type SecretServer struct {
	pb.UnimplementedSecretServiceServer
	// contains filtered or unexported fields
}

GRPC Interface for registered Nitric Secret Plugins

func (*SecretServer) Access added in v0.6.0

func (*SecretServer) Put added in v0.6.0

type StorageServiceServer added in v0.2.2

type StorageServiceServer struct {
	pb.UnimplementedStorageServiceServer
	// contains filtered or unexported fields
}

GRPC Interface for registered Nitric Storage Plugins

func (*StorageServiceServer) Delete added in v0.2.2

func (*StorageServiceServer) PreSignUrl added in v0.12.0

func (*StorageServiceServer) Read added in v0.2.2

func (*StorageServiceServer) Write added in v0.2.2

type TopicServiceServer added in v0.2.2

type TopicServiceServer struct {
	pb.UnimplementedTopicServiceServer
	// contains filtered or unexported fields
}

func (*TopicServiceServer) List added in v0.2.2

Jump to

Keyboard shortcuts

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