host

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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 (*HostArray) GetInt

func (h *HostArray) GetInt(keyId int32) int32

func (*HostArray) GetString

func (h *HostArray) GetString(keyId int32) string

func (*HostArray) SetInt

func (h *HostArray) SetInt(keyId int32, value int32)

func (*HostArray) SetString

func (h *HostArray) SetString(keyId int32, value string)

type HostMap

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

func (HostMap) GetInt added in v0.0.5

func (h HostMap) GetInt(keyId int32) int32

func (HostMap) GetString added in v0.0.5

func (h HostMap) GetString(keyId int32) string

func (HostMap) SetInt added in v0.0.5

func (h HostMap) SetInt(keyId int32, value int32)

func (HostMap) SetString added in v0.0.5

func (h HostMap) SetString(keyId int32, value string)

type HostObject

type HostObject interface {
	GetInt(keyId int32) int32
	GetString(keyId int32) string
	SetInt(keyId int32, value int32)
	SetString(keyId int32, value string)
}

type Logger added in v0.0.9

type Logger func(text string)
var HostLogger Logger = nil

Jump to

Keyboard shortcuts

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