service

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: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SCHEME_ACTOR = "actor"
)

Variables

This section is empty.

Functions

func ActorEndpoint

func ActorEndpoint(actorName, id string) string

Types

type GoletService

type GoletService struct {
	pb.UnimplementedGoletServer

	// actor id -> plugins
	cache.Indexer
	// contains filtered or unexported fields
}

func New

func New() *GoletService

func (*GoletService) Invoke

func (s *GoletService) Invoke(ctx context.Context, in *pb.RemoteMessage) (out *pb.RemoteMessage, err error)

func (*GoletService) List

func (s *GoletService) List(ctx context.Context, in *pb.ListRequest) (out *pb.ListResponse, err error)

func (*GoletService) Load

func (s *GoletService) Load(ctx context.Context, in *pb.LoadRequest) (out *pb.LoadResponse, err error)

func (*GoletService) Shutdown

func (s *GoletService) Shutdown()

func (*GoletService) Unload

func (s *GoletService) Unload(ctx context.Context, in *pb.UnloadRequest) (out *pb.UnloadResponse, err error)

Jump to

Keyboard shortcuts

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