Documentation ¶
Index ¶
- Constants
- type CloseTabRtnType
- type WorkspaceService
- func (svc *WorkspaceService) ChangeTabPinning(ctx context.Context, workspaceId string, tabId string, pinned bool) (waveobj.UpdatesRtnType, error)
- func (svc *WorkspaceService) ChangeTabPinning_Meta() tsgenmeta.MethodMeta
- func (svc *WorkspaceService) CloseTab(ctx context.Context, workspaceId string, tabId string, fromElectron bool) (*CloseTabRtnType, waveobj.UpdatesRtnType, error)
- func (svc *WorkspaceService) CloseTab_Meta() tsgenmeta.MethodMeta
- func (svc *WorkspaceService) CreateTab(workspaceId string, tabName string, activateTab bool, pinned bool) (string, waveobj.UpdatesRtnType, error)
- func (svc *WorkspaceService) CreateTab_Meta() tsgenmeta.MethodMeta
- func (svc *WorkspaceService) CreateWorkspace(ctx context.Context) (string, error)
- func (svc *WorkspaceService) CreateWorkspace_Meta() tsgenmeta.MethodMeta
- func (svc *WorkspaceService) DeleteWorkspace(workspaceId string) (waveobj.UpdatesRtnType, error)
- func (svc *WorkspaceService) DeleteWorkspace_Meta() tsgenmeta.MethodMeta
- func (svc *WorkspaceService) GetWorkspace(workspaceId string) (*waveobj.Workspace, error)
- func (svc *WorkspaceService) GetWorkspace_Meta() tsgenmeta.MethodMeta
- func (svg *WorkspaceService) ListWorkspaces() (waveobj.WorkspaceList, error)
- func (svc *WorkspaceService) SetActiveTab(workspaceId string, tabId string) (waveobj.UpdatesRtnType, error)
- func (svc *WorkspaceService) SetActiveTab_Meta() tsgenmeta.MethodMeta
- func (svc *WorkspaceService) UpdateTabIds(uiContext waveobj.UIContext, workspaceId string, tabIds []string, ...) (waveobj.UpdatesRtnType, error)
- func (svc *WorkspaceService) UpdateTabIds_Meta() tsgenmeta.MethodMeta
Constants ¶
View Source
const DefaultTimeout = 2 * time.Second
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloseTabRtnType ¶
type WorkspaceService ¶
type WorkspaceService struct{}
func (*WorkspaceService) ChangeTabPinning ¶
func (svc *WorkspaceService) ChangeTabPinning(ctx context.Context, workspaceId string, tabId string, pinned bool) (waveobj.UpdatesRtnType, error)
func (*WorkspaceService) ChangeTabPinning_Meta ¶
func (svc *WorkspaceService) ChangeTabPinning_Meta() tsgenmeta.MethodMeta
func (*WorkspaceService) CloseTab ¶
func (svc *WorkspaceService) CloseTab(ctx context.Context, workspaceId string, tabId string, fromElectron bool) (*CloseTabRtnType, waveobj.UpdatesRtnType, error)
returns the new active tabid
func (*WorkspaceService) CloseTab_Meta ¶
func (svc *WorkspaceService) CloseTab_Meta() tsgenmeta.MethodMeta
func (*WorkspaceService) CreateTab ¶
func (svc *WorkspaceService) CreateTab(workspaceId string, tabName string, activateTab bool, pinned bool) (string, waveobj.UpdatesRtnType, error)
func (*WorkspaceService) CreateTab_Meta ¶
func (svc *WorkspaceService) CreateTab_Meta() tsgenmeta.MethodMeta
func (*WorkspaceService) CreateWorkspace ¶
func (svc *WorkspaceService) CreateWorkspace(ctx context.Context) (string, error)
func (*WorkspaceService) CreateWorkspace_Meta ¶
func (svc *WorkspaceService) CreateWorkspace_Meta() tsgenmeta.MethodMeta
func (*WorkspaceService) DeleteWorkspace ¶
func (svc *WorkspaceService) DeleteWorkspace(workspaceId string) (waveobj.UpdatesRtnType, error)
func (*WorkspaceService) DeleteWorkspace_Meta ¶
func (svc *WorkspaceService) DeleteWorkspace_Meta() tsgenmeta.MethodMeta
func (*WorkspaceService) GetWorkspace ¶
func (svc *WorkspaceService) GetWorkspace(workspaceId string) (*waveobj.Workspace, error)
func (*WorkspaceService) GetWorkspace_Meta ¶
func (svc *WorkspaceService) GetWorkspace_Meta() tsgenmeta.MethodMeta
func (*WorkspaceService) ListWorkspaces ¶
func (svg *WorkspaceService) ListWorkspaces() (waveobj.WorkspaceList, error)
func (*WorkspaceService) SetActiveTab ¶
func (svc *WorkspaceService) SetActiveTab(workspaceId string, tabId string) (waveobj.UpdatesRtnType, error)
func (*WorkspaceService) SetActiveTab_Meta ¶
func (svc *WorkspaceService) SetActiveTab_Meta() tsgenmeta.MethodMeta
func (*WorkspaceService) UpdateTabIds ¶
func (svc *WorkspaceService) UpdateTabIds(uiContext waveobj.UIContext, workspaceId string, tabIds []string, pinnedTabIds []string) (waveobj.UpdatesRtnType, error)
func (*WorkspaceService) UpdateTabIds_Meta ¶
func (svc *WorkspaceService) UpdateTabIds_Meta() tsgenmeta.MethodMeta
Click to show internal directories.
Click to hide internal directories.