blog: github.com/mxplusb/blog/go/virtual-actors/actor-one Index | Files

package actor_two

import "github.com/mxplusb/blog/go/virtual-actors/actor-one"

Index

Package Files

manager.go

type AdditionVirtualActor Uses

type AdditionVirtualActor struct {
    RequestRouter chan interface{}
    Running       bool
    // contains filtered or unexported fields
}

The AdditionVirtualActor reference type.

func NewAdditionVirtualActor Uses

func NewAdditionVirtualActor(settings *AdditionVirtualActorSettings) (*AdditionVirtualActor, error)

func (*AdditionVirtualActor) Run Uses

func (a *AdditionVirtualActor) Run()

type AdditionVirtualActorRequest Uses

type AdditionVirtualActorRequest struct {
    X, Y     int
    Response chan *AdditionVirtualActorResponse
}

type AdditionVirtualActorResponse Uses

type AdditionVirtualActorResponse struct {
    Result int
    Error  error
    Ok     bool
}

type AdditionVirtualActorSettings Uses

type AdditionVirtualActorSettings struct {
    QueueDepth int
    Autostart  bool
}

Settings for AdditionVirtualActor.

Package actor_two imports 2 packages (graph). Updated 2019-12-12. Refresh now. Tools for package owners.