grpc

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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

func NewUserServer

func NewUserServer(plugin sdk.UserService) pb.UserServer

NewUserServer - Returns a new concrete instance of the GRCP implementation for the Nitric User plugin

Types

type EventServer

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

GRPC Interface for registered Nitric Eventing Plugins

func (*EventServer) Publish

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

type UserServer

type UserServer struct {
	pb.UnimplementedUserServer
	// contains filtered or unexported fields
}

UserServer - GRPC API for the nitric user plugin

func (*UserServer) Create

Create - Creates a new user

Jump to

Keyboard shortcuts

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