invoke

package
v0.0.0-...-3b6605c Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const FRAMEWORK_ERROR_INVOKE_ERROR = "INVOKE_ERROR"
View Source
const FRAMEWORK_ERROR_NO_RECEIVERS_AVAILABLE = "NO_RECEIVERS_AVAILABLE"
View Source
const FRAMEWORK_ERROR_PARAMETER_REDIRECT_DESTINATION = "REDIRECT_DESTINATION"

Variables

This section is empty.

Functions

This section is empty.

Types

type DynamicInvoker

type DynamicInvoker struct {
	// contains filtered or unexported fields
}

func NewDynamicInvoker

func NewDynamicInvoker(transportInvoker TransportInvoker, backoff backoff.BackOff, registry actorregistry.ActorRegistryFetcher) DynamicInvoker

func (*DynamicInvoker) Invoke

func (invoker *DynamicInvoker) Invoke(request *invoker.Request) (variant.Assignable, *actionerror.Error)

type PlacementCache

type PlacementCache struct {
	// contains filtered or unexported fields
}

func NewPlacementCache

func NewPlacementCache() *PlacementCache

func (PlacementCache) Delete

func (cache PlacementCache) Delete(prepared [8]byte)

func (PlacementCache) Get

func (cache PlacementCache) Get(prepared [8]byte) *string

func (PlacementCache) Prepare

func (cache PlacementCache) Prepare(actorType string, actorId []string) [8]byte

func (PlacementCache) Update

func (cache PlacementCache) Update(actorType string, actorId []string, appId string)

type TransportHandlerInvokeRequest

type TransportHandlerInvokeRequest struct {
	invoker.Request
	Receiver string
}

type TransportInvoker

type TransportInvoker interface {
	Invoke(req *TransportHandlerInvokeRequest) *invoker.Response
}

TransportInvoker makes it possible to invoke a request to one specific transport receiver.

Jump to

Keyboard shortcuts

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