Documentation
¶
Index ¶
- Constants
- Variables
- func NewSRPCLayoutHostHandler(impl SRPCLayoutHostServer, serviceID string) srpc.Handler
- func SRPCRegisterLayoutHost(mux srpc.Mux, impl SRPCLayoutHostServer) error
- func ValidateBorders(borders []*BorderDef) error
- type AddTabRequest
- func (m *AddTabRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *AddTabRequest) CloneVT() *AddTabRequest
- func (this *AddTabRequest) EqualMessageVT(thatMsg any) bool
- func (this *AddTabRequest) EqualVT(that *AddTabRequest) bool
- func (x *AddTabRequest) GetAfterTabId() string
- func (x *AddTabRequest) GetSelect() bool
- func (x *AddTabRequest) GetTab() *TabDef
- func (x *AddTabRequest) GetTabSetId() string
- func (x *AddTabRequest) MarshalJSON() ([]byte, error)
- func (x *AddTabRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *AddTabRequest) MarshalProtoText() string
- func (m *AddTabRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AddTabRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *AddTabRequest) MarshalVT() (dAtA []byte, err error)
- func (*AddTabRequest) ProtoMessage()
- func (x *AddTabRequest) Reset()
- func (m *AddTabRequest) SizeVT() (n int)
- func (x *AddTabRequest) String() string
- func (x *AddTabRequest) UnmarshalJSON(b []byte) error
- func (x *AddTabRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *AddTabRequest) UnmarshalVT(dAtA []byte) error
- type AddTabResponse
- func (m *AddTabResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *AddTabResponse) CloneVT() *AddTabResponse
- func (this *AddTabResponse) EqualMessageVT(thatMsg any) bool
- func (this *AddTabResponse) EqualVT(that *AddTabResponse) bool
- func (x *AddTabResponse) GetTabId() string
- func (x *AddTabResponse) MarshalJSON() ([]byte, error)
- func (x *AddTabResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *AddTabResponse) MarshalProtoText() string
- func (m *AddTabResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AddTabResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *AddTabResponse) MarshalVT() (dAtA []byte, err error)
- func (*AddTabResponse) ProtoMessage()
- func (x *AddTabResponse) Reset()
- func (m *AddTabResponse) SizeVT() (n int)
- func (x *AddTabResponse) String() string
- func (x *AddTabResponse) UnmarshalJSON(b []byte) error
- func (x *AddTabResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *AddTabResponse) UnmarshalVT(dAtA []byte) error
- type BorderDef
- func (m *BorderDef) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *BorderDef) CloneVT() *BorderDef
- func (this *BorderDef) EqualMessageVT(thatMsg any) bool
- func (this *BorderDef) EqualVT(that *BorderDef) bool
- func (x *BorderDef) GetBorderLocation() BorderLocation
- func (x *BorderDef) GetChildren() []*TabDef
- func (x *BorderDef) GetHide() bool
- func (x *BorderDef) GetSelected() int32
- func (x *BorderDef) MarshalJSON() ([]byte, error)
- func (x *BorderDef) MarshalProtoJSON(s *json.MarshalState)
- func (x *BorderDef) MarshalProtoText() string
- func (m *BorderDef) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BorderDef) MarshalToVT(dAtA []byte) (int, error)
- func (m *BorderDef) MarshalVT() (dAtA []byte, err error)
- func (*BorderDef) ProtoMessage()
- func (x *BorderDef) Reset()
- func (m *BorderDef) SizeVT() (n int)
- func (x *BorderDef) String() string
- func (x *BorderDef) UnmarshalJSON(b []byte) error
- func (x *BorderDef) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *BorderDef) UnmarshalVT(dAtA []byte) error
- type BorderLocation
- func (x BorderLocation) Enum() *BorderLocation
- func (x BorderLocation) MarshalJSON() ([]byte, error)
- func (x BorderLocation) MarshalProtoJSON(s *json.MarshalState)
- func (x BorderLocation) MarshalProtoText() string
- func (x BorderLocation) MarshalText() ([]byte, error)
- func (x BorderLocation) String() string
- func (x *BorderLocation) UnmarshalJSON(b []byte) error
- func (x *BorderLocation) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *BorderLocation) UnmarshalText(b []byte) error
- func (b BorderLocation) Validate() error
- type LayoutLocalState
- func (m *LayoutLocalState) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *LayoutLocalState) CloneVT() *LayoutLocalState
- func (this *LayoutLocalState) EqualMessageVT(thatMsg any) bool
- func (this *LayoutLocalState) EqualVT(that *LayoutLocalState) bool
- func (x *LayoutLocalState) GetActiveTabSetId() string
- func (x *LayoutLocalState) GetMaximizedTabSetId() string
- func (x *LayoutLocalState) GetTabSetSelections() map[string]string
- func (x *LayoutLocalState) MarshalJSON() ([]byte, error)
- func (x *LayoutLocalState) MarshalProtoJSON(s *json.MarshalState)
- func (x *LayoutLocalState) MarshalProtoText() string
- func (m *LayoutLocalState) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LayoutLocalState) MarshalToVT(dAtA []byte) (int, error)
- func (m *LayoutLocalState) MarshalVT() (dAtA []byte, err error)
- func (*LayoutLocalState) ProtoMessage()
- func (x *LayoutLocalState) Reset()
- func (m *LayoutLocalState) SizeVT() (n int)
- func (x *LayoutLocalState) String() string
- func (x *LayoutLocalState) UnmarshalJSON(b []byte) error
- func (x *LayoutLocalState) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *LayoutLocalState) UnmarshalVT(dAtA []byte) error
- type LayoutLocalState_TabSetSelectionsEntry
- func (x *LayoutLocalState_TabSetSelectionsEntry) GetKey() string
- func (x *LayoutLocalState_TabSetSelectionsEntry) GetValue() string
- func (x *LayoutLocalState_TabSetSelectionsEntry) MarshalJSON() ([]byte, error)
- func (x *LayoutLocalState_TabSetSelectionsEntry) MarshalProtoJSON(s *json.MarshalState)
- func (x *LayoutLocalState_TabSetSelectionsEntry) MarshalProtoText() string
- func (*LayoutLocalState_TabSetSelectionsEntry) ProtoMessage()
- func (x *LayoutLocalState_TabSetSelectionsEntry) Reset()
- func (x *LayoutLocalState_TabSetSelectionsEntry) String() string
- func (x *LayoutLocalState_TabSetSelectionsEntry) UnmarshalJSON(b []byte) error
- func (x *LayoutLocalState_TabSetSelectionsEntry) UnmarshalProtoJSON(s *json.UnmarshalState)
- type LayoutModel
- func (m *LayoutModel) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *LayoutModel) CloneVT() *LayoutModel
- func (this *LayoutModel) EqualMessageVT(thatMsg any) bool
- func (this *LayoutModel) EqualVT(that *LayoutModel) bool
- func (x *LayoutModel) GetBorders() []*BorderDef
- func (x *LayoutModel) GetLayout() *RowDef
- func (x *LayoutModel) MarshalJSON() ([]byte, error)
- func (x *LayoutModel) MarshalProtoJSON(s *json.MarshalState)
- func (x *LayoutModel) MarshalProtoText() string
- func (m *LayoutModel) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LayoutModel) MarshalToVT(dAtA []byte) (int, error)
- func (m *LayoutModel) MarshalVT() (dAtA []byte, err error)
- func (*LayoutModel) ProtoMessage()
- func (x *LayoutModel) Reset()
- func (m *LayoutModel) SizeVT() (n int)
- func (x *LayoutModel) String() string
- func (x *LayoutModel) UnmarshalJSON(b []byte) error
- func (x *LayoutModel) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *LayoutModel) UnmarshalVT(dAtA []byte) error
- func (m *LayoutModel) Validate(validateTabDef TabDefValidator) error
- type LayoutSnapshot
- func (m *LayoutSnapshot) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *LayoutSnapshot) CloneVT() *LayoutSnapshot
- func (this *LayoutSnapshot) EqualMessageVT(thatMsg any) bool
- func (this *LayoutSnapshot) EqualVT(that *LayoutSnapshot) bool
- func (x *LayoutSnapshot) GetLocalState() *LayoutLocalState
- func (x *LayoutSnapshot) GetModel() *LayoutModel
- func (x *LayoutSnapshot) MarshalJSON() ([]byte, error)
- func (x *LayoutSnapshot) MarshalProtoJSON(s *json.MarshalState)
- func (x *LayoutSnapshot) MarshalProtoText() string
- func (m *LayoutSnapshot) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LayoutSnapshot) MarshalToVT(dAtA []byte) (int, error)
- func (m *LayoutSnapshot) MarshalVT() (dAtA []byte, err error)
- func (*LayoutSnapshot) ProtoMessage()
- func (x *LayoutSnapshot) Reset()
- func (m *LayoutSnapshot) SizeVT() (n int)
- func (x *LayoutSnapshot) String() string
- func (x *LayoutSnapshot) UnmarshalJSON(b []byte) error
- func (x *LayoutSnapshot) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *LayoutSnapshot) UnmarshalVT(dAtA []byte) error
- type NavigateTabRequest
- func (m *NavigateTabRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *NavigateTabRequest) CloneVT() *NavigateTabRequest
- func (this *NavigateTabRequest) EqualMessageVT(thatMsg any) bool
- func (this *NavigateTabRequest) EqualVT(that *NavigateTabRequest) bool
- func (x *NavigateTabRequest) GetPath() string
- func (x *NavigateTabRequest) GetTabId() string
- func (x *NavigateTabRequest) MarshalJSON() ([]byte, error)
- func (x *NavigateTabRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *NavigateTabRequest) MarshalProtoText() string
- func (m *NavigateTabRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *NavigateTabRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *NavigateTabRequest) MarshalVT() (dAtA []byte, err error)
- func (*NavigateTabRequest) ProtoMessage()
- func (x *NavigateTabRequest) Reset()
- func (m *NavigateTabRequest) SizeVT() (n int)
- func (x *NavigateTabRequest) String() string
- func (x *NavigateTabRequest) UnmarshalJSON(b []byte) error
- func (x *NavigateTabRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *NavigateTabRequest) UnmarshalVT(dAtA []byte) error
- type NavigateTabResponse
- func (m *NavigateTabResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *NavigateTabResponse) CloneVT() *NavigateTabResponse
- func (this *NavigateTabResponse) EqualMessageVT(thatMsg any) bool
- func (this *NavigateTabResponse) EqualVT(that *NavigateTabResponse) bool
- func (x *NavigateTabResponse) MarshalJSON() ([]byte, error)
- func (x *NavigateTabResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *NavigateTabResponse) MarshalProtoText() string
- func (m *NavigateTabResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *NavigateTabResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *NavigateTabResponse) MarshalVT() (dAtA []byte, err error)
- func (*NavigateTabResponse) ProtoMessage()
- func (x *NavigateTabResponse) Reset()
- func (m *NavigateTabResponse) SizeVT() (n int)
- func (x *NavigateTabResponse) String() string
- func (x *NavigateTabResponse) UnmarshalJSON(b []byte) error
- func (x *NavigateTabResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *NavigateTabResponse) UnmarshalVT(dAtA []byte) error
- type RowDef
- func (m *RowDef) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *RowDef) CloneVT() *RowDef
- func (this *RowDef) EqualMessageVT(thatMsg any) bool
- func (this *RowDef) EqualVT(that *RowDef) bool
- func (x *RowDef) GetChildren() []*RowOrTabSetDef
- func (x *RowDef) GetId() string
- func (x *RowDef) GetWeight() float32
- func (x *RowDef) MarshalJSON() ([]byte, error)
- func (x *RowDef) MarshalProtoJSON(s *json.MarshalState)
- func (x *RowDef) MarshalProtoText() string
- func (m *RowDef) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RowDef) MarshalToVT(dAtA []byte) (int, error)
- func (m *RowDef) MarshalVT() (dAtA []byte, err error)
- func (*RowDef) ProtoMessage()
- func (x *RowDef) Reset()
- func (m *RowDef) SizeVT() (n int)
- func (x *RowDef) String() string
- func (x *RowDef) UnmarshalJSON(b []byte) error
- func (x *RowDef) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *RowDef) UnmarshalVT(dAtA []byte) error
- func (m *RowDef) Validate(validateTabDef TabDefValidator) error
- type RowOrTabSetDef
- func (m *RowOrTabSetDef) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *RowOrTabSetDef) CloneVT() *RowOrTabSetDef
- func (this *RowOrTabSetDef) EqualMessageVT(thatMsg any) bool
- func (this *RowOrTabSetDef) EqualVT(that *RowOrTabSetDef) bool
- func (m *RowOrTabSetDef) GetNode() isRowOrTabSetDef_Node
- func (x *RowOrTabSetDef) GetRow() *RowDef
- func (x *RowOrTabSetDef) GetTabSet() *TabSetDef
- func (x *RowOrTabSetDef) MarshalJSON() ([]byte, error)
- func (x *RowOrTabSetDef) MarshalProtoJSON(s *json.MarshalState)
- func (x *RowOrTabSetDef) MarshalProtoText() string
- func (m *RowOrTabSetDef) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RowOrTabSetDef) MarshalToVT(dAtA []byte) (int, error)
- func (m *RowOrTabSetDef) MarshalVT() (dAtA []byte, err error)
- func (*RowOrTabSetDef) ProtoMessage()
- func (x *RowOrTabSetDef) Reset()
- func (m *RowOrTabSetDef) SizeVT() (n int)
- func (x *RowOrTabSetDef) String() string
- func (x *RowOrTabSetDef) UnmarshalJSON(b []byte) error
- func (x *RowOrTabSetDef) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *RowOrTabSetDef) UnmarshalVT(dAtA []byte) error
- func (m *RowOrTabSetDef) Validate(validateTabDef TabDefValidator) error
- type RowOrTabSetDef_Row
- func (m *RowOrTabSetDef_Row) CloneOneofVT() isRowOrTabSetDef_Node
- func (m *RowOrTabSetDef_Row) CloneVT() *RowOrTabSetDef_Row
- func (this *RowOrTabSetDef_Row) EqualVT(thatIface isRowOrTabSetDef_Node) bool
- func (m *RowOrTabSetDef_Row) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RowOrTabSetDef_Row) MarshalToVT(dAtA []byte) (int, error)
- func (m *RowOrTabSetDef_Row) SizeVT() (n int)
- type RowOrTabSetDef_TabSet
- func (m *RowOrTabSetDef_TabSet) CloneOneofVT() isRowOrTabSetDef_Node
- func (m *RowOrTabSetDef_TabSet) CloneVT() *RowOrTabSetDef_TabSet
- func (this *RowOrTabSetDef_TabSet) EqualVT(thatIface isRowOrTabSetDef_Node) bool
- func (m *RowOrTabSetDef_TabSet) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RowOrTabSetDef_TabSet) MarshalToVT(dAtA []byte) (int, error)
- func (m *RowOrTabSetDef_TabSet) SizeVT() (n int)
- type SRPCLayoutHostClient
- type SRPCLayoutHostHandler
- func (SRPCLayoutHostHandler) GetMethodIDs() []string
- func (d *SRPCLayoutHostHandler) GetServiceID() string
- func (d *SRPCLayoutHostHandler) InvokeMethod(serviceID, methodID string, strm srpc.Stream) (bool, error)
- func (SRPCLayoutHostHandler) InvokeMethod_AddTab(impl SRPCLayoutHostServer, strm srpc.Stream) error
- func (SRPCLayoutHostHandler) InvokeMethod_NavigateTab(impl SRPCLayoutHostServer, strm srpc.Stream) error
- func (SRPCLayoutHostHandler) InvokeMethod_WatchLayoutModel(impl SRPCLayoutHostServer, strm srpc.Stream) error
- type SRPCLayoutHostServer
- type SRPCLayoutHost_AddTabStream
- type SRPCLayoutHost_NavigateTabStream
- type SRPCLayoutHost_WatchLayoutModelClient
- type SRPCLayoutHost_WatchLayoutModelStream
- type TabDef
- func (m *TabDef) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *TabDef) CloneVT() *TabDef
- func (this *TabDef) EqualMessageVT(thatMsg any) bool
- func (this *TabDef) EqualVT(that *TabDef) bool
- func (x *TabDef) GetData() []byte
- func (x *TabDef) GetEnableClose() bool
- func (x *TabDef) GetHelpText() string
- func (x *TabDef) GetId() string
- func (x *TabDef) GetName() string
- func (x *TabDef) MarshalJSON() ([]byte, error)
- func (x *TabDef) MarshalProtoJSON(s *json.MarshalState)
- func (x *TabDef) MarshalProtoText() string
- func (m *TabDef) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TabDef) MarshalToVT(dAtA []byte) (int, error)
- func (m *TabDef) MarshalVT() (dAtA []byte, err error)
- func (*TabDef) ProtoMessage()
- func (x *TabDef) Reset()
- func (m *TabDef) SizeVT() (n int)
- func (x *TabDef) String() string
- func (x *TabDef) UnmarshalJSON(b []byte) error
- func (x *TabDef) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *TabDef) UnmarshalVT(dAtA []byte) error
- func (m *TabDef) Validate(validateTabDef TabDefValidator) error
- type TabDefValidator
- type TabSetDef
- func (m *TabSetDef) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *TabSetDef) CloneVT() *TabSetDef
- func (this *TabSetDef) EqualMessageVT(thatMsg any) bool
- func (this *TabSetDef) EqualVT(that *TabSetDef) bool
- func (x *TabSetDef) GetChildren() []*TabDef
- func (x *TabSetDef) GetId() string
- func (x *TabSetDef) GetName() string
- func (x *TabSetDef) GetWeight() float32
- func (x *TabSetDef) MarshalJSON() ([]byte, error)
- func (x *TabSetDef) MarshalProtoJSON(s *json.MarshalState)
- func (x *TabSetDef) MarshalProtoText() string
- func (m *TabSetDef) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TabSetDef) MarshalToVT(dAtA []byte) (int, error)
- func (m *TabSetDef) MarshalVT() (dAtA []byte, err error)
- func (*TabSetDef) ProtoMessage()
- func (x *TabSetDef) Reset()
- func (m *TabSetDef) SizeVT() (n int)
- func (x *TabSetDef) String() string
- func (x *TabSetDef) UnmarshalJSON(b []byte) error
- func (x *TabSetDef) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *TabSetDef) UnmarshalVT(dAtA []byte) error
- func (m *TabSetDef) Validate(validateTabDef TabDefValidator) error
- type WatchLayoutModelRequest
- func (m *WatchLayoutModelRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *WatchLayoutModelRequest) CloneVT() *WatchLayoutModelRequest
- func (this *WatchLayoutModelRequest) EqualMessageVT(thatMsg any) bool
- func (this *WatchLayoutModelRequest) EqualVT(that *WatchLayoutModelRequest) bool
- func (m *WatchLayoutModelRequest) GetBody() isWatchLayoutModelRequest_Body
- func (x *WatchLayoutModelRequest) GetSetModel() *LayoutModel
- func (x *WatchLayoutModelRequest) MarshalJSON() ([]byte, error)
- func (x *WatchLayoutModelRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *WatchLayoutModelRequest) MarshalProtoText() string
- func (m *WatchLayoutModelRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *WatchLayoutModelRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *WatchLayoutModelRequest) MarshalVT() (dAtA []byte, err error)
- func (*WatchLayoutModelRequest) ProtoMessage()
- func (x *WatchLayoutModelRequest) Reset()
- func (m *WatchLayoutModelRequest) SizeVT() (n int)
- func (x *WatchLayoutModelRequest) String() string
- func (x *WatchLayoutModelRequest) UnmarshalJSON(b []byte) error
- func (x *WatchLayoutModelRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *WatchLayoutModelRequest) UnmarshalVT(dAtA []byte) error
- type WatchLayoutModelRequest_SetModel
- func (m *WatchLayoutModelRequest_SetModel) CloneOneofVT() isWatchLayoutModelRequest_Body
- func (m *WatchLayoutModelRequest_SetModel) CloneVT() *WatchLayoutModelRequest_SetModel
- func (this *WatchLayoutModelRequest_SetModel) EqualVT(thatIface isWatchLayoutModelRequest_Body) bool
- func (m *WatchLayoutModelRequest_SetModel) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *WatchLayoutModelRequest_SetModel) MarshalToVT(dAtA []byte) (int, error)
- func (m *WatchLayoutModelRequest_SetModel) SizeVT() (n int)
Constants ¶
const SRPCLayoutHostServiceID = "s4wave.layout.LayoutHost"
Variables ¶
var ( BorderLocation_name = map[int32]string{ 0: "BorderLocation_TOP", 1: "BorderLocation_BOTTOM", 2: "BorderLocation_LEFT", 3: "BorderLocation_RIGHT", } BorderLocation_value = map[string]int32{ "BorderLocation_TOP": 0, "BorderLocation_BOTTOM": 1, "BorderLocation_LEFT": 2, "BorderLocation_RIGHT": 3, } )
Enum value maps for BorderLocation.
Functions ¶
func NewSRPCLayoutHostHandler ¶
func NewSRPCLayoutHostHandler(impl SRPCLayoutHostServer, serviceID string) srpc.Handler
NewSRPCLayoutHostHandler constructs a new RPC handler. serviceID: if empty, uses default: s4wave.layout.LayoutHost
func SRPCRegisterLayoutHost ¶
func SRPCRegisterLayoutHost(mux srpc.Mux, impl SRPCLayoutHostServer) error
SRPCRegisterLayoutHost registers the implementation with the mux. Uses the default serviceID: s4wave.layout.LayoutHost
func ValidateBorders ¶
ValidateBorders checks if the borders list has any duplicates.
Types ¶
type AddTabRequest ¶
type AddTabRequest struct {
// TabSetId is the identifier of the tabset to add the tab to.
// If empty, the tab is added to the currently active tabset.
TabSetId string `protobuf:"bytes,1,opt,name=tab_set_id,json=tabSetId,proto3" json:"tabSetId,omitempty"`
// Tab is the tab definition to add.
Tab *TabDef `protobuf:"bytes,2,opt,name=tab,proto3" json:"tab,omitempty"`
// AfterTabId is the ID of the tab to insert after.
// If empty, the tab is added at the end of the tabset.
AfterTabId string `protobuf:"bytes,3,opt,name=after_tab_id,json=afterTabId,proto3" json:"afterTabId,omitempty"`
// Select indicates whether to select the new tab after adding.
Select bool `protobuf:"varint,4,opt,name=select,proto3" json:"select,omitempty"`
// contains filtered or unexported fields
}
AddTabRequest is a request to add a new tab to the layout.
func (*AddTabRequest) CloneMessageVT ¶
func (m *AddTabRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*AddTabRequest) CloneVT ¶
func (m *AddTabRequest) CloneVT() *AddTabRequest
func (*AddTabRequest) EqualMessageVT ¶
func (this *AddTabRequest) EqualMessageVT(thatMsg any) bool
func (*AddTabRequest) EqualVT ¶
func (this *AddTabRequest) EqualVT(that *AddTabRequest) bool
func (*AddTabRequest) GetAfterTabId ¶
func (x *AddTabRequest) GetAfterTabId() string
func (*AddTabRequest) GetSelect ¶
func (x *AddTabRequest) GetSelect() bool
func (*AddTabRequest) GetTab ¶
func (x *AddTabRequest) GetTab() *TabDef
func (*AddTabRequest) GetTabSetId ¶
func (x *AddTabRequest) GetTabSetId() string
func (*AddTabRequest) MarshalJSON ¶
func (x *AddTabRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the AddTabRequest to JSON.
func (*AddTabRequest) MarshalProtoJSON ¶
func (x *AddTabRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the AddTabRequest message to JSON.
func (*AddTabRequest) MarshalProtoText ¶
func (x *AddTabRequest) MarshalProtoText() string
func (*AddTabRequest) MarshalToSizedBufferVT ¶
func (m *AddTabRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AddTabRequest) MarshalToVT ¶
func (m *AddTabRequest) MarshalToVT(dAtA []byte) (int, error)
func (*AddTabRequest) MarshalVT ¶
func (m *AddTabRequest) MarshalVT() (dAtA []byte, err error)
func (*AddTabRequest) ProtoMessage ¶
func (*AddTabRequest) ProtoMessage()
func (*AddTabRequest) Reset ¶
func (x *AddTabRequest) Reset()
func (*AddTabRequest) SizeVT ¶
func (m *AddTabRequest) SizeVT() (n int)
func (*AddTabRequest) String ¶
func (x *AddTabRequest) String() string
func (*AddTabRequest) UnmarshalJSON ¶
func (x *AddTabRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the AddTabRequest from JSON.
func (*AddTabRequest) UnmarshalProtoJSON ¶
func (x *AddTabRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the AddTabRequest message from JSON.
func (*AddTabRequest) UnmarshalVT ¶
func (m *AddTabRequest) UnmarshalVT(dAtA []byte) error
type AddTabResponse ¶
type AddTabResponse struct {
// TabId is the ID of the newly added tab.
TabId string `protobuf:"bytes,1,opt,name=tab_id,json=tabId,proto3" json:"tabId,omitempty"`
// contains filtered or unexported fields
}
AddTabResponse is a response to adding a new tab.
func (*AddTabResponse) CloneMessageVT ¶
func (m *AddTabResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*AddTabResponse) CloneVT ¶
func (m *AddTabResponse) CloneVT() *AddTabResponse
func (*AddTabResponse) EqualMessageVT ¶
func (this *AddTabResponse) EqualMessageVT(thatMsg any) bool
func (*AddTabResponse) EqualVT ¶
func (this *AddTabResponse) EqualVT(that *AddTabResponse) bool
func (*AddTabResponse) GetTabId ¶
func (x *AddTabResponse) GetTabId() string
func (*AddTabResponse) MarshalJSON ¶
func (x *AddTabResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the AddTabResponse to JSON.
func (*AddTabResponse) MarshalProtoJSON ¶
func (x *AddTabResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the AddTabResponse message to JSON.
func (*AddTabResponse) MarshalProtoText ¶
func (x *AddTabResponse) MarshalProtoText() string
func (*AddTabResponse) MarshalToSizedBufferVT ¶
func (m *AddTabResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AddTabResponse) MarshalToVT ¶
func (m *AddTabResponse) MarshalToVT(dAtA []byte) (int, error)
func (*AddTabResponse) MarshalVT ¶
func (m *AddTabResponse) MarshalVT() (dAtA []byte, err error)
func (*AddTabResponse) ProtoMessage ¶
func (*AddTabResponse) ProtoMessage()
func (*AddTabResponse) Reset ¶
func (x *AddTabResponse) Reset()
func (*AddTabResponse) SizeVT ¶
func (m *AddTabResponse) SizeVT() (n int)
func (*AddTabResponse) String ¶
func (x *AddTabResponse) String() string
func (*AddTabResponse) UnmarshalJSON ¶
func (x *AddTabResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the AddTabResponse from JSON.
func (*AddTabResponse) UnmarshalProtoJSON ¶
func (x *AddTabResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the AddTabResponse message from JSON.
func (*AddTabResponse) UnmarshalVT ¶
func (m *AddTabResponse) UnmarshalVT(dAtA []byte) error
type BorderDef ¶
type BorderDef struct {
// BorderLocation is the border location.
BorderLocation BorderLocation `protobuf:"varint,1,opt,name=border_location,json=borderLocation,proto3" json:"borderLocation,omitempty"`
// Children contains the list of tabs in this border.
Children []*TabDef `protobuf:"bytes,2,rep,name=children,proto3" json:"children,omitempty"`
// Selected is the index of selected/visible tab in border; -1 means no tab selected
Selected int32 `protobuf:"varint,3,opt,name=selected,proto3" json:"selected,omitempty"`
// Hide indicates if this border should be hidden
Hide bool `protobuf:"varint,4,opt,name=hide,proto3" json:"hide,omitempty"`
// contains filtered or unexported fields
}
BorderDef contains a definition of a tab border.
func (*BorderDef) CloneMessageVT ¶
func (m *BorderDef) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*BorderDef) EqualMessageVT ¶
func (*BorderDef) GetBorderLocation ¶
func (x *BorderDef) GetBorderLocation() BorderLocation
func (*BorderDef) GetChildren ¶
func (*BorderDef) GetSelected ¶
func (*BorderDef) MarshalJSON ¶
MarshalJSON marshals the BorderDef to JSON.
func (*BorderDef) MarshalProtoJSON ¶
func (x *BorderDef) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the BorderDef message to JSON.
func (*BorderDef) MarshalProtoText ¶
func (*BorderDef) MarshalToSizedBufferVT ¶
func (*BorderDef) ProtoMessage ¶
func (*BorderDef) ProtoMessage()
func (*BorderDef) UnmarshalJSON ¶
UnmarshalJSON unmarshals the BorderDef from JSON.
func (*BorderDef) UnmarshalProtoJSON ¶
func (x *BorderDef) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the BorderDef message from JSON.
func (*BorderDef) UnmarshalVT ¶
type BorderLocation ¶
type BorderLocation int32
BorderLocation is the list of possible border locations.
const ( // BorderLocation_TOP is the default value. BorderLocation_BorderLocation_TOP BorderLocation = 0 // BorderLocation_BOTTOM is the bottom edge. BorderLocation_BorderLocation_BOTTOM BorderLocation = 1 // BorderLocation_LEFT is the left edge. BorderLocation_BorderLocation_LEFT BorderLocation = 2 // BorderLocation_RIGHT is the right edge. BorderLocation_BorderLocation_RIGHT BorderLocation = 3 )
func (BorderLocation) Enum ¶
func (x BorderLocation) Enum() *BorderLocation
func (BorderLocation) MarshalJSON ¶
func (x BorderLocation) MarshalJSON() ([]byte, error)
MarshalJSON marshals the BorderLocation to JSON.
func (BorderLocation) MarshalProtoJSON ¶
func (x BorderLocation) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the BorderLocation to JSON.
func (BorderLocation) MarshalProtoText ¶
func (x BorderLocation) MarshalProtoText() string
func (BorderLocation) MarshalText ¶
func (x BorderLocation) MarshalText() ([]byte, error)
MarshalText marshals the BorderLocation to text.
func (BorderLocation) String ¶
func (x BorderLocation) String() string
func (*BorderLocation) UnmarshalJSON ¶
func (x *BorderLocation) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the BorderLocation from JSON.
func (*BorderLocation) UnmarshalProtoJSON ¶
func (x *BorderLocation) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the BorderLocation from JSON.
func (*BorderLocation) UnmarshalText ¶
func (x *BorderLocation) UnmarshalText(b []byte) error
UnmarshalText unmarshals the BorderLocation from text.
func (BorderLocation) Validate ¶
func (b BorderLocation) Validate() error
Validate validates the border location.
type LayoutLocalState ¶
type LayoutLocalState struct {
// ActiveTabSetId is the ID of the currently active/focused tabset.
ActiveTabSetId string `protobuf:"bytes,1,opt,name=active_tab_set_id,json=activeTabSetId,proto3" json:"activeTabSetId,omitempty"`
// TabSetSelections maps tabset IDs to their selected tab IDs.
TabSetSelections map[string]string `` /* 197-byte string literal not displayed */
// MaximizedTabSetId is the ID of the maximized tabset, if any.
MaximizedTabSetId string `protobuf:"bytes,3,opt,name=maximized_tab_set_id,json=maximizedTabSetId,proto3" json:"maximizedTabSetId,omitempty"`
// contains filtered or unexported fields
}
LayoutLocalState contains local/ephemeral layout state. This state is not persisted to the server but preserved in URLs.
func (*LayoutLocalState) CloneMessageVT ¶
func (m *LayoutLocalState) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*LayoutLocalState) CloneVT ¶
func (m *LayoutLocalState) CloneVT() *LayoutLocalState
func (*LayoutLocalState) EqualMessageVT ¶
func (this *LayoutLocalState) EqualMessageVT(thatMsg any) bool
func (*LayoutLocalState) EqualVT ¶
func (this *LayoutLocalState) EqualVT(that *LayoutLocalState) bool
func (*LayoutLocalState) GetActiveTabSetId ¶
func (x *LayoutLocalState) GetActiveTabSetId() string
func (*LayoutLocalState) GetMaximizedTabSetId ¶
func (x *LayoutLocalState) GetMaximizedTabSetId() string
func (*LayoutLocalState) GetTabSetSelections ¶
func (x *LayoutLocalState) GetTabSetSelections() map[string]string
func (*LayoutLocalState) MarshalJSON ¶
func (x *LayoutLocalState) MarshalJSON() ([]byte, error)
MarshalJSON marshals the LayoutLocalState to JSON.
func (*LayoutLocalState) MarshalProtoJSON ¶
func (x *LayoutLocalState) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the LayoutLocalState message to JSON.
func (*LayoutLocalState) MarshalProtoText ¶
func (x *LayoutLocalState) MarshalProtoText() string
func (*LayoutLocalState) MarshalToSizedBufferVT ¶
func (m *LayoutLocalState) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LayoutLocalState) MarshalToVT ¶
func (m *LayoutLocalState) MarshalToVT(dAtA []byte) (int, error)
func (*LayoutLocalState) MarshalVT ¶
func (m *LayoutLocalState) MarshalVT() (dAtA []byte, err error)
func (*LayoutLocalState) ProtoMessage ¶
func (*LayoutLocalState) ProtoMessage()
func (*LayoutLocalState) Reset ¶
func (x *LayoutLocalState) Reset()
func (*LayoutLocalState) SizeVT ¶
func (m *LayoutLocalState) SizeVT() (n int)
func (*LayoutLocalState) String ¶
func (x *LayoutLocalState) String() string
func (*LayoutLocalState) UnmarshalJSON ¶
func (x *LayoutLocalState) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the LayoutLocalState from JSON.
func (*LayoutLocalState) UnmarshalProtoJSON ¶
func (x *LayoutLocalState) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the LayoutLocalState message from JSON.
func (*LayoutLocalState) UnmarshalVT ¶
func (m *LayoutLocalState) UnmarshalVT(dAtA []byte) error
type LayoutLocalState_TabSetSelectionsEntry ¶
type LayoutLocalState_TabSetSelectionsEntry 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 (*LayoutLocalState_TabSetSelectionsEntry) GetKey ¶
func (x *LayoutLocalState_TabSetSelectionsEntry) GetKey() string
func (*LayoutLocalState_TabSetSelectionsEntry) GetValue ¶
func (x *LayoutLocalState_TabSetSelectionsEntry) GetValue() string
func (*LayoutLocalState_TabSetSelectionsEntry) MarshalJSON ¶
func (x *LayoutLocalState_TabSetSelectionsEntry) MarshalJSON() ([]byte, error)
MarshalJSON marshals the LayoutLocalState_TabSetSelectionsEntry to JSON.
func (*LayoutLocalState_TabSetSelectionsEntry) MarshalProtoJSON ¶
func (x *LayoutLocalState_TabSetSelectionsEntry) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the LayoutLocalState_TabSetSelectionsEntry message to JSON.
func (*LayoutLocalState_TabSetSelectionsEntry) MarshalProtoText ¶
func (x *LayoutLocalState_TabSetSelectionsEntry) MarshalProtoText() string
func (*LayoutLocalState_TabSetSelectionsEntry) ProtoMessage ¶
func (*LayoutLocalState_TabSetSelectionsEntry) ProtoMessage()
func (*LayoutLocalState_TabSetSelectionsEntry) Reset ¶
func (x *LayoutLocalState_TabSetSelectionsEntry) Reset()
func (*LayoutLocalState_TabSetSelectionsEntry) String ¶
func (x *LayoutLocalState_TabSetSelectionsEntry) String() string
func (*LayoutLocalState_TabSetSelectionsEntry) UnmarshalJSON ¶
func (x *LayoutLocalState_TabSetSelectionsEntry) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the LayoutLocalState_TabSetSelectionsEntry from JSON.
func (*LayoutLocalState_TabSetSelectionsEntry) UnmarshalProtoJSON ¶
func (x *LayoutLocalState_TabSetSelectionsEntry) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the LayoutLocalState_TabSetSelectionsEntry message from JSON.
type LayoutModel ¶
type LayoutModel struct {
// Borders contains the optional list of borders containing tabs.
// Borders can contain tabs on the sides of the layout.
Borders []*BorderDef `protobuf:"bytes,1,rep,name=borders,proto3" json:"borders,omitempty"`
// Layout contains the row definition for the model.
Layout *RowDef `protobuf:"bytes,2,opt,name=layout,proto3" json:"layout,omitempty"`
// contains filtered or unexported fields
}
LayoutModel contains information about Tabs and ObjectViewers in a layout.
func (*LayoutModel) CloneMessageVT ¶
func (m *LayoutModel) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*LayoutModel) CloneVT ¶
func (m *LayoutModel) CloneVT() *LayoutModel
func (*LayoutModel) EqualMessageVT ¶
func (this *LayoutModel) EqualMessageVT(thatMsg any) bool
func (*LayoutModel) EqualVT ¶
func (this *LayoutModel) EqualVT(that *LayoutModel) bool
func (*LayoutModel) GetBorders ¶
func (x *LayoutModel) GetBorders() []*BorderDef
func (*LayoutModel) GetLayout ¶
func (x *LayoutModel) GetLayout() *RowDef
func (*LayoutModel) MarshalJSON ¶
func (x *LayoutModel) MarshalJSON() ([]byte, error)
MarshalJSON marshals the LayoutModel to JSON.
func (*LayoutModel) MarshalProtoJSON ¶
func (x *LayoutModel) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the LayoutModel message to JSON.
func (*LayoutModel) MarshalProtoText ¶
func (x *LayoutModel) MarshalProtoText() string
func (*LayoutModel) MarshalToSizedBufferVT ¶
func (m *LayoutModel) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LayoutModel) MarshalToVT ¶
func (m *LayoutModel) MarshalToVT(dAtA []byte) (int, error)
func (*LayoutModel) MarshalVT ¶
func (m *LayoutModel) MarshalVT() (dAtA []byte, err error)
func (*LayoutModel) ProtoMessage ¶
func (*LayoutModel) ProtoMessage()
func (*LayoutModel) Reset ¶
func (x *LayoutModel) Reset()
func (*LayoutModel) SizeVT ¶
func (m *LayoutModel) SizeVT() (n int)
func (*LayoutModel) String ¶
func (x *LayoutModel) String() string
func (*LayoutModel) UnmarshalJSON ¶
func (x *LayoutModel) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the LayoutModel from JSON.
func (*LayoutModel) UnmarshalProtoJSON ¶
func (x *LayoutModel) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the LayoutModel message from JSON.
func (*LayoutModel) UnmarshalVT ¶
func (m *LayoutModel) UnmarshalVT(dAtA []byte) error
func (*LayoutModel) Validate ¶
func (m *LayoutModel) Validate(validateTabDef TabDefValidator) error
Validate checks the layout model for validity.
validateTabDef can be nil.
type LayoutSnapshot ¶
type LayoutSnapshot struct {
// Model contains the structural layout (tabs, tabsets, rows).
Model *LayoutModel `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
// LocalState contains ephemeral UI state (selections, active tabset).
LocalState *LayoutLocalState `protobuf:"bytes,2,opt,name=local_state,json=localState,proto3" json:"localState,omitempty"`
// contains filtered or unexported fields
}
LayoutSnapshot contains a complete layout state including local UI state. Used for URL encoding of grid layouts to preserve selection state.
func (*LayoutSnapshot) CloneMessageVT ¶
func (m *LayoutSnapshot) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*LayoutSnapshot) CloneVT ¶
func (m *LayoutSnapshot) CloneVT() *LayoutSnapshot
func (*LayoutSnapshot) EqualMessageVT ¶
func (this *LayoutSnapshot) EqualMessageVT(thatMsg any) bool
func (*LayoutSnapshot) EqualVT ¶
func (this *LayoutSnapshot) EqualVT(that *LayoutSnapshot) bool
func (*LayoutSnapshot) GetLocalState ¶
func (x *LayoutSnapshot) GetLocalState() *LayoutLocalState
func (*LayoutSnapshot) GetModel ¶
func (x *LayoutSnapshot) GetModel() *LayoutModel
func (*LayoutSnapshot) MarshalJSON ¶
func (x *LayoutSnapshot) MarshalJSON() ([]byte, error)
MarshalJSON marshals the LayoutSnapshot to JSON.
func (*LayoutSnapshot) MarshalProtoJSON ¶
func (x *LayoutSnapshot) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the LayoutSnapshot message to JSON.
func (*LayoutSnapshot) MarshalProtoText ¶
func (x *LayoutSnapshot) MarshalProtoText() string
func (*LayoutSnapshot) MarshalToSizedBufferVT ¶
func (m *LayoutSnapshot) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LayoutSnapshot) MarshalToVT ¶
func (m *LayoutSnapshot) MarshalToVT(dAtA []byte) (int, error)
func (*LayoutSnapshot) MarshalVT ¶
func (m *LayoutSnapshot) MarshalVT() (dAtA []byte, err error)
func (*LayoutSnapshot) ProtoMessage ¶
func (*LayoutSnapshot) ProtoMessage()
func (*LayoutSnapshot) Reset ¶
func (x *LayoutSnapshot) Reset()
func (*LayoutSnapshot) SizeVT ¶
func (m *LayoutSnapshot) SizeVT() (n int)
func (*LayoutSnapshot) String ¶
func (x *LayoutSnapshot) String() string
func (*LayoutSnapshot) UnmarshalJSON ¶
func (x *LayoutSnapshot) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the LayoutSnapshot from JSON.
func (*LayoutSnapshot) UnmarshalProtoJSON ¶
func (x *LayoutSnapshot) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the LayoutSnapshot message from JSON.
func (*LayoutSnapshot) UnmarshalVT ¶
func (m *LayoutSnapshot) UnmarshalVT(dAtA []byte) error
type NavigateTabRequest ¶
type NavigateTabRequest struct {
TabId string `protobuf:"bytes,1,opt,name=tab_id,json=tabId,proto3" json:"tabId,omitempty"`
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
NavigateTabRequest is a request to navigate within a tab.
func (*NavigateTabRequest) CloneMessageVT ¶
func (m *NavigateTabRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*NavigateTabRequest) CloneVT ¶
func (m *NavigateTabRequest) CloneVT() *NavigateTabRequest
func (*NavigateTabRequest) EqualMessageVT ¶
func (this *NavigateTabRequest) EqualMessageVT(thatMsg any) bool
func (*NavigateTabRequest) EqualVT ¶
func (this *NavigateTabRequest) EqualVT(that *NavigateTabRequest) bool
func (*NavigateTabRequest) GetPath ¶
func (x *NavigateTabRequest) GetPath() string
func (*NavigateTabRequest) GetTabId ¶
func (x *NavigateTabRequest) GetTabId() string
func (*NavigateTabRequest) MarshalJSON ¶
func (x *NavigateTabRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the NavigateTabRequest to JSON.
func (*NavigateTabRequest) MarshalProtoJSON ¶
func (x *NavigateTabRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the NavigateTabRequest message to JSON.
func (*NavigateTabRequest) MarshalProtoText ¶
func (x *NavigateTabRequest) MarshalProtoText() string
func (*NavigateTabRequest) MarshalToSizedBufferVT ¶
func (m *NavigateTabRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*NavigateTabRequest) MarshalToVT ¶
func (m *NavigateTabRequest) MarshalToVT(dAtA []byte) (int, error)
func (*NavigateTabRequest) MarshalVT ¶
func (m *NavigateTabRequest) MarshalVT() (dAtA []byte, err error)
func (*NavigateTabRequest) ProtoMessage ¶
func (*NavigateTabRequest) ProtoMessage()
func (*NavigateTabRequest) Reset ¶
func (x *NavigateTabRequest) Reset()
func (*NavigateTabRequest) SizeVT ¶
func (m *NavigateTabRequest) SizeVT() (n int)
func (*NavigateTabRequest) String ¶
func (x *NavigateTabRequest) String() string
func (*NavigateTabRequest) UnmarshalJSON ¶
func (x *NavigateTabRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the NavigateTabRequest from JSON.
func (*NavigateTabRequest) UnmarshalProtoJSON ¶
func (x *NavigateTabRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the NavigateTabRequest message from JSON.
func (*NavigateTabRequest) UnmarshalVT ¶
func (m *NavigateTabRequest) UnmarshalVT(dAtA []byte) error
type NavigateTabResponse ¶
type NavigateTabResponse struct {
// contains filtered or unexported fields
}
NavigateTabResponse is a response to navigate within a tab.
func (*NavigateTabResponse) CloneMessageVT ¶
func (m *NavigateTabResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*NavigateTabResponse) CloneVT ¶
func (m *NavigateTabResponse) CloneVT() *NavigateTabResponse
func (*NavigateTabResponse) EqualMessageVT ¶
func (this *NavigateTabResponse) EqualMessageVT(thatMsg any) bool
func (*NavigateTabResponse) EqualVT ¶
func (this *NavigateTabResponse) EqualVT(that *NavigateTabResponse) bool
func (*NavigateTabResponse) MarshalJSON ¶
func (x *NavigateTabResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the NavigateTabResponse to JSON.
func (*NavigateTabResponse) MarshalProtoJSON ¶
func (x *NavigateTabResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the NavigateTabResponse message to JSON.
func (*NavigateTabResponse) MarshalProtoText ¶
func (x *NavigateTabResponse) MarshalProtoText() string
func (*NavigateTabResponse) MarshalToSizedBufferVT ¶
func (m *NavigateTabResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*NavigateTabResponse) MarshalToVT ¶
func (m *NavigateTabResponse) MarshalToVT(dAtA []byte) (int, error)
func (*NavigateTabResponse) MarshalVT ¶
func (m *NavigateTabResponse) MarshalVT() (dAtA []byte, err error)
func (*NavigateTabResponse) ProtoMessage ¶
func (*NavigateTabResponse) ProtoMessage()
func (*NavigateTabResponse) Reset ¶
func (x *NavigateTabResponse) Reset()
func (*NavigateTabResponse) SizeVT ¶
func (m *NavigateTabResponse) SizeVT() (n int)
func (*NavigateTabResponse) String ¶
func (x *NavigateTabResponse) String() string
func (*NavigateTabResponse) UnmarshalJSON ¶
func (x *NavigateTabResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the NavigateTabResponse from JSON.
func (*NavigateTabResponse) UnmarshalProtoJSON ¶
func (x *NavigateTabResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the NavigateTabResponse message from JSON.
func (*NavigateTabResponse) UnmarshalVT ¶
func (m *NavigateTabResponse) UnmarshalVT(dAtA []byte) error
type RowDef ¶
type RowDef struct {
// Id is the id of the row.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Children is the list of children nodes.
Children []*RowOrTabSetDef `protobuf:"bytes,2,rep,name=children,proto3" json:"children,omitempty"`
// Weight is the weight of the row.
Weight float32 `protobuf:"fixed32,3,opt,name=weight,proto3" json:"weight,omitempty"`
// contains filtered or unexported fields
}
RowDef contains information about a row.
func (*RowDef) CloneMessageVT ¶
func (m *RowDef) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*RowDef) EqualMessageVT ¶
func (*RowDef) GetChildren ¶
func (x *RowDef) GetChildren() []*RowOrTabSetDef
func (*RowDef) MarshalJSON ¶
MarshalJSON marshals the RowDef to JSON.
func (*RowDef) MarshalProtoJSON ¶
func (x *RowDef) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the RowDef message to JSON.
func (*RowDef) MarshalProtoText ¶
func (*RowDef) MarshalToSizedBufferVT ¶
func (*RowDef) ProtoMessage ¶
func (*RowDef) ProtoMessage()
func (*RowDef) UnmarshalJSON ¶
UnmarshalJSON unmarshals the RowDef from JSON.
func (*RowDef) UnmarshalProtoJSON ¶
func (x *RowDef) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the RowDef message from JSON.
func (*RowDef) UnmarshalVT ¶
func (*RowDef) Validate ¶
func (m *RowDef) Validate(validateTabDef TabDefValidator) error
Validate checks the row def for validity.
validateTabDef can be nil.
type RowOrTabSetDef ¶
type RowOrTabSetDef struct {
// Types that are assignable to Node:
//
// *RowOrTabSetDef_Row
// *RowOrTabSetDef_TabSet
Node isRowOrTabSetDef_Node `protobuf_oneof:"node"`
// contains filtered or unexported fields
}
RowOrTabSetDef contains either a RowDef or a TabSetDef.
func (*RowOrTabSetDef) CloneMessageVT ¶
func (m *RowOrTabSetDef) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*RowOrTabSetDef) CloneVT ¶
func (m *RowOrTabSetDef) CloneVT() *RowOrTabSetDef
func (*RowOrTabSetDef) EqualMessageVT ¶
func (this *RowOrTabSetDef) EqualMessageVT(thatMsg any) bool
func (*RowOrTabSetDef) EqualVT ¶
func (this *RowOrTabSetDef) EqualVT(that *RowOrTabSetDef) bool
func (*RowOrTabSetDef) GetNode ¶
func (m *RowOrTabSetDef) GetNode() isRowOrTabSetDef_Node
func (*RowOrTabSetDef) GetRow ¶
func (x *RowOrTabSetDef) GetRow() *RowDef
func (*RowOrTabSetDef) GetTabSet ¶
func (x *RowOrTabSetDef) GetTabSet() *TabSetDef
func (*RowOrTabSetDef) MarshalJSON ¶
func (x *RowOrTabSetDef) MarshalJSON() ([]byte, error)
MarshalJSON marshals the RowOrTabSetDef to JSON.
func (*RowOrTabSetDef) MarshalProtoJSON ¶
func (x *RowOrTabSetDef) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the RowOrTabSetDef message to JSON.
func (*RowOrTabSetDef) MarshalProtoText ¶
func (x *RowOrTabSetDef) MarshalProtoText() string
func (*RowOrTabSetDef) MarshalToSizedBufferVT ¶
func (m *RowOrTabSetDef) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RowOrTabSetDef) MarshalToVT ¶
func (m *RowOrTabSetDef) MarshalToVT(dAtA []byte) (int, error)
func (*RowOrTabSetDef) MarshalVT ¶
func (m *RowOrTabSetDef) MarshalVT() (dAtA []byte, err error)
func (*RowOrTabSetDef) ProtoMessage ¶
func (*RowOrTabSetDef) ProtoMessage()
func (*RowOrTabSetDef) Reset ¶
func (x *RowOrTabSetDef) Reset()
func (*RowOrTabSetDef) SizeVT ¶
func (m *RowOrTabSetDef) SizeVT() (n int)
func (*RowOrTabSetDef) String ¶
func (x *RowOrTabSetDef) String() string
func (*RowOrTabSetDef) UnmarshalJSON ¶
func (x *RowOrTabSetDef) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the RowOrTabSetDef from JSON.
func (*RowOrTabSetDef) UnmarshalProtoJSON ¶
func (x *RowOrTabSetDef) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the RowOrTabSetDef message from JSON.
func (*RowOrTabSetDef) UnmarshalVT ¶
func (m *RowOrTabSetDef) UnmarshalVT(dAtA []byte) error
func (*RowOrTabSetDef) Validate ¶
func (m *RowOrTabSetDef) Validate(validateTabDef TabDefValidator) error
Validate checks the row or tabset def for validity.
validateTabDef can be nil.
type RowOrTabSetDef_Row ¶
type RowOrTabSetDef_Row struct {
Row *RowDef `protobuf:"bytes,1,opt,name=row,proto3,oneof"`
}
func (*RowOrTabSetDef_Row) CloneOneofVT ¶
func (m *RowOrTabSetDef_Row) CloneOneofVT() isRowOrTabSetDef_Node
func (*RowOrTabSetDef_Row) CloneVT ¶
func (m *RowOrTabSetDef_Row) CloneVT() *RowOrTabSetDef_Row
func (*RowOrTabSetDef_Row) EqualVT ¶
func (this *RowOrTabSetDef_Row) EqualVT(thatIface isRowOrTabSetDef_Node) bool
func (*RowOrTabSetDef_Row) MarshalToSizedBufferVT ¶
func (m *RowOrTabSetDef_Row) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RowOrTabSetDef_Row) MarshalToVT ¶
func (m *RowOrTabSetDef_Row) MarshalToVT(dAtA []byte) (int, error)
func (*RowOrTabSetDef_Row) SizeVT ¶
func (m *RowOrTabSetDef_Row) SizeVT() (n int)
type RowOrTabSetDef_TabSet ¶
type RowOrTabSetDef_TabSet struct {
TabSet *TabSetDef `protobuf:"bytes,2,opt,name=tab_set,json=tabSet,proto3,oneof"`
}
func (*RowOrTabSetDef_TabSet) CloneOneofVT ¶
func (m *RowOrTabSetDef_TabSet) CloneOneofVT() isRowOrTabSetDef_Node
func (*RowOrTabSetDef_TabSet) CloneVT ¶
func (m *RowOrTabSetDef_TabSet) CloneVT() *RowOrTabSetDef_TabSet
func (*RowOrTabSetDef_TabSet) EqualVT ¶
func (this *RowOrTabSetDef_TabSet) EqualVT(thatIface isRowOrTabSetDef_Node) bool
func (*RowOrTabSetDef_TabSet) MarshalToSizedBufferVT ¶
func (m *RowOrTabSetDef_TabSet) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RowOrTabSetDef_TabSet) MarshalToVT ¶
func (m *RowOrTabSetDef_TabSet) MarshalToVT(dAtA []byte) (int, error)
func (*RowOrTabSetDef_TabSet) SizeVT ¶
func (m *RowOrTabSetDef_TabSet) SizeVT() (n int)
type SRPCLayoutHostClient ¶
type SRPCLayoutHostClient interface {
// SRPCClient returns the underlying SRPC client.
SRPCClient() srpc.Client
WatchLayoutModel(ctx context.Context) (SRPCLayoutHost_WatchLayoutModelClient, error)
AddTab(ctx context.Context, in *AddTabRequest) (*AddTabResponse, error)
}
func NewSRPCLayoutHostClient ¶
func NewSRPCLayoutHostClient(cc srpc.Client) SRPCLayoutHostClient
func NewSRPCLayoutHostClientWithServiceID ¶
func NewSRPCLayoutHostClientWithServiceID(cc srpc.Client, serviceID string) SRPCLayoutHostClient
type SRPCLayoutHostHandler ¶
type SRPCLayoutHostHandler struct {
// contains filtered or unexported fields
}
func (SRPCLayoutHostHandler) GetMethodIDs ¶
func (SRPCLayoutHostHandler) GetMethodIDs() []string
func (*SRPCLayoutHostHandler) GetServiceID ¶
func (d *SRPCLayoutHostHandler) GetServiceID() string
func (*SRPCLayoutHostHandler) InvokeMethod ¶
func (SRPCLayoutHostHandler) InvokeMethod_AddTab ¶
func (SRPCLayoutHostHandler) InvokeMethod_AddTab(impl SRPCLayoutHostServer, strm srpc.Stream) error
func (SRPCLayoutHostHandler) InvokeMethod_NavigateTab ¶
func (SRPCLayoutHostHandler) InvokeMethod_NavigateTab(impl SRPCLayoutHostServer, strm srpc.Stream) error
func (SRPCLayoutHostHandler) InvokeMethod_WatchLayoutModel ¶
func (SRPCLayoutHostHandler) InvokeMethod_WatchLayoutModel(impl SRPCLayoutHostServer, strm srpc.Stream) error
type SRPCLayoutHostServer ¶
type SRPCLayoutHostServer interface {
WatchLayoutModel(SRPCLayoutHost_WatchLayoutModelStream) error
AddTab(context.Context, *AddTabRequest) (*AddTabResponse, error)
}
type SRPCLayoutHost_WatchLayoutModelClient ¶
type SRPCLayoutHost_WatchLayoutModelClient interface {
srpc.Stream
Send(*WatchLayoutModelRequest) error
Recv() (*LayoutModel, error)
RecvTo(*LayoutModel) error
}
type SRPCLayoutHost_WatchLayoutModelStream ¶
type SRPCLayoutHost_WatchLayoutModelStream interface {
srpc.Stream
Send(*LayoutModel) error
SendAndClose(*LayoutModel) error
Recv() (*WatchLayoutModelRequest, error)
RecvTo(*WatchLayoutModelRequest) error
}
type TabDef ¶
type TabDef struct {
// Id is the unique identifier for the tab.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Name is the title of the tab.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// HelpText is text that shows when hovering over the tab.
HelpText string `protobuf:"bytes,3,opt,name=help_text,json=helpText,proto3" json:"helpText,omitempty"`
// EnableClose enables closing the tab with the close button.
EnableClose bool `protobuf:"varint,4,opt,name=enable_close,json=enableClose,proto3" json:"enableClose,omitempty"`
// Data contains data passed to the tab contents.
Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
TabDef contains information about a tab.
func (*TabDef) CloneMessageVT ¶
func (m *TabDef) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*TabDef) EqualMessageVT ¶
func (*TabDef) GetEnableClose ¶
func (*TabDef) GetHelpText ¶
func (*TabDef) MarshalJSON ¶
MarshalJSON marshals the TabDef to JSON.
func (*TabDef) MarshalProtoJSON ¶
func (x *TabDef) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the TabDef message to JSON.
func (*TabDef) MarshalProtoText ¶
func (*TabDef) MarshalToSizedBufferVT ¶
func (*TabDef) ProtoMessage ¶
func (*TabDef) ProtoMessage()
func (*TabDef) UnmarshalJSON ¶
UnmarshalJSON unmarshals the TabDef from JSON.
func (*TabDef) UnmarshalProtoJSON ¶
func (x *TabDef) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the TabDef message from JSON.
func (*TabDef) UnmarshalVT ¶
func (*TabDef) Validate ¶
func (m *TabDef) Validate(validateTabDef TabDefValidator) error
Validate validates the tab def.
validateTabDef can be nil.
type TabDefValidator ¶
TabDefValidator validates a TabDef, particularly the data field.
type TabSetDef ¶
type TabSetDef struct {
// Id is the unique identifier for the tab.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Name is an optional title for the tab.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Weight is the relative size of the tab set.
Weight float32 `protobuf:"fixed32,3,opt,name=weight,proto3" json:"weight,omitempty"`
// Children contains the list of children tabs.
Children []*TabDef `protobuf:"bytes,4,rep,name=children,proto3" json:"children,omitempty"`
// contains filtered or unexported fields
}
TabSetDef contains information about a set of tabs.
func (*TabSetDef) CloneMessageVT ¶
func (m *TabSetDef) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*TabSetDef) EqualMessageVT ¶
func (*TabSetDef) GetChildren ¶
func (*TabSetDef) MarshalJSON ¶
MarshalJSON marshals the TabSetDef to JSON.
func (*TabSetDef) MarshalProtoJSON ¶
func (x *TabSetDef) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the TabSetDef message to JSON.
func (*TabSetDef) MarshalProtoText ¶
func (*TabSetDef) MarshalToSizedBufferVT ¶
func (*TabSetDef) ProtoMessage ¶
func (*TabSetDef) ProtoMessage()
func (*TabSetDef) UnmarshalJSON ¶
UnmarshalJSON unmarshals the TabSetDef from JSON.
func (*TabSetDef) UnmarshalProtoJSON ¶
func (x *TabSetDef) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the TabSetDef message from JSON.
func (*TabSetDef) UnmarshalVT ¶
func (*TabSetDef) Validate ¶
func (m *TabSetDef) Validate(validateTabDef TabDefValidator) error
Validate validates the TabSet.
validateTabDef can be nil.
type WatchLayoutModelRequest ¶
type WatchLayoutModelRequest struct {
// Types that are assignable to Body:
//
// *WatchLayoutModelRequest_SetModel
Body isWatchLayoutModelRequest_Body `protobuf_oneof:"body"`
// contains filtered or unexported fields
}
WatchLayoutModelRequest is a request sent by the client of WatchLayoutModel.
func (*WatchLayoutModelRequest) CloneMessageVT ¶
func (m *WatchLayoutModelRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*WatchLayoutModelRequest) CloneVT ¶
func (m *WatchLayoutModelRequest) CloneVT() *WatchLayoutModelRequest
func (*WatchLayoutModelRequest) EqualMessageVT ¶
func (this *WatchLayoutModelRequest) EqualMessageVT(thatMsg any) bool
func (*WatchLayoutModelRequest) EqualVT ¶
func (this *WatchLayoutModelRequest) EqualVT(that *WatchLayoutModelRequest) bool
func (*WatchLayoutModelRequest) GetBody ¶
func (m *WatchLayoutModelRequest) GetBody() isWatchLayoutModelRequest_Body
func (*WatchLayoutModelRequest) GetSetModel ¶
func (x *WatchLayoutModelRequest) GetSetModel() *LayoutModel
func (*WatchLayoutModelRequest) MarshalJSON ¶
func (x *WatchLayoutModelRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the WatchLayoutModelRequest to JSON.
func (*WatchLayoutModelRequest) MarshalProtoJSON ¶
func (x *WatchLayoutModelRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the WatchLayoutModelRequest message to JSON.
func (*WatchLayoutModelRequest) MarshalProtoText ¶
func (x *WatchLayoutModelRequest) MarshalProtoText() string
func (*WatchLayoutModelRequest) MarshalToSizedBufferVT ¶
func (m *WatchLayoutModelRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*WatchLayoutModelRequest) MarshalToVT ¶
func (m *WatchLayoutModelRequest) MarshalToVT(dAtA []byte) (int, error)
func (*WatchLayoutModelRequest) MarshalVT ¶
func (m *WatchLayoutModelRequest) MarshalVT() (dAtA []byte, err error)
func (*WatchLayoutModelRequest) ProtoMessage ¶
func (*WatchLayoutModelRequest) ProtoMessage()
func (*WatchLayoutModelRequest) Reset ¶
func (x *WatchLayoutModelRequest) Reset()
func (*WatchLayoutModelRequest) SizeVT ¶
func (m *WatchLayoutModelRequest) SizeVT() (n int)
func (*WatchLayoutModelRequest) String ¶
func (x *WatchLayoutModelRequest) String() string
func (*WatchLayoutModelRequest) UnmarshalJSON ¶
func (x *WatchLayoutModelRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the WatchLayoutModelRequest from JSON.
func (*WatchLayoutModelRequest) UnmarshalProtoJSON ¶
func (x *WatchLayoutModelRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the WatchLayoutModelRequest message from JSON.
func (*WatchLayoutModelRequest) UnmarshalVT ¶
func (m *WatchLayoutModelRequest) UnmarshalVT(dAtA []byte) error
type WatchLayoutModelRequest_SetModel ¶
type WatchLayoutModelRequest_SetModel struct {
// SetModel sets a full snapshot of the layout model.
// May return an error if the model does not validate correctly.
// Updates the model internally & yields new version on WatchLayoutModel.
SetModel *LayoutModel `protobuf:"bytes,1,opt,name=set_model,json=setModel,proto3,oneof"`
}
func (*WatchLayoutModelRequest_SetModel) CloneOneofVT ¶
func (m *WatchLayoutModelRequest_SetModel) CloneOneofVT() isWatchLayoutModelRequest_Body
func (*WatchLayoutModelRequest_SetModel) CloneVT ¶
func (m *WatchLayoutModelRequest_SetModel) CloneVT() *WatchLayoutModelRequest_SetModel
func (*WatchLayoutModelRequest_SetModel) EqualVT ¶
func (this *WatchLayoutModelRequest_SetModel) EqualVT(thatIface isWatchLayoutModelRequest_Body) bool
func (*WatchLayoutModelRequest_SetModel) MarshalToSizedBufferVT ¶
func (m *WatchLayoutModelRequest_SetModel) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*WatchLayoutModelRequest_SetModel) MarshalToVT ¶
func (m *WatchLayoutModelRequest_SetModel) MarshalToVT(dAtA []byte) (int, error)
func (*WatchLayoutModelRequest_SetModel) SizeVT ¶
func (m *WatchLayoutModelRequest_SetModel) SizeVT() (n int)