actor

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2017 License: Apache-2.0 Imports: 5 Imported by: 102

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootID = &ID{}

RootID is the root of the context id hierarchy.

Functions

func Spawn

func Spawn(actorID *ID, wg *sync.WaitGroup, f func())

Spawn starts function `f` as a goroutine making it a member of the `wg` wait group.

Types

type ID

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

func (*ID) NewChild

func (id *ID) NewChild(nameParts ...interface{}) *ID

NewChild creates a child id.

func (*ID) String

func (id *ID) String() string

Jump to

Keyboard shortcuts

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