memory_app

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// EntityMemory ...
	EntityMemory = string("memory_app")

	// AttrAlloc ...
	AttrAlloc = "alloc"

	// AttrHeapAlloc ...
	AttrHeapAlloc = "heap_alloc"

	// AttrTotalAlloc ...
	AttrTotalAlloc = "total_alloc"

	// AttrSys ...
	AttrSys = "sys"

	// AttrNumGC ...
	AttrNumGC = "num_gc"

	// AttrLastGC ...
	AttrLastGC = "last_gc"

	// Name ...
	Name = "memory_app"

	// EntityType ...
	EntityType = "memory_app"
)

Variables

This section is empty.

Functions

func New

func New() plugins.Plugable

New ...

func NewAttr

func NewAttr() m.Attributes

NewAttr ...

Types

type Actor

type Actor struct {
	entity_manager.BaseActor
	// contains filtered or unexported fields
}

Actor ...

func NewActor

func NewActor(entityManager entity_manager.EntityManager,
	eventBus bus.Bus,
	entity *m.Entity) *Actor

NewActor ...

func (*Actor) Spawn

func (e *Actor) Spawn() entity_manager.PluginActor

Spawn ...

Jump to

Keyboard shortcuts

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