MCPcopy Create free account
hub / github.com/wavetermdev/waveterm / EventPublishCommand

Function EventPublishCommand

pkg/wshrpc/wshclient/wshclient.go:261–264  ·  view source on GitHub ↗

command "eventpublish", wshserver.EventPublishCommand

(w *wshutil.WshRpc, data wps.WaveEvent, opts *wshrpc.RpcOpts)

Source from the content-addressed store, hash-verified

259
260// command "eventpublish", wshserver.EventPublishCommand
261func EventPublishCommand(w *wshutil.WshRpc, data wps.WaveEvent, opts *wshrpc.RpcOpts) error {
262 _, err := sendRpcRequestCallHelper[any](w, "eventpublish", data, opts)
263 return err
264}
265
266// command "eventreadhistory", wshserver.EventReadHistoryCommand
267func EventReadHistoryCommand(w *wshutil.WshRpc, data wshrpc.CommandEventReadHistoryData, opts *wshrpc.RpcOpts) ([]*wps.WaveEvent, error) {

Callers 4

generateSingleServerDataFunction · 0.92
BadgeWatchPidCommandMethod · 0.92
tabIndicatorRunFunction · 0.92
badgeRunFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected