Documentation
¶
Index ¶
- Constants
- Variables
- func ActivityCommand(w *wshutil.WshRpc, data wshrpc.ActivityUpdate, opts *wshrpc.RpcOpts) error
- func AiSendMessageCommand(w *wshutil.WshRpc, data wshrpc.AiMessageData, opts *wshrpc.RpcOpts) error
- func AuthenticateCommand(w *wshutil.WshRpc, data string, opts *wshrpc.RpcOpts) (wshrpc.CommandAuthenticateRtnData, error)
- func AuthenticateTokenCommand(w *wshutil.WshRpc, data wshrpc.CommandAuthenticateTokenData, ...) (wshrpc.CommandAuthenticateRtnData, error)
- func BlockInfoCommand(w *wshutil.WshRpc, data string, opts *wshrpc.RpcOpts) (*wshrpc.BlockInfoData, error)
- func ConnConnectCommand(w *wshutil.WshRpc, data wshrpc.ConnRequest, opts *wshrpc.RpcOpts) error
- func ConnDisconnectCommand(w *wshutil.WshRpc, data string, opts *wshrpc.RpcOpts) error
- func ConnEnsureCommand(w *wshutil.WshRpc, data wshrpc.ConnExtData, opts *wshrpc.RpcOpts) error
- func ConnListAWSCommand(w *wshutil.WshRpc, opts *wshrpc.RpcOpts) ([]string, error)
- func ConnListCommand(w *wshutil.WshRpc, opts *wshrpc.RpcOpts) ([]string, error)
- func ConnReinstallWshCommand(w *wshutil.WshRpc, data wshrpc.ConnExtData, opts *wshrpc.RpcOpts) error
- func ConnStatusCommand(w *wshutil.WshRpc, opts *wshrpc.RpcOpts) ([]wshrpc.ConnStatus, error)
- func ConnUpdateWshCommand(w *wshutil.WshRpc, data wshrpc.RemoteInfo, opts *wshrpc.RpcOpts) (bool, error)
- func ControllerAppendOutputCommand(w *wshutil.WshRpc, data wshrpc.CommandControllerAppendOutputData, ...) error
- func ControllerInputCommand(w *wshutil.WshRpc, data wshrpc.CommandBlockInputData, opts *wshrpc.RpcOpts) error
- func ControllerResyncCommand(w *wshutil.WshRpc, data wshrpc.CommandControllerResyncData, ...) error
- func ControllerStopCommand(w *wshutil.WshRpc, data string, opts *wshrpc.RpcOpts) error
- func CreateBlockCommand(w *wshutil.WshRpc, data wshrpc.CommandCreateBlockData, opts *wshrpc.RpcOpts) (waveobj.ORef, error)
- func CreateSubBlockCommand(w *wshutil.WshRpc, data wshrpc.CommandCreateSubBlockData, opts *wshrpc.RpcOpts) (waveobj.ORef, error)
- func DeleteBlockCommand(w *wshutil.WshRpc, data wshrpc.CommandDeleteBlockData, opts *wshrpc.RpcOpts) error
- func DeleteSubBlockCommand(w *wshutil.WshRpc, data wshrpc.CommandDeleteBlockData, opts *wshrpc.RpcOpts) error
- func DismissWshFailCommand(w *wshutil.WshRpc, data string, opts *wshrpc.RpcOpts) error
- func DisposeCommand(w *wshutil.WshRpc, data wshrpc.CommandDisposeData, opts *wshrpc.RpcOpts) error
- func DisposeSuggestionsCommand(w *wshutil.WshRpc, data string, opts *wshrpc.RpcOpts) error
- func EventPublishCommand(w *wshutil.WshRpc, data wps.WaveEvent, opts *wshrpc.RpcOpts) error
- func EventReadHistoryCommand(w *wshutil.WshRpc, data wshrpc.CommandEventReadHistoryData, ...) ([]*wps.WaveEvent, error)
- func EventRecvCommand(w *wshutil.WshRpc, data wps.WaveEvent, opts *wshrpc.RpcOpts) error
- func EventSubCommand(w *wshutil.WshRpc, data wps.SubscriptionRequest, opts *wshrpc.RpcOpts) error
- func EventUnsubAllCommand(w *wshutil.WshRpc, opts *wshrpc.RpcOpts) error
- func EventUnsubCommand(w *wshutil.WshRpc, data string, opts *wshrpc.RpcOpts) error
- func FetchSuggestionsCommand(w *wshutil.WshRpc, data wshrpc.FetchSuggestionsData, opts *wshrpc.RpcOpts) (*wshrpc.FetchSuggestionsResponse, error)
- func FileAppendCommand(w *wshutil.WshRpc, data wshrpc.FileData, opts *wshrpc.RpcOpts) error
- func FileAppendIJsonCommand(w *wshutil.WshRpc, data wshrpc.CommandAppendIJsonData, opts *wshrpc.RpcOpts) error
- func FileCopyCommand(w *wshutil.WshRpc, data wshrpc.CommandFileCopyData, opts *wshrpc.RpcOpts) error
- func FileCreateCommand(w *wshutil.WshRpc, data wshrpc.FileData, opts *wshrpc.RpcOpts) error
- func FileDeleteCommand(w *wshutil.WshRpc, data wshrpc.CommandDeleteFileData, opts *wshrpc.RpcOpts) error
- func FileInfoCommand(w *wshutil.WshRpc, data wshrpc.FileData, opts *wshrpc.RpcOpts) (*wshrpc.FileInfo, error)
- func FileJoinCommand(w *wshutil.WshRpc, data []string, opts *wshrpc.RpcOpts) (*wshrpc.FileInfo, error)
- func FileListCommand(w *wshutil.WshRpc, data wshrpc.FileListData, opts *wshrpc.RpcOpts) ([]*wshrpc.FileInfo, error)
- func FileListStreamCommand(w *wshutil.WshRpc, data wshrpc.FileListData, opts *wshrpc.RpcOpts) chan wshrpc.RespOrErrorUnion[wshrpc.CommandRemoteListEntriesRtnData]
- func FileMkdirCommand(w *wshutil.WshRpc, data wshrpc.FileData, opts *wshrpc.RpcOpts) error
- func FileMoveCommand(w *wshutil.WshRpc, data wshrpc.CommandFileCopyData, opts *wshrpc.RpcOpts) error
- func FileReadCommand(w *wshutil.WshRpc, data wshrpc.FileData, opts *wshrpc.RpcOpts) (*wshrpc.FileData, error)
- func FileReadStreamCommand(w *wshutil.WshRpc, data wshrpc.FileData, opts *wshrpc.RpcOpts) chan wshrpc.RespOrErrorUnion[wshrpc.FileData]
- func FileShareCapabilityCommand(w *wshutil.WshRpc, data string, opts *wshrpc.RpcOpts) (wshrpc.FileShareCapability, error)
- func FileStreamTarCommand(w *wshutil.WshRpc, data wshrpc.CommandRemoteStreamTarData, ...) chan wshrpc.RespOrErrorUnion[iochantypes.Packet]
- func FileWriteCommand(w *wshutil.WshRpc, data wshrpc.FileData, opts *wshrpc.RpcOpts) error
- func FocusWindowCommand(w *wshutil.WshRpc, data string, opts *wshrpc.RpcOpts) error
- func GetBareRpcClient() *wshutil.WshRpc
- func GetFullConfigCommand(w *wshutil.WshRpc, opts *wshrpc.RpcOpts) (wconfig.FullConfigType, error)
- func GetMetaCommand(w *wshutil.WshRpc, data wshrpc.CommandGetMetaData, opts *wshrpc.RpcOpts) (waveobj.MetaMapType, error)
- func GetTabCommand(w *wshutil.WshRpc, data string, opts *wshrpc.RpcOpts) (*waveobj.Tab, error)
- func GetUpdateChannelCommand(w *wshutil.WshRpc, opts *wshrpc.RpcOpts) (string, error)
- func GetVarCommand(w *wshutil.WshRpc, data wshrpc.CommandVarData, opts *wshrpc.RpcOpts) (*wshrpc.CommandVarResponseData, error)
- func MessageCommand(w *wshutil.WshRpc, data wshrpc.CommandMessageData, opts *wshrpc.RpcOpts) error
- func NotifyCommand(w *wshutil.WshRpc, data wshrpc.WaveNotificationOptions, opts *wshrpc.RpcOpts) error
- func PathCommand(w *wshutil.WshRpc, data wshrpc.PathCommandData, opts *wshrpc.RpcOpts) (string, error)
- func RecordTEventCommand(w *wshutil.WshRpc, data telemetrydata.TEvent, opts *wshrpc.RpcOpts) error
- func RemoteFileCopyCommand(w *wshutil.WshRpc, data wshrpc.CommandFileCopyData, opts *wshrpc.RpcOpts) (bool, error)
- func RemoteFileDeleteCommand(w *wshutil.WshRpc, data wshrpc.CommandDeleteFileData, opts *wshrpc.RpcOpts) error
- func RemoteFileInfoCommand(w *wshutil.WshRpc, data string, opts *wshrpc.RpcOpts) (*wshrpc.FileInfo, error)
- func RemoteFileJoinCommand(w *wshutil.WshRpc, data []string, opts *wshrpc.RpcOpts) (*wshrpc.FileInfo, error)
- func RemoteFileMoveCommand(w *wshutil.WshRpc, data wshrpc.CommandFileCopyData, opts *wshrpc.RpcOpts) error
- func RemoteFileTouchCommand(w *wshutil.WshRpc, data string, opts *wshrpc.RpcOpts) error
- func RemoteGetInfoCommand(w *wshutil.WshRpc, opts *wshrpc.RpcOpts) (wshrpc.RemoteInfo, error)
- func RemoteInstallRcFilesCommand(w *wshutil.WshRpc, opts *wshrpc.RpcOpts) error
- func RemoteListEntriesCommand(w *wshutil.WshRpc, data wshrpc.CommandRemoteListEntriesData, ...) chan wshrpc.RespOrErrorUnion[wshrpc.CommandRemoteListEntriesRtnData]
- func RemoteMkdirCommand(w *wshutil.WshRpc, data string, opts *wshrpc.RpcOpts) error
- func RemoteStreamCpuDataCommand(w *wshutil.WshRpc, opts *wshrpc.RpcOpts) chan wshrpc.RespOrErrorUnion[wshrpc.TimeSeriesData]
- func RemoteStreamFileCommand(w *wshutil.WshRpc, data wshrpc.CommandRemoteStreamFileData, ...) chan wshrpc.RespOrErrorUnion[wshrpc.FileData]
- func RemoteTarStreamCommand(w *wshutil.WshRpc, data wshrpc.CommandRemoteStreamTarData, ...) chan wshrpc.RespOrErrorUnion[iochantypes.Packet]
- func RemoteWriteFileCommand(w *wshutil.WshRpc, data wshrpc.FileData, opts *wshrpc.RpcOpts) error
- func ResolveIdsCommand(w *wshutil.WshRpc, data wshrpc.CommandResolveIdsData, opts *wshrpc.RpcOpts) (wshrpc.CommandResolveIdsRtnData, error)
- func RouteAnnounceCommand(w *wshutil.WshRpc, opts *wshrpc.RpcOpts) error
- func RouteUnannounceCommand(w *wshutil.WshRpc, opts *wshrpc.RpcOpts) error
- func SendTelemetryCommand(w *wshutil.WshRpc, opts *wshrpc.RpcOpts) error
- func SetConfigCommand(w *wshutil.WshRpc, data wshrpc.MetaSettingsType, opts *wshrpc.RpcOpts) error
- func SetConnectionsConfigCommand(w *wshutil.WshRpc, data wshrpc.ConnConfigRequest, opts *wshrpc.RpcOpts) error
- func SetMetaCommand(w *wshutil.WshRpc, data wshrpc.CommandSetMetaData, opts *wshrpc.RpcOpts) error
- func SetVarCommand(w *wshutil.WshRpc, data wshrpc.CommandVarData, opts *wshrpc.RpcOpts) error
- func SetViewCommand(w *wshutil.WshRpc, data wshrpc.CommandBlockSetViewData, opts *wshrpc.RpcOpts) error
- func StreamCpuDataCommand(w *wshutil.WshRpc, data wshrpc.CpuDataRequest, opts *wshrpc.RpcOpts) chan wshrpc.RespOrErrorUnion[wshrpc.TimeSeriesData]
- func StreamTestCommand(w *wshutil.WshRpc, opts *wshrpc.RpcOpts) chan wshrpc.RespOrErrorUnion[int]
- func StreamWaveAiCommand(w *wshutil.WshRpc, data wshrpc.WaveAIStreamRequest, opts *wshrpc.RpcOpts) chan wshrpc.RespOrErrorUnion[wshrpc.WaveAIPacketType]
- func TestCommand(w *wshutil.WshRpc, data string, opts *wshrpc.RpcOpts) error
- func VDomAsyncInitiationCommand(w *wshutil.WshRpc, data vdom.VDomAsyncInitiationRequest, opts *wshrpc.RpcOpts) error
- func VDomCreateContextCommand(w *wshutil.WshRpc, data vdom.VDomCreateContext, opts *wshrpc.RpcOpts) (*waveobj.ORef, error)
- func VDomRenderCommand(w *wshutil.WshRpc, data vdom.VDomFrontendUpdate, opts *wshrpc.RpcOpts) chan wshrpc.RespOrErrorUnion[*vdom.VDomBackendUpdate]
- func VDomUrlRequestCommand(w *wshutil.WshRpc, data wshrpc.VDomUrlRequestData, opts *wshrpc.RpcOpts) chan wshrpc.RespOrErrorUnion[wshrpc.VDomUrlRequestResponse]
- func WaitForRouteCommand(w *wshutil.WshRpc, data wshrpc.CommandWaitForRouteData, opts *wshrpc.RpcOpts) (bool, error)
- func WaveInfoCommand(w *wshutil.WshRpc, opts *wshrpc.RpcOpts) (*wshrpc.WaveInfoData, error)
- func WebSelectorCommand(w *wshutil.WshRpc, data wshrpc.CommandWebSelectorData, opts *wshrpc.RpcOpts) ([]string, error)
- func WorkspaceListCommand(w *wshutil.WshRpc, opts *wshrpc.RpcOpts) ([]wshrpc.WorkspaceInfoData, error)
- func WshActivityCommand(w *wshutil.WshRpc, data map[string]int, opts *wshrpc.RpcOpts) error
- func WslDefaultDistroCommand(w *wshutil.WshRpc, opts *wshrpc.RpcOpts) (string, error)
- func WslListCommand(w *wshutil.WshRpc, opts *wshrpc.RpcOpts) ([]string, error)
- func WslStatusCommand(w *wshutil.WshRpc, opts *wshrpc.RpcOpts) ([]wshrpc.ConnStatus, error)
- type WshServer
Constants ¶
const ( DefaultOutputChSize = 32 DefaultInputChSize = 32 )
const BareClientRoute = "bare"
Variables ¶
var WshServerImpl = WshServer{}
Functions ¶
func ActivityCommand ¶ added in v0.9.3
command "activity", wshserver.ActivityCommand
func AiSendMessageCommand ¶ added in v0.9.2
command "aisendmessage", wshserver.AiSendMessageCommand
func AuthenticateCommand ¶
func AuthenticateCommand(w *wshutil.WshRpc, data string, opts *wshrpc.RpcOpts) (wshrpc.CommandAuthenticateRtnData, error)
command "authenticate", wshserver.AuthenticateCommand
func AuthenticateTokenCommand ¶ added in v0.11.0
func AuthenticateTokenCommand(w *wshutil.WshRpc, data wshrpc.CommandAuthenticateTokenData, opts *wshrpc.RpcOpts) (wshrpc.CommandAuthenticateRtnData, error)
command "authenticatetoken", wshserver.AuthenticateTokenCommand
func BlockInfoCommand ¶
func BlockInfoCommand(w *wshutil.WshRpc, data string, opts *wshrpc.RpcOpts) (*wshrpc.BlockInfoData, error)
command "blockinfo", wshserver.BlockInfoCommand
func ConnConnectCommand ¶
command "connconnect", wshserver.ConnConnectCommand
func ConnDisconnectCommand ¶
command "conndisconnect", wshserver.ConnDisconnectCommand
func ConnEnsureCommand ¶
command "connensure", wshserver.ConnEnsureCommand
func ConnListAWSCommand ¶ added in v0.11.1
command "connlistaws", wshserver.ConnListAWSCommand
func ConnListCommand ¶
command "connlist", wshserver.ConnListCommand
func ConnReinstallWshCommand ¶
func ConnReinstallWshCommand(w *wshutil.WshRpc, data wshrpc.ConnExtData, opts *wshrpc.RpcOpts) error
command "connreinstallwsh", wshserver.ConnReinstallWshCommand
func ConnStatusCommand ¶
command "connstatus", wshserver.ConnStatusCommand
func ConnUpdateWshCommand ¶ added in v0.11.0
func ConnUpdateWshCommand(w *wshutil.WshRpc, data wshrpc.RemoteInfo, opts *wshrpc.RpcOpts) (bool, error)
command "connupdatewsh", wshserver.ConnUpdateWshCommand
func ControllerAppendOutputCommand ¶ added in v0.11.0
func ControllerAppendOutputCommand(w *wshutil.WshRpc, data wshrpc.CommandControllerAppendOutputData, opts *wshrpc.RpcOpts) error
command "controllerappendoutput", wshserver.ControllerAppendOutputCommand
func ControllerInputCommand ¶
func ControllerInputCommand(w *wshutil.WshRpc, data wshrpc.CommandBlockInputData, opts *wshrpc.RpcOpts) error
command "controllerinput", wshserver.ControllerInputCommand
func ControllerResyncCommand ¶
func ControllerResyncCommand(w *wshutil.WshRpc, data wshrpc.CommandControllerResyncData, opts *wshrpc.RpcOpts) error
command "controllerresync", wshserver.ControllerResyncCommand
func ControllerStopCommand ¶
command "controllerstop", wshserver.ControllerStopCommand
func CreateBlockCommand ¶
func CreateBlockCommand(w *wshutil.WshRpc, data wshrpc.CommandCreateBlockData, opts *wshrpc.RpcOpts) (waveobj.ORef, error)
command "createblock", wshserver.CreateBlockCommand
func CreateSubBlockCommand ¶ added in v0.9.0
func CreateSubBlockCommand(w *wshutil.WshRpc, data wshrpc.CommandCreateSubBlockData, opts *wshrpc.RpcOpts) (waveobj.ORef, error)
command "createsubblock", wshserver.CreateSubBlockCommand
func DeleteBlockCommand ¶
func DeleteBlockCommand(w *wshutil.WshRpc, data wshrpc.CommandDeleteBlockData, opts *wshrpc.RpcOpts) error
command "deleteblock", wshserver.DeleteBlockCommand
func DeleteSubBlockCommand ¶ added in v0.9.0
func DeleteSubBlockCommand(w *wshutil.WshRpc, data wshrpc.CommandDeleteBlockData, opts *wshrpc.RpcOpts) error
command "deletesubblock", wshserver.DeleteSubBlockCommand
func DismissWshFailCommand ¶ added in v0.10.0
command "dismisswshfail", wshserver.DismissWshFailCommand
func DisposeCommand ¶ added in v0.9.0
command "dispose", wshserver.DisposeCommand
func DisposeSuggestionsCommand ¶ added in v0.11.1
command "disposesuggestions", wshserver.DisposeSuggestionsCommand
func EventPublishCommand ¶
command "eventpublish", wshserver.EventPublishCommand
func EventReadHistoryCommand ¶
func EventReadHistoryCommand(w *wshutil.WshRpc, data wshrpc.CommandEventReadHistoryData, opts *wshrpc.RpcOpts) ([]*wps.WaveEvent, error)
command "eventreadhistory", wshserver.EventReadHistoryCommand
func EventRecvCommand ¶
command "eventrecv", wshserver.EventRecvCommand
func EventSubCommand ¶
command "eventsub", wshserver.EventSubCommand
func EventUnsubAllCommand ¶
command "eventunsuball", wshserver.EventUnsubAllCommand
func EventUnsubCommand ¶
command "eventunsub", wshserver.EventUnsubCommand
func FetchSuggestionsCommand ¶ added in v0.11.1
func FetchSuggestionsCommand(w *wshutil.WshRpc, data wshrpc.FetchSuggestionsData, opts *wshrpc.RpcOpts) (*wshrpc.FetchSuggestionsResponse, error)
command "fetchsuggestions", wshserver.FetchSuggestionsCommand
func FileAppendCommand ¶
command "fileappend", wshserver.FileAppendCommand
func FileAppendIJsonCommand ¶
func FileAppendIJsonCommand(w *wshutil.WshRpc, data wshrpc.CommandAppendIJsonData, opts *wshrpc.RpcOpts) error
command "fileappendijson", wshserver.FileAppendIJsonCommand
func FileCopyCommand ¶ added in v0.11.0
func FileCopyCommand(w *wshutil.WshRpc, data wshrpc.CommandFileCopyData, opts *wshrpc.RpcOpts) error
command "filecopy", wshserver.FileCopyCommand
func FileCreateCommand ¶ added in v0.9.3
command "filecreate", wshserver.FileCreateCommand
func FileDeleteCommand ¶ added in v0.9.3
func FileDeleteCommand(w *wshutil.WshRpc, data wshrpc.CommandDeleteFileData, opts *wshrpc.RpcOpts) error
command "filedelete", wshserver.FileDeleteCommand
func FileInfoCommand ¶ added in v0.9.3
func FileInfoCommand(w *wshutil.WshRpc, data wshrpc.FileData, opts *wshrpc.RpcOpts) (*wshrpc.FileInfo, error)
command "fileinfo", wshserver.FileInfoCommand
func FileJoinCommand ¶ added in v0.11.1
func FileJoinCommand(w *wshutil.WshRpc, data []string, opts *wshrpc.RpcOpts) (*wshrpc.FileInfo, error)
command "filejoin", wshserver.FileJoinCommand
func FileListCommand ¶ added in v0.9.3
func FileListCommand(w *wshutil.WshRpc, data wshrpc.FileListData, opts *wshrpc.RpcOpts) ([]*wshrpc.FileInfo, error)
command "filelist", wshserver.FileListCommand
func FileListStreamCommand ¶ added in v0.11.0
func FileListStreamCommand(w *wshutil.WshRpc, data wshrpc.FileListData, opts *wshrpc.RpcOpts) chan wshrpc.RespOrErrorUnion[wshrpc.CommandRemoteListEntriesRtnData]
command "fileliststream", wshserver.FileListStreamCommand
func FileMkdirCommand ¶ added in v0.11.0
command "filemkdir", wshserver.FileMkdirCommand
func FileMoveCommand ¶ added in v0.11.0
func FileMoveCommand(w *wshutil.WshRpc, data wshrpc.CommandFileCopyData, opts *wshrpc.RpcOpts) error
command "filemove", wshserver.FileMoveCommand
func FileReadCommand ¶
func FileReadCommand(w *wshutil.WshRpc, data wshrpc.FileData, opts *wshrpc.RpcOpts) (*wshrpc.FileData, error)
command "fileread", wshserver.FileReadCommand
func FileReadStreamCommand ¶ added in v0.11.1
func FileReadStreamCommand(w *wshutil.WshRpc, data wshrpc.FileData, opts *wshrpc.RpcOpts) chan wshrpc.RespOrErrorUnion[wshrpc.FileData]
command "filereadstream", wshserver.FileReadStreamCommand
func FileShareCapabilityCommand ¶ added in v0.11.1
func FileShareCapabilityCommand(w *wshutil.WshRpc, data string, opts *wshrpc.RpcOpts) (wshrpc.FileShareCapability, error)
command "filesharecapability", wshserver.FileShareCapabilityCommand
func FileStreamTarCommand ¶ added in v0.11.0
func FileStreamTarCommand(w *wshutil.WshRpc, data wshrpc.CommandRemoteStreamTarData, opts *wshrpc.RpcOpts) chan wshrpc.RespOrErrorUnion[iochantypes.Packet]
command "filestreamtar", wshserver.FileStreamTarCommand
func FileWriteCommand ¶
command "filewrite", wshserver.FileWriteCommand
func FocusWindowCommand ¶ added in v0.10.0
command "focuswindow", wshserver.FocusWindowCommand
func GetBareRpcClient ¶ added in v0.10.0
func GetFullConfigCommand ¶ added in v0.11.0
command "getfullconfig", wshserver.GetFullConfigCommand
func GetMetaCommand ¶
func GetMetaCommand(w *wshutil.WshRpc, data wshrpc.CommandGetMetaData, opts *wshrpc.RpcOpts) (waveobj.MetaMapType, error)
command "getmeta", wshserver.GetMetaCommand
func GetTabCommand ¶ added in v0.11.1
command "gettab", wshserver.GetTabCommand
func GetUpdateChannelCommand ¶ added in v0.9.1
command "getupdatechannel", wshserver.GetUpdateChannelCommand
func GetVarCommand ¶ added in v0.9.3
func GetVarCommand(w *wshutil.WshRpc, data wshrpc.CommandVarData, opts *wshrpc.RpcOpts) (*wshrpc.CommandVarResponseData, error)
command "getvar", wshserver.GetVarCommand
func MessageCommand ¶
command "message", wshserver.MessageCommand
func NotifyCommand ¶ added in v0.8.9
func NotifyCommand(w *wshutil.WshRpc, data wshrpc.WaveNotificationOptions, opts *wshrpc.RpcOpts) error
command "notify", wshserver.NotifyCommand
func PathCommand ¶ added in v0.10.2
func PathCommand(w *wshutil.WshRpc, data wshrpc.PathCommandData, opts *wshrpc.RpcOpts) (string, error)
command "path", wshserver.PathCommand
func RecordTEventCommand ¶ added in v0.11.1
command "recordtevent", wshserver.RecordTEventCommand
func RemoteFileCopyCommand ¶ added in v0.11.0
func RemoteFileCopyCommand(w *wshutil.WshRpc, data wshrpc.CommandFileCopyData, opts *wshrpc.RpcOpts) (bool, error)
command "remotefilecopy", wshserver.RemoteFileCopyCommand
func RemoteFileDeleteCommand ¶
func RemoteFileDeleteCommand(w *wshutil.WshRpc, data wshrpc.CommandDeleteFileData, opts *wshrpc.RpcOpts) error
command "remotefiledelete", wshserver.RemoteFileDeleteCommand
func RemoteFileInfoCommand ¶
func RemoteFileInfoCommand(w *wshutil.WshRpc, data string, opts *wshrpc.RpcOpts) (*wshrpc.FileInfo, error)
command "remotefileinfo", wshserver.RemoteFileInfoCommand
func RemoteFileJoinCommand ¶
func RemoteFileJoinCommand(w *wshutil.WshRpc, data []string, opts *wshrpc.RpcOpts) (*wshrpc.FileInfo, error)
command "remotefilejoin", wshserver.RemoteFileJoinCommand
func RemoteFileMoveCommand ¶ added in v0.11.0
func RemoteFileMoveCommand(w *wshutil.WshRpc, data wshrpc.CommandFileCopyData, opts *wshrpc.RpcOpts) error
command "remotefilemove", wshserver.RemoteFileMoveCommand
func RemoteFileTouchCommand ¶ added in v0.10.0
command "remotefiletouch", wshserver.RemoteFileTouchCommand
func RemoteGetInfoCommand ¶ added in v0.11.0
command "remotegetinfo", wshserver.RemoteGetInfoCommand
func RemoteInstallRcFilesCommand ¶ added in v0.11.0
command "remoteinstallrcfiles", wshserver.RemoteInstallRcFilesCommand
func RemoteListEntriesCommand ¶ added in v0.11.0
func RemoteListEntriesCommand(w *wshutil.WshRpc, data wshrpc.CommandRemoteListEntriesData, opts *wshrpc.RpcOpts) chan wshrpc.RespOrErrorUnion[wshrpc.CommandRemoteListEntriesRtnData]
command "remotelistentries", wshserver.RemoteListEntriesCommand
func RemoteMkdirCommand ¶ added in v0.10.0
command "remotemkdir", wshserver.RemoteMkdirCommand
func RemoteStreamCpuDataCommand ¶
func RemoteStreamCpuDataCommand(w *wshutil.WshRpc, opts *wshrpc.RpcOpts) chan wshrpc.RespOrErrorUnion[wshrpc.TimeSeriesData]
command "remotestreamcpudata", wshserver.RemoteStreamCpuDataCommand
func RemoteStreamFileCommand ¶
func RemoteStreamFileCommand(w *wshutil.WshRpc, data wshrpc.CommandRemoteStreamFileData, opts *wshrpc.RpcOpts) chan wshrpc.RespOrErrorUnion[wshrpc.FileData]
command "remotestreamfile", wshserver.RemoteStreamFileCommand
func RemoteTarStreamCommand ¶ added in v0.11.0
func RemoteTarStreamCommand(w *wshutil.WshRpc, data wshrpc.CommandRemoteStreamTarData, opts *wshrpc.RpcOpts) chan wshrpc.RespOrErrorUnion[iochantypes.Packet]
command "remotetarstream", wshserver.RemoteTarStreamCommand
func RemoteWriteFileCommand ¶
command "remotewritefile", wshserver.RemoteWriteFileCommand
func ResolveIdsCommand ¶
func ResolveIdsCommand(w *wshutil.WshRpc, data wshrpc.CommandResolveIdsData, opts *wshrpc.RpcOpts) (wshrpc.CommandResolveIdsRtnData, error)
command "resolveids", wshserver.ResolveIdsCommand
func RouteAnnounceCommand ¶
command "routeannounce", wshserver.RouteAnnounceCommand
func RouteUnannounceCommand ¶
command "routeunannounce", wshserver.RouteUnannounceCommand
func SendTelemetryCommand ¶ added in v0.11.1
command "sendtelemetry", wshserver.SendTelemetryCommand
func SetConfigCommand ¶
command "setconfig", wshserver.SetConfigCommand
func SetConnectionsConfigCommand ¶ added in v0.10.0
func SetConnectionsConfigCommand(w *wshutil.WshRpc, data wshrpc.ConnConfigRequest, opts *wshrpc.RpcOpts) error
command "setconnectionsconfig", wshserver.SetConnectionsConfigCommand
func SetMetaCommand ¶
command "setmeta", wshserver.SetMetaCommand
func SetVarCommand ¶ added in v0.9.3
command "setvar", wshserver.SetVarCommand
func SetViewCommand ¶
func SetViewCommand(w *wshutil.WshRpc, data wshrpc.CommandBlockSetViewData, opts *wshrpc.RpcOpts) error
command "setview", wshserver.SetViewCommand
func StreamCpuDataCommand ¶
func StreamCpuDataCommand(w *wshutil.WshRpc, data wshrpc.CpuDataRequest, opts *wshrpc.RpcOpts) chan wshrpc.RespOrErrorUnion[wshrpc.TimeSeriesData]
command "streamcpudata", wshserver.StreamCpuDataCommand
func StreamTestCommand ¶
command "streamtest", wshserver.StreamTestCommand
func StreamWaveAiCommand ¶
func StreamWaveAiCommand(w *wshutil.WshRpc, data wshrpc.WaveAIStreamRequest, opts *wshrpc.RpcOpts) chan wshrpc.RespOrErrorUnion[wshrpc.WaveAIPacketType]
command "streamwaveai", wshserver.StreamWaveAiCommand
func TestCommand ¶
command "test", wshserver.TestCommand
func VDomAsyncInitiationCommand ¶ added in v0.9.0
func VDomAsyncInitiationCommand(w *wshutil.WshRpc, data vdom.VDomAsyncInitiationRequest, opts *wshrpc.RpcOpts) error
command "vdomasyncinitiation", wshserver.VDomAsyncInitiationCommand
func VDomCreateContextCommand ¶ added in v0.9.0
func VDomCreateContextCommand(w *wshutil.WshRpc, data vdom.VDomCreateContext, opts *wshrpc.RpcOpts) (*waveobj.ORef, error)
command "vdomcreatecontext", wshserver.VDomCreateContextCommand
func VDomRenderCommand ¶ added in v0.9.0
func VDomRenderCommand(w *wshutil.WshRpc, data vdom.VDomFrontendUpdate, opts *wshrpc.RpcOpts) chan wshrpc.RespOrErrorUnion[*vdom.VDomBackendUpdate]
command "vdomrender", wshserver.VDomRenderCommand
func VDomUrlRequestCommand ¶ added in v0.9.2
func VDomUrlRequestCommand(w *wshutil.WshRpc, data wshrpc.VDomUrlRequestData, opts *wshrpc.RpcOpts) chan wshrpc.RespOrErrorUnion[wshrpc.VDomUrlRequestResponse]
command "vdomurlrequest", wshserver.VDomUrlRequestCommand
func WaitForRouteCommand ¶ added in v0.9.0
func WaitForRouteCommand(w *wshutil.WshRpc, data wshrpc.CommandWaitForRouteData, opts *wshrpc.RpcOpts) (bool, error)
command "waitforroute", wshserver.WaitForRouteCommand
func WaveInfoCommand ¶ added in v0.9.1
command "waveinfo", wshserver.WaveInfoCommand
func WebSelectorCommand ¶
func WebSelectorCommand(w *wshutil.WshRpc, data wshrpc.CommandWebSelectorData, opts *wshrpc.RpcOpts) ([]string, error)
command "webselector", wshserver.WebSelectorCommand
func WorkspaceListCommand ¶ added in v0.10.0
func WorkspaceListCommand(w *wshutil.WshRpc, opts *wshrpc.RpcOpts) ([]wshrpc.WorkspaceInfoData, error)
command "workspacelist", wshserver.WorkspaceListCommand
func WshActivityCommand ¶ added in v0.9.3
command "wshactivity", wshserver.WshActivityCommand
func WslDefaultDistroCommand ¶ added in v0.9.0
command "wsldefaultdistro", wshserver.WslDefaultDistroCommand
func WslListCommand ¶ added in v0.9.0
command "wsllist", wshserver.WslListCommand
func WslStatusCommand ¶ added in v0.9.0
command "wslstatus", wshserver.WslStatusCommand
Types ¶
type WshServer ¶ added in v0.10.0
type WshServer struct{}
func (*WshServer) WshServerImpl ¶ added in v0.10.0
func (*WshServer) WshServerImpl()