{"modulePath":"github.com/wavetermdev/waveterm","version":"v0.14.5","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package webcmd\n\n## Constants\n\n```go\nconst (\n\tWSCommand_Rpc = \"rpc\"\n)\n```\n\n## Functions\n\n```go\nfunc WSCommandTypeUnionMeta() tsgenmeta.TypeUnionMeta\n```\n\n## Types\n\n```go\ntype WSCommandType interface {\n\tGetWSCommand() string\n}\n```\n\n```go\nfunc ParseWSCommandMap(cmdMap map[string]any) (WSCommandType, error)\n```\n\n```go\ntype WSRpcCommand struct {\n\tWSCommand string              `json:\"wscommand\" tstype:\"\\\"rpc\\\"\"`\n\tMessage   *wshutil.RpcMessage `json:\"message\"`\n}\n```\n\n```go\nfunc (cmd *WSRpcCommand) GetWSCommand() string\n```\n\n","path":"github.com/wavetermdev/waveterm/pkg/web/webcmd","name":"webcmd","synopsis":"","isRedistributable":true}
