Documentation
¶
Index ¶
- Constants
- func NewSRPCFrontendHandler(impl SRPCFrontendServer, serviceID string) srpc.Handler
- func RouteService(requestPath string) (string, error)
- func SRPCRegisterFrontend(mux srpc.Mux, impl SRPCFrontendServer) error
- func ServiceRoutePrefix(serviceID string) string
- type Binding
- func (m *Binding) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Binding) CloneVT() *Binding
- func (this *Binding) EqualMessageVT(thatMsg any) bool
- func (this *Binding) EqualVT(that *Binding) bool
- func (x *Binding) GetEntrypoint() string
- func (x *Binding) MarshalJSON() ([]byte, error)
- func (x *Binding) MarshalProtoJSON(s *json.MarshalState)
- func (x *Binding) MarshalProtoText() string
- func (m *Binding) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Binding) MarshalToVT(dAtA []byte) (int, error)
- func (m *Binding) MarshalVT() (dAtA []byte, err error)
- func (*Binding) ProtoMessage()
- func (x *Binding) Reset()
- func (m *Binding) SizeVT() (n int)
- func (x *Binding) String() string
- func (x *Binding) UnmarshalJSON(b []byte) error
- func (x *Binding) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Binding) UnmarshalVT(dAtA []byte) error
- type Event
- func (m *Event) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Event) CloneVT() *Event
- func (this *Event) EqualMessageVT(thatMsg any) bool
- func (this *Event) EqualVT(that *Event) bool
- func (x *Event) GetPayload() string
- func (x *Event) GetSequence() uint64
- func (x *Event) GetSession() *Session
- func (x *Event) MarshalJSON() ([]byte, error)
- func (x *Event) MarshalProtoJSON(s *json.MarshalState)
- func (x *Event) MarshalProtoText() string
- func (m *Event) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Event) MarshalToVT(dAtA []byte) (int, error)
- func (m *Event) MarshalVT() (dAtA []byte, err error)
- func (*Event) ProtoMessage()
- func (x *Event) Reset()
- func (m *Event) SizeVT() (n int)
- func (x *Event) String() string
- func (x *Event) UnmarshalJSON(b []byte) error
- func (x *Event) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Event) UnmarshalVT(dAtA []byte) error
- type SRPCFrontendClient
- type SRPCFrontendHandler
- func (SRPCFrontendHandler) GetMethodIDs() []string
- func (d *SRPCFrontendHandler) GetServiceID() string
- func (d *SRPCFrontendHandler) InvokeMethod(serviceID, methodID string, strm srpc.Stream) (bool, error)
- func (SRPCFrontendHandler) InvokeMethod_Fetch(impl SRPCFrontendServer, strm srpc.Stream) error
- func (SRPCFrontendHandler) InvokeMethod_Send(impl SRPCFrontendServer, strm srpc.Stream) error
- func (SRPCFrontendHandler) InvokeMethod_Watch(impl SRPCFrontendServer, strm srpc.Stream) error
- type SRPCFrontendServer
- type SRPCFrontend_FetchClient
- type SRPCFrontend_FetchStream
- type SRPCFrontend_SendStream
- type SRPCFrontend_WatchClient
- type SRPCFrontend_WatchStream
- type SendRequest
- func (m *SendRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *SendRequest) CloneVT() *SendRequest
- func (this *SendRequest) EqualMessageVT(thatMsg any) bool
- func (this *SendRequest) EqualVT(that *SendRequest) bool
- func (x *SendRequest) GetPayload() string
- func (x *SendRequest) GetSessionId() string
- func (x *SendRequest) MarshalJSON() ([]byte, error)
- func (x *SendRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *SendRequest) MarshalProtoText() string
- func (m *SendRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SendRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *SendRequest) MarshalVT() (dAtA []byte, err error)
- func (*SendRequest) ProtoMessage()
- func (x *SendRequest) Reset()
- func (m *SendRequest) SizeVT() (n int)
- func (x *SendRequest) String() string
- func (x *SendRequest) UnmarshalJSON(b []byte) error
- func (x *SendRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *SendRequest) UnmarshalVT(dAtA []byte) error
- type SendResponse
- func (m *SendResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *SendResponse) CloneVT() *SendResponse
- func (this *SendResponse) EqualMessageVT(thatMsg any) bool
- func (this *SendResponse) EqualVT(that *SendResponse) bool
- func (x *SendResponse) MarshalJSON() ([]byte, error)
- func (x *SendResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *SendResponse) MarshalProtoText() string
- func (m *SendResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SendResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *SendResponse) MarshalVT() (dAtA []byte, err error)
- func (*SendResponse) ProtoMessage()
- func (x *SendResponse) Reset()
- func (m *SendResponse) SizeVT() (n int)
- func (x *SendResponse) String() string
- func (x *SendResponse) UnmarshalJSON(b []byte) error
- func (x *SendResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *SendResponse) UnmarshalVT(dAtA []byte) error
- type Session
- func (m *Session) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Session) CloneVT() *Session
- func (this *Session) EqualMessageVT(thatMsg any) bool
- func (this *Session) EqualVT(that *Session) bool
- func (x *Session) GetEntrypoints() []string
- func (x *Session) GetId() string
- func (x *Session) GetRoutePrefix() string
- func (x *Session) GetViteVersion() string
- func (x *Session) MarshalJSON() ([]byte, error)
- func (x *Session) MarshalProtoJSON(s *json.MarshalState)
- func (x *Session) MarshalProtoText() string
- func (m *Session) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Session) MarshalToVT(dAtA []byte) (int, error)
- func (m *Session) MarshalVT() (dAtA []byte, err error)
- func (*Session) ProtoMessage()
- func (x *Session) Reset()
- func (m *Session) SizeVT() (n int)
- func (x *Session) String() string
- func (x *Session) UnmarshalJSON(b []byte) error
- func (x *Session) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Session) UnmarshalVT(dAtA []byte) error
- type WatchRequest
- func (m *WatchRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *WatchRequest) CloneVT() *WatchRequest
- func (this *WatchRequest) EqualMessageVT(thatMsg any) bool
- func (this *WatchRequest) EqualVT(that *WatchRequest) bool
- func (x *WatchRequest) MarshalJSON() ([]byte, error)
- func (x *WatchRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *WatchRequest) MarshalProtoText() string
- func (m *WatchRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *WatchRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *WatchRequest) MarshalVT() (dAtA []byte, err error)
- func (*WatchRequest) ProtoMessage()
- func (x *WatchRequest) Reset()
- func (m *WatchRequest) SizeVT() (n int)
- func (x *WatchRequest) String() string
- func (x *WatchRequest) UnmarshalJSON(b []byte) error
- func (x *WatchRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *WatchRequest) UnmarshalVT(dAtA []byte) error
Constants ¶
const AttachedServicePrefix = "frontend/"
AttachedServicePrefix identifies services with a retained authoring Resource.
const SRPCFrontendServiceID = "bldr.frontend.Frontend"
Variables ¶
This section is empty.
Functions ¶
func NewSRPCFrontendHandler ¶
func NewSRPCFrontendHandler(impl SRPCFrontendServer, serviceID string) srpc.Handler
NewSRPCFrontendHandler constructs a new RPC handler. serviceID: if empty, uses default: bldr.frontend.Frontend
func RouteService ¶
RouteService selects a frontend service from a browser module path. Ordinary development URLs use the document's existing devtool connection.
func SRPCRegisterFrontend ¶
func SRPCRegisterFrontend(mux srpc.Mux, impl SRPCFrontendServer) error
SRPCRegisterFrontend registers the implementation with the mux. Uses the default serviceID: bldr.frontend.Frontend
func ServiceRoutePrefix ¶
ServiceRoutePrefix gives an attached frontend service its same-origin namespace.
Types ¶
type Binding ¶
type Binding struct {
// Entrypoint is the configured source path relative to the project root.
Entrypoint string `protobuf:"bytes,1,opt,name=entrypoint,proto3" json:"entrypoint,omitempty"`
// contains filtered or unexported fields
}
Binding attaches a manifest-loaded view to a configured project entrypoint. It is stable across compiler sessions and is absent from snapshot builds.
func (*Binding) CloneMessageVT ¶
func (m *Binding) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Binding) EqualMessageVT ¶
func (*Binding) GetEntrypoint ¶
func (*Binding) MarshalJSON ¶
MarshalJSON marshals the Binding to JSON.
func (*Binding) MarshalProtoJSON ¶
func (x *Binding) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Binding message to JSON.
func (*Binding) MarshalProtoText ¶
func (*Binding) MarshalToSizedBufferVT ¶
func (*Binding) ProtoMessage ¶
func (*Binding) ProtoMessage()
func (*Binding) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Binding from JSON.
func (*Binding) UnmarshalProtoJSON ¶
func (x *Binding) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Binding message from JSON.
func (*Binding) UnmarshalVT ¶
type Event ¶
type Event struct {
// Session is present on the initial snapshot of every stream.
Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
// Sequence is the latest update number in the initial snapshot, then increases
// by one for each payload. It is scoped to Session.Id.
Sequence uint64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"`
// Payload is the upstream Vite HMR JSON message, interpreted by Vite's client.
// Bldr treats it as opaque data, not an application protocol.
Payload string `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
// contains filtered or unexported fields
}
Event is an ordered message from one compiler session.
func (*Event) CloneMessageVT ¶
func (m *Event) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Event) EqualMessageVT ¶
func (*Event) GetPayload ¶
func (*Event) GetSequence ¶
func (*Event) GetSession ¶
func (*Event) MarshalJSON ¶
MarshalJSON marshals the Event to JSON.
func (*Event) MarshalProtoJSON ¶
func (x *Event) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Event message to JSON.
func (*Event) MarshalProtoText ¶
func (*Event) MarshalToSizedBufferVT ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Event from JSON.
func (*Event) UnmarshalProtoJSON ¶
func (x *Event) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Event message from JSON.
func (*Event) UnmarshalVT ¶
type SRPCFrontendClient ¶
type SRPCFrontendClient interface {
// SRPCClient returns the underlying SRPC client.
SRPCClient() srpc.Client
// Watch starts with the current session and sequence, then streams updates.
// A new session or a sequence gap requires reloading the document.
Watch(ctx context.Context, in *WatchRequest) (SRPCFrontend_WatchClient, error)
// Send delivers a client HMR message to the selected compiler session.
Send(ctx context.Context, in *SendRequest) (*SendResponse, error)
// Fetch serves modules from the session named by the request URL.
Fetch(ctx context.Context) (SRPCFrontend_FetchClient, error)
}
func NewSRPCFrontendClient ¶
func NewSRPCFrontendClient(cc srpc.Client) SRPCFrontendClient
func NewSRPCFrontendClientWithServiceID ¶
func NewSRPCFrontendClientWithServiceID(cc srpc.Client, serviceID string) SRPCFrontendClient
type SRPCFrontendHandler ¶
type SRPCFrontendHandler struct {
// contains filtered or unexported fields
}
func (SRPCFrontendHandler) GetMethodIDs ¶
func (SRPCFrontendHandler) GetMethodIDs() []string
func (*SRPCFrontendHandler) GetServiceID ¶
func (d *SRPCFrontendHandler) GetServiceID() string
func (*SRPCFrontendHandler) InvokeMethod ¶
func (SRPCFrontendHandler) InvokeMethod_Fetch ¶
func (SRPCFrontendHandler) InvokeMethod_Fetch(impl SRPCFrontendServer, strm srpc.Stream) error
func (SRPCFrontendHandler) InvokeMethod_Send ¶
func (SRPCFrontendHandler) InvokeMethod_Send(impl SRPCFrontendServer, strm srpc.Stream) error
func (SRPCFrontendHandler) InvokeMethod_Watch ¶
func (SRPCFrontendHandler) InvokeMethod_Watch(impl SRPCFrontendServer, strm srpc.Stream) error
type SRPCFrontendServer ¶
type SRPCFrontendServer interface {
// Watch starts with the current session and sequence, then streams updates.
// A new session or a sequence gap requires reloading the document.
Watch(*WatchRequest, SRPCFrontend_WatchStream) error
// Send delivers a client HMR message to the selected compiler session.
Send(context.Context, *SendRequest) (*SendResponse, error)
// Fetch serves modules from the session named by the request URL.
Fetch(SRPCFrontend_FetchStream) error
}
type SRPCFrontend_FetchClient ¶
type SRPCFrontend_FetchClient interface {
srpc.Stream
Send(*web_fetch.FetchRequest) error
Recv() (*web_fetch.FetchResponse, error)
RecvTo(*web_fetch.FetchResponse) error
}
type SRPCFrontend_FetchStream ¶
type SRPCFrontend_FetchStream interface {
srpc.Stream
Send(*web_fetch.FetchResponse) error
SendAndClose(*web_fetch.FetchResponse) error
Recv() (*web_fetch.FetchRequest, error)
RecvTo(*web_fetch.FetchRequest) error
}
type SRPCFrontend_SendStream ¶
type SendRequest ¶
type SendRequest struct {
// SessionId identifies the compiler environment; stale sessions are rejected.
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"sessionId,omitempty"`
// Payload contains an upstream Vite client HMR JSON message.
Payload string `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
// contains filtered or unexported fields
}
SendRequest sends one upstream client message to its originating session.
func (*SendRequest) CloneMessageVT ¶
func (m *SendRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*SendRequest) CloneVT ¶
func (m *SendRequest) CloneVT() *SendRequest
func (*SendRequest) EqualMessageVT ¶
func (this *SendRequest) EqualMessageVT(thatMsg any) bool
func (*SendRequest) EqualVT ¶
func (this *SendRequest) EqualVT(that *SendRequest) bool
func (*SendRequest) GetPayload ¶
func (x *SendRequest) GetPayload() string
func (*SendRequest) GetSessionId ¶
func (x *SendRequest) GetSessionId() string
func (*SendRequest) MarshalJSON ¶
func (x *SendRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the SendRequest to JSON.
func (*SendRequest) MarshalProtoJSON ¶
func (x *SendRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the SendRequest message to JSON.
func (*SendRequest) MarshalProtoText ¶
func (x *SendRequest) MarshalProtoText() string
func (*SendRequest) MarshalToSizedBufferVT ¶
func (m *SendRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SendRequest) MarshalToVT ¶
func (m *SendRequest) MarshalToVT(dAtA []byte) (int, error)
func (*SendRequest) MarshalVT ¶
func (m *SendRequest) MarshalVT() (dAtA []byte, err error)
func (*SendRequest) ProtoMessage ¶
func (*SendRequest) ProtoMessage()
func (*SendRequest) Reset ¶
func (x *SendRequest) Reset()
func (*SendRequest) SizeVT ¶
func (m *SendRequest) SizeVT() (n int)
func (*SendRequest) String ¶
func (x *SendRequest) String() string
func (*SendRequest) UnmarshalJSON ¶
func (x *SendRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the SendRequest from JSON.
func (*SendRequest) UnmarshalProtoJSON ¶
func (x *SendRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the SendRequest message from JSON.
func (*SendRequest) UnmarshalVT ¶
func (m *SendRequest) UnmarshalVT(dAtA []byte) error
type SendResponse ¶
type SendResponse struct {
// contains filtered or unexported fields
}
SendResponse acknowledges delivery to the selected environment.
func (*SendResponse) CloneMessageVT ¶
func (m *SendResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*SendResponse) CloneVT ¶
func (m *SendResponse) CloneVT() *SendResponse
func (*SendResponse) EqualMessageVT ¶
func (this *SendResponse) EqualMessageVT(thatMsg any) bool
func (*SendResponse) EqualVT ¶
func (this *SendResponse) EqualVT(that *SendResponse) bool
func (*SendResponse) MarshalJSON ¶
func (x *SendResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the SendResponse to JSON.
func (*SendResponse) MarshalProtoJSON ¶
func (x *SendResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the SendResponse message to JSON.
func (*SendResponse) MarshalProtoText ¶
func (x *SendResponse) MarshalProtoText() string
func (*SendResponse) MarshalToSizedBufferVT ¶
func (m *SendResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SendResponse) MarshalToVT ¶
func (m *SendResponse) MarshalToVT(dAtA []byte) (int, error)
func (*SendResponse) MarshalVT ¶
func (m *SendResponse) MarshalVT() (dAtA []byte, err error)
func (*SendResponse) ProtoMessage ¶
func (*SendResponse) ProtoMessage()
func (*SendResponse) Reset ¶
func (x *SendResponse) Reset()
func (*SendResponse) SizeVT ¶
func (m *SendResponse) SizeVT() (n int)
func (*SendResponse) String ¶
func (x *SendResponse) String() string
func (*SendResponse) UnmarshalJSON ¶
func (x *SendResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the SendResponse from JSON.
func (*SendResponse) UnmarshalProtoJSON ¶
func (x *SendResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the SendResponse message from JSON.
func (*SendResponse) UnmarshalVT ¶
func (m *SendResponse) UnmarshalVT(dAtA []byte) error
type Session ¶
type Session struct {
// Id changes whenever the compiler environment is replaced.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// RoutePrefix is the same-origin Bldr route ending in a slash.
RoutePrefix string `protobuf:"bytes,2,opt,name=route_prefix,json=routePrefix,proto3" json:"routePrefix,omitempty"`
// Entrypoints contains the source paths allowed as frontend attachments.
Entrypoints []string `protobuf:"bytes,3,rep,name=entrypoints,proto3" json:"entrypoints,omitempty"`
// ViteVersion identifies the upstream format of opaque HMR payloads.
ViteVersion string `protobuf:"bytes,4,opt,name=vite_version,json=viteVersion,proto3" json:"viteVersion,omitempty"`
// contains filtered or unexported fields
}
Session identifies one retained compiler graph and its browser namespace.
func (*Session) CloneMessageVT ¶
func (m *Session) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Session) EqualMessageVT ¶
func (*Session) GetEntrypoints ¶
func (*Session) GetRoutePrefix ¶
func (*Session) GetViteVersion ¶
func (*Session) MarshalJSON ¶
MarshalJSON marshals the Session to JSON.
func (*Session) MarshalProtoJSON ¶
func (x *Session) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Session message to JSON.
func (*Session) MarshalProtoText ¶
func (*Session) MarshalToSizedBufferVT ¶
func (*Session) ProtoMessage ¶
func (*Session) ProtoMessage()
func (*Session) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Session from JSON.
func (*Session) UnmarshalProtoJSON ¶
func (x *Session) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Session message from JSON.
func (*Session) UnmarshalVT ¶
type WatchRequest ¶
type WatchRequest struct {
// contains filtered or unexported fields
}
WatchRequest subscribes to the current project frontend environment.
func (*WatchRequest) CloneMessageVT ¶
func (m *WatchRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*WatchRequest) CloneVT ¶
func (m *WatchRequest) CloneVT() *WatchRequest
func (*WatchRequest) EqualMessageVT ¶
func (this *WatchRequest) EqualMessageVT(thatMsg any) bool
func (*WatchRequest) EqualVT ¶
func (this *WatchRequest) EqualVT(that *WatchRequest) bool
func (*WatchRequest) MarshalJSON ¶
func (x *WatchRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the WatchRequest to JSON.
func (*WatchRequest) MarshalProtoJSON ¶
func (x *WatchRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the WatchRequest message to JSON.
func (*WatchRequest) MarshalProtoText ¶
func (x *WatchRequest) MarshalProtoText() string
func (*WatchRequest) MarshalToSizedBufferVT ¶
func (m *WatchRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*WatchRequest) MarshalToVT ¶
func (m *WatchRequest) MarshalToVT(dAtA []byte) (int, error)
func (*WatchRequest) MarshalVT ¶
func (m *WatchRequest) MarshalVT() (dAtA []byte, err error)
func (*WatchRequest) ProtoMessage ¶
func (*WatchRequest) ProtoMessage()
func (*WatchRequest) Reset ¶
func (x *WatchRequest) Reset()
func (*WatchRequest) SizeVT ¶
func (m *WatchRequest) SizeVT() (n int)
func (*WatchRequest) String ¶
func (x *WatchRequest) String() string
func (*WatchRequest) UnmarshalJSON ¶
func (x *WatchRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the WatchRequest from JSON.
func (*WatchRequest) UnmarshalProtoJSON ¶
func (x *WatchRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the WatchRequest message from JSON.
func (*WatchRequest) UnmarshalVT ¶
func (m *WatchRequest) UnmarshalVT(dAtA []byte) error