types

package
v2.3.3 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IArrayValue

type IArrayValue interface {
	Size() uint32
	GetType(index uint32) consts.TCefValueType
	GetBool(index uint32) bool
	GetInt(index uint32) int32
	GetDouble(index uint32) (result float64)
	GetString(index uint32) string
	GetIValue(index uint32) IValue
	GetIBinary(index uint32) IBinaryValue
	GetIObject(index uint32) IObjectValue
	GetIArray(index uint32) IArrayValue
	Free()
}

type IBinaryValue

type IBinaryValue interface {
	GetSize() uint32
	GetData(buffer []byte, dataOffset uint32) uint32
}

type ICefProcessMessageIPC

type ICefProcessMessageIPC interface {
	Instance() uintptr
}

type IObjectValue

type IObjectValue interface {
	Size() uint32
	GetType(key string) consts.TCefValueType
	GetBool(key string) bool
	GetInt(key string) int32
	GetDouble(key string) (result float64)
	GetString(key string) string
	GetIKeys() IV8ValueKeys
	GetIValue(key string) IValue
	GetIBinary(key string) IBinaryValue
	GetIObject(key string) IObjectValue
	GetIArray(key string) IArrayValue
	Free()
}

type IProcessMessage

type IProcessMessage interface {
	EmitRender(messageId int32, eventName string, target target.ITarget, data ...any) bool
}

type IV8ValueKeys

type IV8ValueKeys interface {
	Count() int
	Get(index int) string
	Free()
}

type IValue

type IValue interface {
	GetType() consts.TCefValueType
	GetBool() bool
	GetInt() int32
	GetDouble() (result float64)
	GetString() string
	GetIBinary() IBinaryValue
	GetIObject() IObjectValue
	GetIArray() IArrayValue
	Free()
}

type OnOptions

type OnOptions struct {
	OnType OnType // Listening type, default main process
}

OnOptions Listening options

type OnType

type OnType int8

OnType listening type

const (
	OtMain OnType = iota // Only the main process
	OtSub                // Only the sub process
	OtAll                // All process
)

Jump to

Keyboard shortcuts

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