Documentation
¶
Index ¶
- func CreateHostModule()
- type HostArray
- func (h *HostArray) GetInt(ctx interfaces.HostInterface, keyId int32) int64
- func (h *HostArray) GetLength(ctx interfaces.HostInterface) int32
- func (h *HostArray) GetObject(ctx interfaces.HostInterface, keyId int32, typeId int32) int32
- func (h *HostArray) GetString(ctx interfaces.HostInterface, keyId int32) string
- func (h *HostArray) SetInt(ctx interfaces.HostInterface, keyId int32, value int64)
- func (h *HostArray) SetString(ctx interfaces.HostInterface, keyId int32, value string)
- type HostImpl
- func (h *HostImpl) AddObjects()
- func (h *HostImpl) GetInt(objId int32, keyId int32) int64
- func (h *HostImpl) GetKey(key string) int32
- func (h *HostImpl) GetLength(objId int32) int32
- func (h *HostImpl) GetObject(objId int32, keyId int32, typeId int32) int32
- func (h *HostImpl) GetString(objId int32, keyId int32) string
- func (h *HostImpl) HasError() bool
- func (h *HostImpl) Log(logLevel int, text string)
- func (h *HostImpl) SetError(text string)
- func (h *HostImpl) SetInt(objId int32, keyId int32, value int64)
- func (h *HostImpl) SetString(objId int32, keyId int32, value string)
- type HostMap
- func (h *HostMap) GetInt(ctx interfaces.HostInterface, keyId int32) int64
- func (h *HostMap) GetLength(ctx interfaces.HostInterface) int32
- func (h *HostMap) GetObject(ctx interfaces.HostInterface, keyId int32, typeId int32) int32
- func (h *HostMap) GetString(ctx interfaces.HostInterface, keyId int32) string
- func (h *HostMap) SetInt(ctx interfaces.HostInterface, keyId int32, value int64)
- func (h *HostMap) SetString(ctx interfaces.HostInterface, keyId int32, value string)
- type HostObject
- type Tracker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateHostModule ¶ added in v0.0.9
func CreateHostModule()
Types ¶
type HostArray ¶
type HostArray struct {
// contains filtered or unexported fields
}
func NewHostArray ¶ added in v0.0.13
func (*HostArray) GetInt ¶
func (h *HostArray) GetInt(ctx interfaces.HostInterface, keyId int32) int64
func (*HostArray) GetLength ¶ added in v0.0.13
func (h *HostArray) GetLength(ctx interfaces.HostInterface) int32
func (*HostArray) GetObject ¶ added in v0.0.13
func (h *HostArray) GetObject(ctx interfaces.HostInterface, keyId int32, typeId int32) int32
func (*HostArray) GetString ¶
func (h *HostArray) GetString(ctx interfaces.HostInterface, keyId int32) string
func (*HostArray) SetInt ¶
func (h *HostArray) SetInt(ctx interfaces.HostInterface, keyId int32, value int64)
func (*HostArray) SetString ¶
func (h *HostArray) SetString(ctx interfaces.HostInterface, keyId int32, value string)
type HostImpl ¶ added in v0.0.12
type HostImpl struct {
// contains filtered or unexported fields
}
func NewHostImpl ¶ added in v0.0.12
func NewHostImpl() *HostImpl
func (*HostImpl) AddObjects ¶ added in v0.0.14
func (h *HostImpl) AddObjects()
type HostMap ¶
type HostMap struct {
// contains filtered or unexported fields
}
func NewHostMap ¶ added in v0.0.13
func (*HostMap) GetInt ¶ added in v0.0.5
func (h *HostMap) GetInt(ctx interfaces.HostInterface, keyId int32) int64
func (*HostMap) GetLength ¶ added in v0.0.13
func (h *HostMap) GetLength(ctx interfaces.HostInterface) int32
func (*HostMap) GetObject ¶ added in v0.0.13
func (h *HostMap) GetObject(ctx interfaces.HostInterface, keyId int32, typeId int32) int32
func (*HostMap) GetString ¶ added in v0.0.5
func (h *HostMap) GetString(ctx interfaces.HostInterface, keyId int32) string
func (*HostMap) SetInt ¶ added in v0.0.5
func (h *HostMap) SetInt(ctx interfaces.HostInterface, keyId int32, value int64)
func (*HostMap) SetString ¶ added in v0.0.5
func (h *HostMap) SetString(ctx interfaces.HostInterface, keyId int32, value string)
type HostObject ¶
type HostObject interface {
GetInt(ctx interfaces.HostInterface, keyId int32) int64
GetLength(ctx interfaces.HostInterface) int32
GetObject(ctx interfaces.HostInterface, keyId int32, typeId int32) int32
GetString(ctx interfaces.HostInterface, keyId int32) string
SetInt(ctx interfaces.HostInterface, keyId int32, value int64)
SetString(ctx interfaces.HostInterface, keyId int32, value string)
}
func NewNullObject ¶ added in v0.0.15
func NewNullObject() HostObject
type Tracker ¶ added in v0.0.15
type Tracker struct {
// contains filtered or unexported fields
}
func NewTracker ¶ added in v0.0.15
func NewTracker() *Tracker
func (*Tracker) AddObject ¶ added in v0.0.15
func (h *Tracker) AddObject(obj HostObject) int32
func (*Tracker) GetObject ¶ added in v0.0.15
func (h *Tracker) GetObject(objId int32) HostObject
Source Files
¶
Click to show internal directories.
Click to hide internal directories.