MCPcopy
hub / github.com/wavetermdev/waveterm / DisconnectClient

Function DisconnectClient

pkg/wslconn/wslconn.go:780–787  ·  view source on GitHub ↗
(connName string)

Source from the content-addressed store, hash-verified

778}
779
780func DisconnectClient(connName string) error {
781 conn := getConnInternal(connName)
782 if conn == nil {
783 return fmt.Errorf("client %q not found", connName)
784 }
785 err := conn.Close()
786 return err
787}

Callers

nothing calls this directly

Calls 2

getConnInternalFunction · 0.70
CloseMethod · 0.65

Tested by

no test coverage detected