plugin

package
v0.0.0-...-16672c3 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActorGRPCClient

type ActorGRPCClient struct {
	pb.ActorClient
}

type ActorGRPCServer

type ActorGRPCServer struct {
	pb.UnimplementedActorServer
	// contains filtered or unexported fields
}

func (*ActorGRPCServer) Call

func (s *ActorGRPCServer) Call(ctx context.Context, req *pb.RemoteMessage) (resp *pb.RemoteMessage, err error)

type ActorPlugin

type ActorPlugin struct {
	plugin.Plugin
	Impl api.Actor
}

func (*ActorPlugin) GRPCClient

func (p *ActorPlugin) GRPCClient(ctx context.Context, b *plugin.GRPCBroker, cc *grpc.ClientConn) (interface{}, error)

func (*ActorPlugin) GRPCServer

func (p *ActorPlugin) GRPCServer(b *plugin.GRPCBroker, s *grpc.Server) error

Directories

Path Synopsis
api

Jump to

Keyboard shortcuts

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