memory_app

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// EntityMemoryApp ...
	EntityMemoryApp = 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"

	Version = "0.0.1"
)

Variables

This section is empty.

Functions

func New

func New() supervisor.Pluggable

New ...

func NewAttr

func NewAttr() m.Attributes

NewAttr ...

func NewMetrics added in v0.12.0

func NewMetrics() []*m.Metric

Types

type Actor

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

Actor ...

func NewActor

func NewActor(entity *m.Entity,
	service supervisor.Service) *Actor

NewActor ...

func (*Actor) Destroy added in v0.12.0

func (e *Actor) Destroy()

func (*Actor) Spawn

func (e *Actor) Spawn()

Jump to

Keyboard shortcuts

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