argument

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IList

type IList interface {
	MessageId() int32     // messageId
	BrowserId() int32     // browserId
	GetName() string      // messageName
	GetEventName() string // eventName
	GetData() any         // messageData
	JSON() json.JSON      // messageData convert JSON
	Bytes() []byte        // messageData convert []byte
	Reset()               // free
}

IList

IPC Argument List Interface

func UnList

func UnList(data []byte) IList

type List

type List struct {
	Id        int32  `json:"id"`        // messageId
	BId       int32  `json:"bid"`       // browserId
	Name      string `json:"name"`      // messageName
	EventName string `json:"eventName"` // eventName
	Data      any    `json:"data"`      // messageData
	// contains filtered or unexported fields
}

List

IPC Argument List

func (*List) BrowserId

func (m *List) BrowserId() int32

func (*List) Bytes

func (m *List) Bytes() []byte

func (*List) GetData

func (m *List) GetData() any

func (*List) GetEventName

func (m *List) GetEventName() string

func (*List) GetName

func (m *List) GetName() string

func (*List) JSON

func (m *List) JSON() json.JSON

func (*List) MessageId

func (m *List) MessageId() int32

func (*List) Reset

func (m *List) Reset()

Jump to

Keyboard shortcuts

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