Documentation
¶
Overview ¶
Package memory provides the typego:memory module for shared memory and stats.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Types []byte
Functions ¶
Types ¶
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
Factory manages shared memory segments for an engine instance.
func (*Factory) MakeShared ¶
func (f *Factory) MakeShared(name string, size int) *SharedSegment
MakeShared gets or creates a shared memory segment.
type SharedSegment ¶
type SharedSegment struct {
}
SharedSegment represents a named block of memory shared between Go and JS.
Click to show internal directories.
Click to hide internal directories.