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, name string, icon string, color string, ...) (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) GetColors() []string
- func (svc *WorkspaceService) GetColors_Meta() tsgenmeta.MethodMeta
- func (svc *WorkspaceService) GetIcons() []string
- func (svc *WorkspaceService) GetIcons_Meta() tsgenmeta.MethodMeta
- func (svc *WorkspaceService) GetWorkspace(workspaceId string) (*waveobj.Workspace, error)
- func (svc *WorkspaceService) GetWorkspace_Meta() tsgenmeta.MethodMeta
- func (svc *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
- func (svc *WorkspaceService) UpdateWorkspace(ctx context.Context, workspaceId string, name string, icon string, ...) (waveobj.UpdatesRtnType, error)
- func (svc *WorkspaceService) UpdateWorkspace_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 (*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) GetColors ¶ added in v0.10.1
func (svc *WorkspaceService) GetColors() []string
func (*WorkspaceService) GetColors_Meta ¶ added in v0.10.1
func (svc *WorkspaceService) GetColors_Meta() tsgenmeta.MethodMeta
func (*WorkspaceService) GetIcons ¶ added in v0.10.1
func (svc *WorkspaceService) GetIcons() []string
func (*WorkspaceService) GetIcons_Meta ¶ added in v0.10.1
func (svc *WorkspaceService) GetIcons_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 (svc *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
func (*WorkspaceService) UpdateWorkspace ¶ added in v0.10.1
func (*WorkspaceService) UpdateWorkspace_Meta ¶ added in v0.10.1
func (svc *WorkspaceService) UpdateWorkspace_Meta() tsgenmeta.MethodMeta
Click to show internal directories.
Click to hide internal directories.