bldr_web_plugin

package
v0.51.6 Latest Latest
Warning

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

Go to latest
Published: May 11, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

README

Web Plugin

The web plugin builder produces a plugin providing a web runtime to the other plugins via the Bldr web_runtime interfaces.

It behaves differently depending on the distribution target and config:

  • Web: forwards requests to the plugin host (the browser provides WebRuntime)
  • Native: includes the Electron redistributable.

Enabling the Plugin

Add the following to your bldr.yaml plugins list and startup plugins:

id: my-project
start:
  plugins:
    - my-project
    - web
plugins:
  web:
  my-project:
    id: bldr/plugin/compiler/go
    config:
      # delveAddr: wait
      goPkgs: [...]

If you don't include "web" in the startup plugins list, you can start it on-demand by adding a LoadPlugin<plugin-id=web> directive.

When the plugin is loaded, it will automatically start the web runtime.

You can optionally include it in the embed plugins list to embed Electron into the distribution binary as well.

Documentation

Index

Constants

View Source
const SRPCWebPluginServiceID = "bldr.web.plugin.WebPlugin"

Variables

This section is empty.

Functions

func NewSRPCWebPluginHandler

func NewSRPCWebPluginHandler(impl SRPCWebPluginServer, serviceID string) srpc.Handler

NewSRPCWebPluginHandler constructs a new RPC handler. serviceID: if empty, uses default: bldr.web.plugin.WebPlugin

func SRPCRegisterWebPlugin

func SRPCRegisterWebPlugin(mux srpc.Mux, impl SRPCWebPluginServer) error

SRPCRegisterWebPlugin registers the implementation with the mux. Uses the default serviceID: bldr.web.plugin.WebPlugin

Types

type HandleRpcViaPluginRequest

type HandleRpcViaPluginRequest struct {

	// HandlePluginId is the plugin the web plugin should send Rpcs to.
	HandlePluginId string `protobuf:"bytes,1,opt,name=handle_plugin_id,json=handlePluginId,proto3" json:"handlePluginId,omitempty"`
	// ServiceIdRe is the regex of service IDs to forward.
	// If empty, will forward any.
	ServiceIdRe string `protobuf:"bytes,2,opt,name=service_id_re,json=serviceIdRe,proto3" json:"serviceIdRe,omitempty"`
	// ServerIdRe is the regex of server IDs to forward for.
	// If empty, will forward any.
	ServerIdRe string `protobuf:"bytes,3,opt,name=server_id_re,json=serverIdRe,proto3" json:"serverIdRe,omitempty"`
	// Backoff is the backoff config for calling the RPC service.
	// If unset, defaults to reasonable defaults.
	Backoff *backoff.Backoff `protobuf:"bytes,4,opt,name=backoff,proto3" json:"backoff,omitempty"`
	// contains filtered or unexported fields
}

HandleRpcViaPluginRequest is a request to handle web views via a plugin RPC.

func (*HandleRpcViaPluginRequest) CloneMessageVT

func (*HandleRpcViaPluginRequest) CloneVT

func (*HandleRpcViaPluginRequest) EqualMessageVT

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

func (*HandleRpcViaPluginRequest) EqualVT

func (*HandleRpcViaPluginRequest) GetBackoff

func (x *HandleRpcViaPluginRequest) GetBackoff() *backoff.Backoff

func (*HandleRpcViaPluginRequest) GetHandlePluginId

func (x *HandleRpcViaPluginRequest) GetHandlePluginId() string

func (*HandleRpcViaPluginRequest) GetServerIdRe

func (x *HandleRpcViaPluginRequest) GetServerIdRe() string

func (*HandleRpcViaPluginRequest) GetServiceIdRe

func (x *HandleRpcViaPluginRequest) GetServiceIdRe() string

func (*HandleRpcViaPluginRequest) MarshalJSON

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

MarshalJSON marshals the HandleRpcViaPluginRequest to JSON.

func (*HandleRpcViaPluginRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the HandleRpcViaPluginRequest message to JSON.

func (*HandleRpcViaPluginRequest) MarshalProtoText

func (x *HandleRpcViaPluginRequest) MarshalProtoText() string

func (*HandleRpcViaPluginRequest) MarshalToSizedBufferVT

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

func (*HandleRpcViaPluginRequest) MarshalToVT

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

func (*HandleRpcViaPluginRequest) MarshalVT

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

func (*HandleRpcViaPluginRequest) ProtoMessage

func (*HandleRpcViaPluginRequest) ProtoMessage()

func (*HandleRpcViaPluginRequest) Reset

func (x *HandleRpcViaPluginRequest) Reset()

func (*HandleRpcViaPluginRequest) SizeVT

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

func (*HandleRpcViaPluginRequest) String

func (x *HandleRpcViaPluginRequest) String() string

func (*HandleRpcViaPluginRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the HandleRpcViaPluginRequest from JSON.

func (*HandleRpcViaPluginRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the HandleRpcViaPluginRequest message from JSON.

func (*HandleRpcViaPluginRequest) UnmarshalVT

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

func (*HandleRpcViaPluginRequest) Validate

func (m *HandleRpcViaPluginRequest) Validate() error

Validate validates the HandleRpcViaPluginRequest configuration.

type HandleRpcViaPluginResponse

type HandleRpcViaPluginResponse struct {

	// Types that are assignable to Body:
	//
	//	*HandleRpcViaPluginResponse_Ready
	Body isHandleRpcViaPluginResponse_Body `protobuf_oneof:"body"`
	// contains filtered or unexported fields
}

HandleRpcViaPluginResponse is the response to HandleRpcViaPlugin.

func (*HandleRpcViaPluginResponse) CloneMessageVT

func (*HandleRpcViaPluginResponse) CloneVT

func (*HandleRpcViaPluginResponse) EqualMessageVT

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

func (*HandleRpcViaPluginResponse) EqualVT

func (*HandleRpcViaPluginResponse) GetBody

func (m *HandleRpcViaPluginResponse) GetBody() isHandleRpcViaPluginResponse_Body

func (*HandleRpcViaPluginResponse) GetReady

func (x *HandleRpcViaPluginResponse) GetReady() bool

func (*HandleRpcViaPluginResponse) MarshalJSON

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

MarshalJSON marshals the HandleRpcViaPluginResponse to JSON.

func (*HandleRpcViaPluginResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the HandleRpcViaPluginResponse message to JSON.

func (*HandleRpcViaPluginResponse) MarshalProtoText

func (x *HandleRpcViaPluginResponse) MarshalProtoText() string

func (*HandleRpcViaPluginResponse) MarshalToSizedBufferVT

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

func (*HandleRpcViaPluginResponse) MarshalToVT

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

func (*HandleRpcViaPluginResponse) MarshalVT

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

func (*HandleRpcViaPluginResponse) ProtoMessage

func (*HandleRpcViaPluginResponse) ProtoMessage()

func (*HandleRpcViaPluginResponse) Reset

func (x *HandleRpcViaPluginResponse) Reset()

func (*HandleRpcViaPluginResponse) SizeVT

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

func (*HandleRpcViaPluginResponse) String

func (x *HandleRpcViaPluginResponse) String() string

func (*HandleRpcViaPluginResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the HandleRpcViaPluginResponse from JSON.

func (*HandleRpcViaPluginResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the HandleRpcViaPluginResponse message from JSON.

func (*HandleRpcViaPluginResponse) UnmarshalVT

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

type HandleRpcViaPluginResponse_Ready

type HandleRpcViaPluginResponse_Ready struct {
	// Ready indicates the service to forward rpcs has been started.
	Ready bool `protobuf:"varint,1,opt,name=ready,proto3,oneof"`
}

func (*HandleRpcViaPluginResponse_Ready) CloneOneofVT

func (m *HandleRpcViaPluginResponse_Ready) CloneOneofVT() isHandleRpcViaPluginResponse_Body

func (*HandleRpcViaPluginResponse_Ready) CloneVT

func (*HandleRpcViaPluginResponse_Ready) EqualVT

func (this *HandleRpcViaPluginResponse_Ready) EqualVT(thatIface isHandleRpcViaPluginResponse_Body) bool

func (*HandleRpcViaPluginResponse_Ready) MarshalToSizedBufferVT

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

func (*HandleRpcViaPluginResponse_Ready) MarshalToVT

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

func (*HandleRpcViaPluginResponse_Ready) SizeVT

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

type HandleWebPkgViaPluginRequest

type HandleWebPkgViaPluginRequest struct {

	// HandlePluginId is the plugin the web plugin should send WebViews to.
	HandlePluginId string `protobuf:"bytes,1,opt,name=handle_plugin_id,json=handlePluginId,proto3" json:"handlePluginId,omitempty"`
	// WebPkgIdRe is a regex string to match web pkgs IDs.
	// Set to '.*' or empty to match all web pkgs ids.
	WebPkgIdRe string `protobuf:"bytes,2,opt,name=web_pkg_id_re,json=webPkgIdRe,proto3" json:"webPkgIdRe,omitempty"`
	// WebPkgIdPrefixes is a list of web pkg id prefixes to match.
	// If the value is in this list, overrides web_pkg_id_re.
	// Set to '.*' or empty to match all web pkgs ids.
	WebPkgIdPrefixes []string `protobuf:"bytes,3,rep,name=web_pkg_id_prefixes,json=webPkgIdPrefixes,proto3" json:"webPkgIdPrefixes,omitempty"`
	// WebPkgIdList is a list of web pkg IDs to resolve.
	// If the value is in this list, overrides web_pkg_id_re and web_pkg_id_prefixes.
	// Ignored if empty.
	WebPkgIdList []string `protobuf:"bytes,4,rep,name=web_pkg_id_list,json=webPkgIdList,proto3" json:"webPkgIdList,omitempty"`
	// contains filtered or unexported fields
}

HandleWebPkgViaPluginRequest is a request to handle web pkgs via a plugin RPC.

func (*HandleWebPkgViaPluginRequest) CloneMessageVT

func (*HandleWebPkgViaPluginRequest) CloneVT

func (*HandleWebPkgViaPluginRequest) EqualMessageVT

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

func (*HandleWebPkgViaPluginRequest) EqualVT

func (*HandleWebPkgViaPluginRequest) GetHandlePluginId

func (x *HandleWebPkgViaPluginRequest) GetHandlePluginId() string

func (*HandleWebPkgViaPluginRequest) GetWebPkgIdList

func (x *HandleWebPkgViaPluginRequest) GetWebPkgIdList() []string

func (*HandleWebPkgViaPluginRequest) GetWebPkgIdPrefixes

func (x *HandleWebPkgViaPluginRequest) GetWebPkgIdPrefixes() []string

func (*HandleWebPkgViaPluginRequest) GetWebPkgIdRe

func (x *HandleWebPkgViaPluginRequest) GetWebPkgIdRe() string

func (*HandleWebPkgViaPluginRequest) MarshalJSON

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

MarshalJSON marshals the HandleWebPkgViaPluginRequest to JSON.

func (*HandleWebPkgViaPluginRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the HandleWebPkgViaPluginRequest message to JSON.

func (*HandleWebPkgViaPluginRequest) MarshalProtoText

func (x *HandleWebPkgViaPluginRequest) MarshalProtoText() string

func (*HandleWebPkgViaPluginRequest) MarshalToSizedBufferVT

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

func (*HandleWebPkgViaPluginRequest) MarshalToVT

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

func (*HandleWebPkgViaPluginRequest) MarshalVT

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

func (*HandleWebPkgViaPluginRequest) ProtoMessage

func (*HandleWebPkgViaPluginRequest) ProtoMessage()

func (*HandleWebPkgViaPluginRequest) Reset

func (x *HandleWebPkgViaPluginRequest) Reset()

func (*HandleWebPkgViaPluginRequest) SizeVT

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

func (*HandleWebPkgViaPluginRequest) String

func (*HandleWebPkgViaPluginRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the HandleWebPkgViaPluginRequest from JSON.

func (*HandleWebPkgViaPluginRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the HandleWebPkgViaPluginRequest message from JSON.

func (*HandleWebPkgViaPluginRequest) UnmarshalVT

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

func (*HandleWebPkgViaPluginRequest) Validate

func (m *HandleWebPkgViaPluginRequest) Validate() error

Validate validates the HandleWebPkgViaPluginRequest configuration.

type HandleWebPkgViaPluginResponse

type HandleWebPkgViaPluginResponse struct {

	// Types that are assignable to Body:
	//
	//	*HandleWebPkgViaPluginResponse_Ready
	Body isHandleWebPkgViaPluginResponse_Body `protobuf_oneof:"body"`
	// contains filtered or unexported fields
}

HandleWebPkgViaPluginResponse is the response to HandleWebPkgViaPlugin.

func (*HandleWebPkgViaPluginResponse) CloneMessageVT

func (*HandleWebPkgViaPluginResponse) CloneVT

func (*HandleWebPkgViaPluginResponse) EqualMessageVT

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

func (*HandleWebPkgViaPluginResponse) EqualVT

func (*HandleWebPkgViaPluginResponse) GetBody

func (m *HandleWebPkgViaPluginResponse) GetBody() isHandleWebPkgViaPluginResponse_Body

func (*HandleWebPkgViaPluginResponse) GetReady

func (x *HandleWebPkgViaPluginResponse) GetReady() bool

func (*HandleWebPkgViaPluginResponse) MarshalJSON

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

MarshalJSON marshals the HandleWebPkgViaPluginResponse to JSON.

func (*HandleWebPkgViaPluginResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the HandleWebPkgViaPluginResponse message to JSON.

func (*HandleWebPkgViaPluginResponse) MarshalProtoText

func (x *HandleWebPkgViaPluginResponse) MarshalProtoText() string

func (*HandleWebPkgViaPluginResponse) MarshalToSizedBufferVT

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

func (*HandleWebPkgViaPluginResponse) MarshalToVT

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

func (*HandleWebPkgViaPluginResponse) MarshalVT

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

func (*HandleWebPkgViaPluginResponse) ProtoMessage

func (*HandleWebPkgViaPluginResponse) ProtoMessage()

func (*HandleWebPkgViaPluginResponse) Reset

func (x *HandleWebPkgViaPluginResponse) Reset()

func (*HandleWebPkgViaPluginResponse) SizeVT

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

func (*HandleWebPkgViaPluginResponse) String

func (*HandleWebPkgViaPluginResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the HandleWebPkgViaPluginResponse from JSON.

func (*HandleWebPkgViaPluginResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the HandleWebPkgViaPluginResponse message from JSON.

func (*HandleWebPkgViaPluginResponse) UnmarshalVT

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

type HandleWebPkgViaPluginResponse_Ready

type HandleWebPkgViaPluginResponse_Ready struct {
	// Ready indicates the service to forward rpcs has been started.
	Ready bool `protobuf:"varint,1,opt,name=ready,proto3,oneof"`
}

func (*HandleWebPkgViaPluginResponse_Ready) CloneOneofVT

func (m *HandleWebPkgViaPluginResponse_Ready) CloneOneofVT() isHandleWebPkgViaPluginResponse_Body

func (*HandleWebPkgViaPluginResponse_Ready) CloneVT

func (*HandleWebPkgViaPluginResponse_Ready) EqualVT

func (this *HandleWebPkgViaPluginResponse_Ready) EqualVT(thatIface isHandleWebPkgViaPluginResponse_Body) bool

func (*HandleWebPkgViaPluginResponse_Ready) MarshalToSizedBufferVT

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

func (*HandleWebPkgViaPluginResponse_Ready) MarshalToVT

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

func (*HandleWebPkgViaPluginResponse_Ready) SizeVT

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

type HandleWebPkgsViaPluginAssetsRequest

type HandleWebPkgsViaPluginAssetsRequest struct {

	// HandlePluginId is the plugin the web plugin should use for serving assets.
	HandlePluginId string `protobuf:"bytes,1,opt,name=handle_plugin_id,json=handlePluginId,proto3" json:"handlePluginId,omitempty"`
	// WebPkgsPath is the sub-directory of the plugin assets fs to look up the web pkgs root.
	WebPkgsPath string `protobuf:"bytes,2,opt,name=web_pkgs_path,json=webPkgsPath,proto3" json:"webPkgsPath,omitempty"`
	// WebPkgIdList is a list of web pkg IDs to resolve with the plugin assets fs.
	// Must be at least one web pkg listed.
	WebPkgIdList []string `protobuf:"bytes,3,rep,name=web_pkg_id_list,json=webPkgIdList,proto3" json:"webPkgIdList,omitempty"`
	// contains filtered or unexported fields
}

HandleWebPkgsViaPluginAssetsRequest is a request to serve web pkgs via a plugin assets fs.

func (*HandleWebPkgsViaPluginAssetsRequest) CloneMessageVT

func (*HandleWebPkgsViaPluginAssetsRequest) CloneVT

func (*HandleWebPkgsViaPluginAssetsRequest) EqualMessageVT

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

func (*HandleWebPkgsViaPluginAssetsRequest) EqualVT

func (*HandleWebPkgsViaPluginAssetsRequest) GetHandlePluginId

func (x *HandleWebPkgsViaPluginAssetsRequest) GetHandlePluginId() string

func (*HandleWebPkgsViaPluginAssetsRequest) GetWebPkgIdList

func (x *HandleWebPkgsViaPluginAssetsRequest) GetWebPkgIdList() []string

func (*HandleWebPkgsViaPluginAssetsRequest) GetWebPkgsPath

func (x *HandleWebPkgsViaPluginAssetsRequest) GetWebPkgsPath() string

func (*HandleWebPkgsViaPluginAssetsRequest) MarshalJSON

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

MarshalJSON marshals the HandleWebPkgsViaPluginAssetsRequest to JSON.

func (*HandleWebPkgsViaPluginAssetsRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the HandleWebPkgsViaPluginAssetsRequest message to JSON.

func (*HandleWebPkgsViaPluginAssetsRequest) MarshalProtoText

func (x *HandleWebPkgsViaPluginAssetsRequest) MarshalProtoText() string

func (*HandleWebPkgsViaPluginAssetsRequest) MarshalToSizedBufferVT

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

func (*HandleWebPkgsViaPluginAssetsRequest) MarshalToVT

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

func (*HandleWebPkgsViaPluginAssetsRequest) MarshalVT

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

func (*HandleWebPkgsViaPluginAssetsRequest) ProtoMessage

func (*HandleWebPkgsViaPluginAssetsRequest) ProtoMessage()

func (*HandleWebPkgsViaPluginAssetsRequest) Reset

func (*HandleWebPkgsViaPluginAssetsRequest) SizeVT

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

func (*HandleWebPkgsViaPluginAssetsRequest) String

func (*HandleWebPkgsViaPluginAssetsRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the HandleWebPkgsViaPluginAssetsRequest from JSON.

func (*HandleWebPkgsViaPluginAssetsRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the HandleWebPkgsViaPluginAssetsRequest message from JSON.

func (*HandleWebPkgsViaPluginAssetsRequest) UnmarshalVT

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

func (*HandleWebPkgsViaPluginAssetsRequest) Validate

Validate validates the HandleWebPkgsViaPluginAssetsRequest configuration.

type HandleWebPkgsViaPluginAssetsResponse

type HandleWebPkgsViaPluginAssetsResponse struct {

	// Types that are assignable to Body:
	//
	//	*HandleWebPkgsViaPluginAssetsResponse_Ready
	Body isHandleWebPkgsViaPluginAssetsResponse_Body `protobuf_oneof:"body"`
	// contains filtered or unexported fields
}

HandleWebPkgsViaPluginAssetsResponse is the response to HandleWebPkgsViaPluginAssets.

func (*HandleWebPkgsViaPluginAssetsResponse) CloneMessageVT

func (*HandleWebPkgsViaPluginAssetsResponse) CloneVT

func (*HandleWebPkgsViaPluginAssetsResponse) EqualMessageVT

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

func (*HandleWebPkgsViaPluginAssetsResponse) EqualVT

func (*HandleWebPkgsViaPluginAssetsResponse) GetBody

func (m *HandleWebPkgsViaPluginAssetsResponse) GetBody() isHandleWebPkgsViaPluginAssetsResponse_Body

func (*HandleWebPkgsViaPluginAssetsResponse) GetReady

func (*HandleWebPkgsViaPluginAssetsResponse) MarshalJSON

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

MarshalJSON marshals the HandleWebPkgsViaPluginAssetsResponse to JSON.

func (*HandleWebPkgsViaPluginAssetsResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the HandleWebPkgsViaPluginAssetsResponse message to JSON.

func (*HandleWebPkgsViaPluginAssetsResponse) MarshalProtoText

func (x *HandleWebPkgsViaPluginAssetsResponse) MarshalProtoText() string

func (*HandleWebPkgsViaPluginAssetsResponse) MarshalToSizedBufferVT

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

func (*HandleWebPkgsViaPluginAssetsResponse) MarshalToVT

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

func (*HandleWebPkgsViaPluginAssetsResponse) MarshalVT

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

func (*HandleWebPkgsViaPluginAssetsResponse) ProtoMessage

func (*HandleWebPkgsViaPluginAssetsResponse) ProtoMessage()

func (*HandleWebPkgsViaPluginAssetsResponse) Reset

func (*HandleWebPkgsViaPluginAssetsResponse) SizeVT

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

func (*HandleWebPkgsViaPluginAssetsResponse) String

func (*HandleWebPkgsViaPluginAssetsResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the HandleWebPkgsViaPluginAssetsResponse from JSON.

func (*HandleWebPkgsViaPluginAssetsResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the HandleWebPkgsViaPluginAssetsResponse message from JSON.

func (*HandleWebPkgsViaPluginAssetsResponse) UnmarshalVT

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

type HandleWebPkgsViaPluginAssetsResponse_Ready

type HandleWebPkgsViaPluginAssetsResponse_Ready struct {
	// Ready indicates the service has been configured.
	Ready bool `protobuf:"varint,1,opt,name=ready,proto3,oneof"`
}

func (*HandleWebPkgsViaPluginAssetsResponse_Ready) CloneOneofVT

func (m *HandleWebPkgsViaPluginAssetsResponse_Ready) CloneOneofVT() isHandleWebPkgsViaPluginAssetsResponse_Body

func (*HandleWebPkgsViaPluginAssetsResponse_Ready) CloneVT

func (*HandleWebPkgsViaPluginAssetsResponse_Ready) EqualVT

func (this *HandleWebPkgsViaPluginAssetsResponse_Ready) EqualVT(thatIface isHandleWebPkgsViaPluginAssetsResponse_Body) bool

func (*HandleWebPkgsViaPluginAssetsResponse_Ready) MarshalToSizedBufferVT

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

func (*HandleWebPkgsViaPluginAssetsResponse_Ready) MarshalToVT

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

func (*HandleWebPkgsViaPluginAssetsResponse_Ready) SizeVT

type HandleWebViewViaHandlersRequest

type HandleWebViewViaHandlersRequest struct {

	// Config is the web view handlers configuration.
	Config *handler.WebViewHandlersConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

HandleWebViewViaHandlersRequest is a request to configure web view handlers.

func (*HandleWebViewViaHandlersRequest) CloneMessageVT

func (*HandleWebViewViaHandlersRequest) CloneVT

func (*HandleWebViewViaHandlersRequest) EqualMessageVT

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

func (*HandleWebViewViaHandlersRequest) EqualVT

func (*HandleWebViewViaHandlersRequest) GetConfig

func (*HandleWebViewViaHandlersRequest) MarshalJSON

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

MarshalJSON marshals the HandleWebViewViaHandlersRequest to JSON.

func (*HandleWebViewViaHandlersRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the HandleWebViewViaHandlersRequest message to JSON.

func (*HandleWebViewViaHandlersRequest) MarshalProtoText

func (x *HandleWebViewViaHandlersRequest) MarshalProtoText() string

func (*HandleWebViewViaHandlersRequest) MarshalToSizedBufferVT

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

func (*HandleWebViewViaHandlersRequest) MarshalToVT

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

func (*HandleWebViewViaHandlersRequest) MarshalVT

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

func (*HandleWebViewViaHandlersRequest) ProtoMessage

func (*HandleWebViewViaHandlersRequest) ProtoMessage()

func (*HandleWebViewViaHandlersRequest) Reset

func (*HandleWebViewViaHandlersRequest) SizeVT

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

func (*HandleWebViewViaHandlersRequest) String

func (*HandleWebViewViaHandlersRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the HandleWebViewViaHandlersRequest from JSON.

func (*HandleWebViewViaHandlersRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the HandleWebViewViaHandlersRequest message from JSON.

func (*HandleWebViewViaHandlersRequest) UnmarshalVT

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

func (*HandleWebViewViaHandlersRequest) Validate

func (m *HandleWebViewViaHandlersRequest) Validate() error

Validate validates the HandleWebViewViaHandlersRequest configuration.

type HandleWebViewViaHandlersResponse

type HandleWebViewViaHandlersResponse struct {

	// Types that are assignable to Body:
	//
	//	*HandleWebViewViaHandlersResponse_Ready
	Body isHandleWebViewViaHandlersResponse_Body `protobuf_oneof:"body"`
	// contains filtered or unexported fields
}

HandleWebViewViaHandlersResponse is the response to HandleWebViewViaHandlers.

func (*HandleWebViewViaHandlersResponse) CloneMessageVT

func (*HandleWebViewViaHandlersResponse) CloneVT

func (*HandleWebViewViaHandlersResponse) EqualMessageVT

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

func (*HandleWebViewViaHandlersResponse) EqualVT

func (*HandleWebViewViaHandlersResponse) GetBody

func (m *HandleWebViewViaHandlersResponse) GetBody() isHandleWebViewViaHandlersResponse_Body

func (*HandleWebViewViaHandlersResponse) GetReady

func (x *HandleWebViewViaHandlersResponse) GetReady() bool

func (*HandleWebViewViaHandlersResponse) MarshalJSON

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

MarshalJSON marshals the HandleWebViewViaHandlersResponse to JSON.

func (*HandleWebViewViaHandlersResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the HandleWebViewViaHandlersResponse message to JSON.

func (*HandleWebViewViaHandlersResponse) MarshalProtoText

func (x *HandleWebViewViaHandlersResponse) MarshalProtoText() string

func (*HandleWebViewViaHandlersResponse) MarshalToSizedBufferVT

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

func (*HandleWebViewViaHandlersResponse) MarshalToVT

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

func (*HandleWebViewViaHandlersResponse) MarshalVT

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

func (*HandleWebViewViaHandlersResponse) ProtoMessage

func (*HandleWebViewViaHandlersResponse) ProtoMessage()

func (*HandleWebViewViaHandlersResponse) Reset

func (*HandleWebViewViaHandlersResponse) SizeVT

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

func (*HandleWebViewViaHandlersResponse) String

func (*HandleWebViewViaHandlersResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the HandleWebViewViaHandlersResponse from JSON.

func (*HandleWebViewViaHandlersResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the HandleWebViewViaHandlersResponse message from JSON.

func (*HandleWebViewViaHandlersResponse) UnmarshalVT

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

type HandleWebViewViaHandlersResponse_Ready

type HandleWebViewViaHandlersResponse_Ready struct {
	// Ready indicates the handlers have been configured.
	Ready bool `protobuf:"varint,1,opt,name=ready,proto3,oneof"`
}

func (*HandleWebViewViaHandlersResponse_Ready) CloneOneofVT

func (m *HandleWebViewViaHandlersResponse_Ready) CloneOneofVT() isHandleWebViewViaHandlersResponse_Body

func (*HandleWebViewViaHandlersResponse_Ready) CloneVT

func (*HandleWebViewViaHandlersResponse_Ready) EqualVT

func (this *HandleWebViewViaHandlersResponse_Ready) EqualVT(thatIface isHandleWebViewViaHandlersResponse_Body) bool

func (*HandleWebViewViaHandlersResponse_Ready) MarshalToSizedBufferVT

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

func (*HandleWebViewViaHandlersResponse_Ready) MarshalToVT

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

func (*HandleWebViewViaHandlersResponse_Ready) SizeVT

type HandleWebViewViaPluginRequest

type HandleWebViewViaPluginRequest struct {

	// HandlePluginId is the plugin the web plugin should send WebViews to.
	HandlePluginId string `protobuf:"bytes,1,opt,name=handle_plugin_id,json=handlePluginId,proto3" json:"handlePluginId,omitempty"`
	// WebViewIdRe is the regex of web view IDs to handle with handlePluginId.
	// If empty, will forward any.
	WebViewIdRe string `protobuf:"bytes,2,opt,name=web_view_id_re,json=webViewIdRe,proto3" json:"webViewIdRe,omitempty"`
	// contains filtered or unexported fields
}

HandleWebViewViaPluginRequest is a request to handle web views via a plugin RPC.

func (*HandleWebViewViaPluginRequest) CloneMessageVT

func (*HandleWebViewViaPluginRequest) CloneVT

func (*HandleWebViewViaPluginRequest) EqualMessageVT

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

func (*HandleWebViewViaPluginRequest) EqualVT

func (*HandleWebViewViaPluginRequest) GetHandlePluginId

func (x *HandleWebViewViaPluginRequest) GetHandlePluginId() string

func (*HandleWebViewViaPluginRequest) GetWebViewIdRe

func (x *HandleWebViewViaPluginRequest) GetWebViewIdRe() string

func (*HandleWebViewViaPluginRequest) MarshalJSON

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

MarshalJSON marshals the HandleWebViewViaPluginRequest to JSON.

func (*HandleWebViewViaPluginRequest) MarshalProtoJSON

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

MarshalProtoJSON marshals the HandleWebViewViaPluginRequest message to JSON.

func (*HandleWebViewViaPluginRequest) MarshalProtoText

func (x *HandleWebViewViaPluginRequest) MarshalProtoText() string

func (*HandleWebViewViaPluginRequest) MarshalToSizedBufferVT

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

func (*HandleWebViewViaPluginRequest) MarshalToVT

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

func (*HandleWebViewViaPluginRequest) MarshalVT

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

func (*HandleWebViewViaPluginRequest) ProtoMessage

func (*HandleWebViewViaPluginRequest) ProtoMessage()

func (*HandleWebViewViaPluginRequest) Reset

func (x *HandleWebViewViaPluginRequest) Reset()

func (*HandleWebViewViaPluginRequest) SizeVT

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

func (*HandleWebViewViaPluginRequest) String

func (*HandleWebViewViaPluginRequest) UnmarshalJSON

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

UnmarshalJSON unmarshals the HandleWebViewViaPluginRequest from JSON.

func (*HandleWebViewViaPluginRequest) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the HandleWebViewViaPluginRequest message from JSON.

func (*HandleWebViewViaPluginRequest) UnmarshalVT

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

func (*HandleWebViewViaPluginRequest) Validate

func (m *HandleWebViewViaPluginRequest) Validate() error

Validate validates the HandleWebViewViaPluginRequest configuration.

type HandleWebViewViaPluginResponse

type HandleWebViewViaPluginResponse struct {

	// Types that are assignable to Body:
	//
	//	*HandleWebViewViaPluginResponse_Ready
	Body isHandleWebViewViaPluginResponse_Body `protobuf_oneof:"body"`
	// contains filtered or unexported fields
}

HandleWebViewViaPluginResponse is the response to HandleWebViewViaPlugin.

func (*HandleWebViewViaPluginResponse) CloneMessageVT

func (*HandleWebViewViaPluginResponse) CloneVT

func (*HandleWebViewViaPluginResponse) EqualMessageVT

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

func (*HandleWebViewViaPluginResponse) EqualVT

func (*HandleWebViewViaPluginResponse) GetBody

func (m *HandleWebViewViaPluginResponse) GetBody() isHandleWebViewViaPluginResponse_Body

func (*HandleWebViewViaPluginResponse) GetReady

func (x *HandleWebViewViaPluginResponse) GetReady() bool

func (*HandleWebViewViaPluginResponse) MarshalJSON

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

MarshalJSON marshals the HandleWebViewViaPluginResponse to JSON.

func (*HandleWebViewViaPluginResponse) MarshalProtoJSON

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

MarshalProtoJSON marshals the HandleWebViewViaPluginResponse message to JSON.

func (*HandleWebViewViaPluginResponse) MarshalProtoText

func (x *HandleWebViewViaPluginResponse) MarshalProtoText() string

func (*HandleWebViewViaPluginResponse) MarshalToSizedBufferVT

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

func (*HandleWebViewViaPluginResponse) MarshalToVT

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

func (*HandleWebViewViaPluginResponse) MarshalVT

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

func (*HandleWebViewViaPluginResponse) ProtoMessage

func (*HandleWebViewViaPluginResponse) ProtoMessage()

func (*HandleWebViewViaPluginResponse) Reset

func (x *HandleWebViewViaPluginResponse) Reset()

func (*HandleWebViewViaPluginResponse) SizeVT

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

func (*HandleWebViewViaPluginResponse) String

func (*HandleWebViewViaPluginResponse) UnmarshalJSON

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

UnmarshalJSON unmarshals the HandleWebViewViaPluginResponse from JSON.

func (*HandleWebViewViaPluginResponse) UnmarshalProtoJSON

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

UnmarshalProtoJSON unmarshals the HandleWebViewViaPluginResponse message from JSON.

func (*HandleWebViewViaPluginResponse) UnmarshalVT

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

type HandleWebViewViaPluginResponse_Ready

type HandleWebViewViaPluginResponse_Ready struct {
	// Ready indicates the service to forward rpcs has been started.
	Ready bool `protobuf:"varint,1,opt,name=ready,proto3,oneof"`
}

func (*HandleWebViewViaPluginResponse_Ready) CloneOneofVT

func (m *HandleWebViewViaPluginResponse_Ready) CloneOneofVT() isHandleWebViewViaPluginResponse_Body

func (*HandleWebViewViaPluginResponse_Ready) CloneVT

func (*HandleWebViewViaPluginResponse_Ready) EqualVT

func (this *HandleWebViewViaPluginResponse_Ready) EqualVT(thatIface isHandleWebViewViaPluginResponse_Body) bool

func (*HandleWebViewViaPluginResponse_Ready) MarshalToSizedBufferVT

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

func (*HandleWebViewViaPluginResponse_Ready) MarshalToVT

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

func (*HandleWebViewViaPluginResponse_Ready) SizeVT

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

type SRPCWebPluginClient

type SRPCWebPluginClient interface {
	// SRPCClient returns the underlying SRPC client.
	SRPCClient() srpc.Client

	// HandleWebViewViaPlugin configures handling web views via a plugin.
	HandleWebViewViaPlugin(ctx context.Context, in *HandleWebViewViaPluginRequest) (SRPCWebPlugin_HandleWebViewViaPluginClient, error)
	// HandleWebPkgViaPlugin configures handling web packages via a plugin.
	HandleWebPkgViaPlugin(ctx context.Context, in *HandleWebPkgViaPluginRequest) (SRPCWebPlugin_HandleWebPkgViaPluginClient, error)
	// HandleRpcViaPlugin configures handling rpcs via a plugin.
	HandleRpcViaPlugin(ctx context.Context, in *HandleRpcViaPluginRequest) (SRPCWebPlugin_HandleRpcViaPluginClient, error)
	// HandleWebViewViaHandlers configures web view handlers with filtering.
	HandleWebViewViaHandlers(ctx context.Context, in *HandleWebViewViaHandlersRequest) (SRPCWebPlugin_HandleWebViewViaHandlersClient, error)
	// HandleWebPkgsViaPluginAssets configures serving web pkgs via a plugin assets fs.
	HandleWebPkgsViaPluginAssets(ctx context.Context, in *HandleWebPkgsViaPluginAssetsRequest) (SRPCWebPlugin_HandleWebPkgsViaPluginAssetsClient, error)
}

func NewSRPCWebPluginClient

func NewSRPCWebPluginClient(cc srpc.Client) SRPCWebPluginClient

func NewSRPCWebPluginClientWithServiceID

func NewSRPCWebPluginClientWithServiceID(cc srpc.Client, serviceID string) SRPCWebPluginClient

type SRPCWebPluginHandler

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

func (SRPCWebPluginHandler) GetMethodIDs

func (SRPCWebPluginHandler) GetMethodIDs() []string

func (*SRPCWebPluginHandler) GetServiceID

func (d *SRPCWebPluginHandler) GetServiceID() string

func (*SRPCWebPluginHandler) InvokeMethod

func (d *SRPCWebPluginHandler) InvokeMethod(
	serviceID, methodID string,
	strm srpc.Stream,
) (bool, error)

func (SRPCWebPluginHandler) InvokeMethod_HandleRpcViaPlugin

func (SRPCWebPluginHandler) InvokeMethod_HandleRpcViaPlugin(impl SRPCWebPluginServer, strm srpc.Stream) error

func (SRPCWebPluginHandler) InvokeMethod_HandleWebPkgViaPlugin

func (SRPCWebPluginHandler) InvokeMethod_HandleWebPkgViaPlugin(impl SRPCWebPluginServer, strm srpc.Stream) error

func (SRPCWebPluginHandler) InvokeMethod_HandleWebPkgsViaPluginAssets

func (SRPCWebPluginHandler) InvokeMethod_HandleWebPkgsViaPluginAssets(impl SRPCWebPluginServer, strm srpc.Stream) error

func (SRPCWebPluginHandler) InvokeMethod_HandleWebViewViaHandlers

func (SRPCWebPluginHandler) InvokeMethod_HandleWebViewViaHandlers(impl SRPCWebPluginServer, strm srpc.Stream) error

func (SRPCWebPluginHandler) InvokeMethod_HandleWebViewViaPlugin

func (SRPCWebPluginHandler) InvokeMethod_HandleWebViewViaPlugin(impl SRPCWebPluginServer, strm srpc.Stream) error

type SRPCWebPluginServer

type SRPCWebPluginServer interface {
	// HandleWebViewViaPlugin configures handling web views via a plugin.
	HandleWebViewViaPlugin(*HandleWebViewViaPluginRequest, SRPCWebPlugin_HandleWebViewViaPluginStream) error
	// HandleWebPkgViaPlugin configures handling web packages via a plugin.
	HandleWebPkgViaPlugin(*HandleWebPkgViaPluginRequest, SRPCWebPlugin_HandleWebPkgViaPluginStream) error
	// HandleRpcViaPlugin configures handling rpcs via a plugin.
	HandleRpcViaPlugin(*HandleRpcViaPluginRequest, SRPCWebPlugin_HandleRpcViaPluginStream) error
	// HandleWebViewViaHandlers configures web view handlers with filtering.
	HandleWebViewViaHandlers(*HandleWebViewViaHandlersRequest, SRPCWebPlugin_HandleWebViewViaHandlersStream) error
	// HandleWebPkgsViaPluginAssets configures serving web pkgs via a plugin assets fs.
	HandleWebPkgsViaPluginAssets(*HandleWebPkgsViaPluginAssetsRequest, SRPCWebPlugin_HandleWebPkgsViaPluginAssetsStream) error
}

type SRPCWebPlugin_HandleRpcViaPluginClient

type SRPCWebPlugin_HandleRpcViaPluginClient interface {
	srpc.Stream
	Recv() (*HandleRpcViaPluginResponse, error)
	RecvTo(*HandleRpcViaPluginResponse) error
}

type SRPCWebPlugin_HandleRpcViaPluginStream

type SRPCWebPlugin_HandleRpcViaPluginStream interface {
	srpc.Stream
	Send(*HandleRpcViaPluginResponse) error
	SendAndClose(*HandleRpcViaPluginResponse) error
}

type SRPCWebPlugin_HandleWebPkgViaPluginClient

type SRPCWebPlugin_HandleWebPkgViaPluginClient interface {
	srpc.Stream
	Recv() (*HandleWebPkgViaPluginResponse, error)
	RecvTo(*HandleWebPkgViaPluginResponse) error
}

type SRPCWebPlugin_HandleWebPkgViaPluginStream

type SRPCWebPlugin_HandleWebPkgViaPluginStream interface {
	srpc.Stream
	Send(*HandleWebPkgViaPluginResponse) error
	SendAndClose(*HandleWebPkgViaPluginResponse) error
}

type SRPCWebPlugin_HandleWebPkgsViaPluginAssetsClient

type SRPCWebPlugin_HandleWebPkgsViaPluginAssetsClient interface {
	srpc.Stream
	Recv() (*HandleWebPkgsViaPluginAssetsResponse, error)
	RecvTo(*HandleWebPkgsViaPluginAssetsResponse) error
}

type SRPCWebPlugin_HandleWebPkgsViaPluginAssetsStream

type SRPCWebPlugin_HandleWebPkgsViaPluginAssetsStream interface {
	srpc.Stream
	Send(*HandleWebPkgsViaPluginAssetsResponse) error
	SendAndClose(*HandleWebPkgsViaPluginAssetsResponse) error
}

type SRPCWebPlugin_HandleWebViewViaHandlersClient

type SRPCWebPlugin_HandleWebViewViaHandlersClient interface {
	srpc.Stream
	Recv() (*HandleWebViewViaHandlersResponse, error)
	RecvTo(*HandleWebViewViaHandlersResponse) error
}

type SRPCWebPlugin_HandleWebViewViaHandlersStream

type SRPCWebPlugin_HandleWebViewViaHandlersStream interface {
	srpc.Stream
	Send(*HandleWebViewViaHandlersResponse) error
	SendAndClose(*HandleWebViewViaHandlersResponse) error
}

type SRPCWebPlugin_HandleWebViewViaPluginClient

type SRPCWebPlugin_HandleWebViewViaPluginClient interface {
	srpc.Stream
	Recv() (*HandleWebViewViaPluginResponse, error)
	RecvTo(*HandleWebViewViaPluginResponse) error
}

type SRPCWebPlugin_HandleWebViewViaPluginStream

type SRPCWebPlugin_HandleWebViewViaPluginStream interface {
	srpc.Stream
	Send(*HandleWebViewViaPluginResponse) error
	SendAndClose(*HandleWebViewViaPluginResponse) error
}

Jump to

Keyboard shortcuts

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