web_runtime_wasm

package
v0.53.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebWorkerWasmPluginInit

type WebWorkerWasmPluginInit struct {

	// Entrypoint is the path to the wasm entrypoint.
	// /b/pd/{plugin-id}/{plugin-id}.wasm
	Entrypoint string `protobuf:"bytes,1,opt,name=entrypoint,proto3" json:"entrypoint,omitempty"`
	// Argv is the set of command line arguments to pass to the plugin.
	Argv []string `protobuf:"bytes,2,rep,name=argv,proto3" json:"argv,omitempty"`
	// Env is the set of environment variables to pass to the plugin.
	Env map[string]string `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

WebWorkerWasmPluginInit is a message passed to initialize a web worker with a wasm plugin.

func (*WebWorkerWasmPluginInit) CloneMessageVT

func (*WebWorkerWasmPluginInit) CloneVT

func (*WebWorkerWasmPluginInit) EqualMessageVT

func (this *WebWorkerWasmPluginInit) EqualMessageVT(thatMsg any) bool

func (*WebWorkerWasmPluginInit) EqualVT

func (*WebWorkerWasmPluginInit) GetArgv

func (x *WebWorkerWasmPluginInit) GetArgv() []string

func (*WebWorkerWasmPluginInit) GetEntrypoint

func (x *WebWorkerWasmPluginInit) GetEntrypoint() string

func (*WebWorkerWasmPluginInit) GetEnv

func (x *WebWorkerWasmPluginInit) GetEnv() map[string]string

func (*WebWorkerWasmPluginInit) MarshalJSON

func (x *WebWorkerWasmPluginInit) MarshalJSON() ([]byte, error)

MarshalJSON marshals the WebWorkerWasmPluginInit to JSON.

func (*WebWorkerWasmPluginInit) MarshalProtoJSON

func (x *WebWorkerWasmPluginInit) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the WebWorkerWasmPluginInit message to JSON.

func (*WebWorkerWasmPluginInit) MarshalProtoText

func (x *WebWorkerWasmPluginInit) MarshalProtoText() string

func (*WebWorkerWasmPluginInit) MarshalToSizedBufferVT

func (m *WebWorkerWasmPluginInit) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*WebWorkerWasmPluginInit) MarshalToVT

func (m *WebWorkerWasmPluginInit) MarshalToVT(dAtA []byte) (int, error)

func (*WebWorkerWasmPluginInit) MarshalVT

func (m *WebWorkerWasmPluginInit) MarshalVT() (dAtA []byte, err error)

func (*WebWorkerWasmPluginInit) ProtoMessage

func (*WebWorkerWasmPluginInit) ProtoMessage()

func (*WebWorkerWasmPluginInit) Reset

func (x *WebWorkerWasmPluginInit) Reset()

func (*WebWorkerWasmPluginInit) SizeVT

func (m *WebWorkerWasmPluginInit) SizeVT() (n int)

func (*WebWorkerWasmPluginInit) String

func (x *WebWorkerWasmPluginInit) String() string

func (*WebWorkerWasmPluginInit) UnmarshalJSON

func (x *WebWorkerWasmPluginInit) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the WebWorkerWasmPluginInit from JSON.

func (*WebWorkerWasmPluginInit) UnmarshalProtoJSON

func (x *WebWorkerWasmPluginInit) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the WebWorkerWasmPluginInit message from JSON.

func (*WebWorkerWasmPluginInit) UnmarshalVT

func (m *WebWorkerWasmPluginInit) UnmarshalVT(dAtA []byte) error

type WebWorkerWasmPluginInit_EnvEntry

type WebWorkerWasmPluginInit_EnvEntry struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*WebWorkerWasmPluginInit_EnvEntry) GetKey

func (*WebWorkerWasmPluginInit_EnvEntry) GetValue

func (*WebWorkerWasmPluginInit_EnvEntry) MarshalJSON

func (x *WebWorkerWasmPluginInit_EnvEntry) MarshalJSON() ([]byte, error)

MarshalJSON marshals the WebWorkerWasmPluginInit_EnvEntry to JSON.

func (*WebWorkerWasmPluginInit_EnvEntry) MarshalProtoJSON

func (x *WebWorkerWasmPluginInit_EnvEntry) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the WebWorkerWasmPluginInit_EnvEntry message to JSON.

func (*WebWorkerWasmPluginInit_EnvEntry) MarshalProtoText

func (x *WebWorkerWasmPluginInit_EnvEntry) MarshalProtoText() string

func (*WebWorkerWasmPluginInit_EnvEntry) ProtoMessage

func (*WebWorkerWasmPluginInit_EnvEntry) ProtoMessage()

func (*WebWorkerWasmPluginInit_EnvEntry) Reset

func (*WebWorkerWasmPluginInit_EnvEntry) String

func (*WebWorkerWasmPluginInit_EnvEntry) UnmarshalJSON

func (x *WebWorkerWasmPluginInit_EnvEntry) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the WebWorkerWasmPluginInit_EnvEntry from JSON.

func (*WebWorkerWasmPluginInit_EnvEntry) UnmarshalProtoJSON

func (x *WebWorkerWasmPluginInit_EnvEntry) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the WebWorkerWasmPluginInit_EnvEntry message from JSON.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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