Documentation
¶
Index ¶
- func NewDocumentServer(docPlugin sdk.DocumentService) pb.DocumentServiceServer
- func NewEventServiceServer(eventingPlugin sdk.EventService) pb.EventServiceServer
- func NewQueueServiceServer(plugin sdk.QueueService) pb.QueueServiceServer
- func NewStorageServiceServer(storagePlugin sdk.StorageService) pb.StorageServiceServer
- func NewTopicServiceServer(eventService sdk.EventService) pb.TopicServiceServer
- type DocumentServer
- func (s *DocumentServer) Delete(ctx context.Context, req *pb.DocumentDeleteRequest) (*pb.DocumentDeleteResponse, error)
- func (s *DocumentServer) Get(ctx context.Context, req *pb.DocumentGetRequest) (*pb.DocumentGetResponse, error)
- func (s *DocumentServer) Query(ctx context.Context, req *pb.DocumentQueryRequest) (*pb.DocumentQueryResponse, error)
- func (s *DocumentServer) Set(ctx context.Context, req *pb.DocumentSetRequest) (*pb.DocumentSetResponse, error)
- type EventServiceServer
- type FaasServer
- type QueueServiceServer
- func (s *QueueServiceServer) Complete(ctx context.Context, req *pb.QueueCompleteRequest) (*pb.QueueCompleteResponse, error)
- func (s *QueueServiceServer) Receive(ctx context.Context, req *pb.QueueReceiveRequest) (*pb.QueueReceiveResponse, error)
- func (s *QueueServiceServer) Send(ctx context.Context, req *pb.QueueSendRequest) (*pb.QueueSendResponse, error)
- func (s *QueueServiceServer) SendBatch(ctx context.Context, req *pb.QueueSendBatchRequest) (*pb.QueueSendBatchResponse, error)
- type StorageServiceServer
- func (s *StorageServiceServer) Delete(ctx context.Context, req *pb.StorageDeleteRequest) (*pb.StorageDeleteResponse, error)
- func (s *StorageServiceServer) Read(ctx context.Context, req *pb.StorageReadRequest) (*pb.StorageReadResponse, error)
- func (s *StorageServiceServer) Write(ctx context.Context, req *pb.StorageWriteRequest) (*pb.StorageWriteResponse, error)
- type TopicServiceServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDocumentServer ¶
func NewDocumentServer(docPlugin sdk.DocumentService) pb.DocumentServiceServer
func NewEventServiceServer ¶ added in v0.2.2
func NewEventServiceServer(eventingPlugin sdk.EventService) pb.EventServiceServer
func NewQueueServiceServer ¶ added in v0.2.2
func NewQueueServiceServer(plugin sdk.QueueService) pb.QueueServiceServer
func NewStorageServiceServer ¶ added in v0.2.2
func NewStorageServiceServer(storagePlugin sdk.StorageService) pb.StorageServiceServer
func NewTopicServiceServer ¶ added in v0.2.2
func NewTopicServiceServer(eventService sdk.EventService) pb.TopicServiceServer
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 (s *DocumentServer) Delete(ctx context.Context, req *pb.DocumentDeleteRequest) (*pb.DocumentDeleteResponse, error)
func (*DocumentServer) Get ¶
func (s *DocumentServer) Get(ctx context.Context, req *pb.DocumentGetRequest) (*pb.DocumentGetResponse, error)
func (*DocumentServer) Query ¶
func (s *DocumentServer) Query(ctx context.Context, req *pb.DocumentQueryRequest) (*pb.DocumentQueryResponse, error)
func (*DocumentServer) Set ¶
func (s *DocumentServer) Set(ctx context.Context, req *pb.DocumentSetRequest) (*pb.DocumentSetResponse, error)
type EventServiceServer ¶ added in v0.2.2
type EventServiceServer struct { pb.UnimplementedEventServiceServer // contains filtered or unexported fields }
GRPC Interface for registered Nitric Eventing Plugins
func (*EventServiceServer) Publish ¶ added in v0.2.2
func (s *EventServiceServer) Publish(ctx context.Context, req *pb.EventPublishRequest) (*pb.EventPublishResponse, error)
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 (s *QueueServiceServer) Complete(ctx context.Context, req *pb.QueueCompleteRequest) (*pb.QueueCompleteResponse, error)
func (*QueueServiceServer) Receive ¶ added in v0.2.2
func (s *QueueServiceServer) Receive(ctx context.Context, req *pb.QueueReceiveRequest) (*pb.QueueReceiveResponse, error)
func (*QueueServiceServer) Send ¶ added in v0.2.2
func (s *QueueServiceServer) Send(ctx context.Context, req *pb.QueueSendRequest) (*pb.QueueSendResponse, error)
func (*QueueServiceServer) SendBatch ¶ added in v0.2.2
func (s *QueueServiceServer) SendBatch(ctx context.Context, req *pb.QueueSendBatchRequest) (*pb.QueueSendBatchResponse, error)
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 (s *StorageServiceServer) Delete(ctx context.Context, req *pb.StorageDeleteRequest) (*pb.StorageDeleteResponse, error)
func (*StorageServiceServer) Read ¶ added in v0.2.2
func (s *StorageServiceServer) Read(ctx context.Context, req *pb.StorageReadRequest) (*pb.StorageReadResponse, error)
func (*StorageServiceServer) Write ¶ added in v0.2.2
func (s *StorageServiceServer) Write(ctx context.Context, req *pb.StorageWriteRequest) (*pb.StorageWriteResponse, error)
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
func (s *TopicServiceServer) List(context.Context, *pb.TopicListRequest) (*pb.TopicListResponse, error)
Click to show internal directories.
Click to hide internal directories.