Documentation
¶
Index ¶
- type WebWorkerWasmPluginInit
- func (m *WebWorkerWasmPluginInit) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *WebWorkerWasmPluginInit) CloneVT() *WebWorkerWasmPluginInit
- func (this *WebWorkerWasmPluginInit) EqualMessageVT(thatMsg any) bool
- func (this *WebWorkerWasmPluginInit) EqualVT(that *WebWorkerWasmPluginInit) bool
- func (x *WebWorkerWasmPluginInit) GetArgv() []string
- func (x *WebWorkerWasmPluginInit) GetEntrypoint() string
- func (x *WebWorkerWasmPluginInit) GetEnv() map[string]string
- func (x *WebWorkerWasmPluginInit) MarshalJSON() ([]byte, error)
- func (x *WebWorkerWasmPluginInit) MarshalProtoJSON(s *json.MarshalState)
- func (x *WebWorkerWasmPluginInit) MarshalProtoText() string
- func (m *WebWorkerWasmPluginInit) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *WebWorkerWasmPluginInit) MarshalToVT(dAtA []byte) (int, error)
- func (m *WebWorkerWasmPluginInit) MarshalVT() (dAtA []byte, err error)
- func (*WebWorkerWasmPluginInit) ProtoMessage()
- func (x *WebWorkerWasmPluginInit) Reset()
- func (m *WebWorkerWasmPluginInit) SizeVT() (n int)
- func (x *WebWorkerWasmPluginInit) String() string
- func (x *WebWorkerWasmPluginInit) UnmarshalJSON(b []byte) error
- func (x *WebWorkerWasmPluginInit) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *WebWorkerWasmPluginInit) UnmarshalVT(dAtA []byte) error
- type WebWorkerWasmPluginInit_EnvEntry
- func (x *WebWorkerWasmPluginInit_EnvEntry) GetKey() string
- func (x *WebWorkerWasmPluginInit_EnvEntry) GetValue() string
- func (x *WebWorkerWasmPluginInit_EnvEntry) MarshalJSON() ([]byte, error)
- func (x *WebWorkerWasmPluginInit_EnvEntry) MarshalProtoJSON(s *json.MarshalState)
- func (x *WebWorkerWasmPluginInit_EnvEntry) MarshalProtoText() string
- func (*WebWorkerWasmPluginInit_EnvEntry) ProtoMessage()
- func (x *WebWorkerWasmPluginInit_EnvEntry) Reset()
- func (x *WebWorkerWasmPluginInit_EnvEntry) String() string
- func (x *WebWorkerWasmPluginInit_EnvEntry) UnmarshalJSON(b []byte) error
- func (x *WebWorkerWasmPluginInit_EnvEntry) UnmarshalProtoJSON(s *json.UnmarshalState)
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 (m *WebWorkerWasmPluginInit) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*WebWorkerWasmPluginInit) CloneVT ¶
func (m *WebWorkerWasmPluginInit) CloneVT() *WebWorkerWasmPluginInit
func (*WebWorkerWasmPluginInit) EqualMessageVT ¶
func (this *WebWorkerWasmPluginInit) EqualMessageVT(thatMsg any) bool
func (*WebWorkerWasmPluginInit) EqualVT ¶
func (this *WebWorkerWasmPluginInit) EqualVT(that *WebWorkerWasmPluginInit) bool
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 (x *WebWorkerWasmPluginInit_EnvEntry) GetKey() string
func (*WebWorkerWasmPluginInit_EnvEntry) GetValue ¶
func (x *WebWorkerWasmPluginInit_EnvEntry) GetValue() string
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 (x *WebWorkerWasmPluginInit_EnvEntry) Reset()
func (*WebWorkerWasmPluginInit_EnvEntry) String ¶
func (x *WebWorkerWasmPluginInit_EnvEntry) String() 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.