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

Method SetClient

pkg/wps/wps.go:62–66  ·  view source on GitHub ↗
(client Client)

Source from the content-addressed store, hash-verified

60}
61
62func (b *BrokerType) SetClient(client Client) {
63 b.Lock.Lock()
64 defer b.Lock.Unlock()
65 b.Client = client
66}
67
68func (b *BrokerType) GetClient() Client {
69 b.Lock.Lock()

Callers 2

GetBareRpcClientFunction · 0.80
createMainWshClientFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected