MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / ElectronDecryptCommand

Function ElectronDecryptCommand

pkg/wshrpc/wshclient/wshclient.go:243–246  ·  view source on GitHub ↗

command "electrondecrypt", wshserver.ElectronDecryptCommand

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

Source from the content-addressed store, hash-verified

241
242// command "electrondecrypt", wshserver.ElectronDecryptCommand
243func ElectronDecryptCommand(w *wshutil.WshRpc, data wshrpc.CommandElectronDecryptData, opts *wshrpc.RpcOpts) (*wshrpc.CommandElectronDecryptRtnData, error) {
244 resp, err := sendRpcRequestCallHelper[*wshrpc.CommandElectronDecryptRtnData](w, "electrondecrypt", data, opts)
245 return resp, err
246}
247
248// command "electronencrypt", wshserver.ElectronEncryptCommand
249func ElectronEncryptCommand(w *wshutil.WshRpc, data wshrpc.CommandElectronEncryptData, opts *wshrpc.RpcOpts) (*wshrpc.CommandElectronEncryptRtnData, error) {

Callers 1

readSecretsFromFileFunction · 0.92

Calls 1

sendRpcRequestCallHelperFunction · 0.85

Tested by

no test coverage detected