MCPcopy Create free account
hub / github.com/cogentcore/core / NewClient

Function NewClient

base/sshclient/client.go:42–45  ·  view source on GitHub ↗

NewClient returns a new Client using given [Config] configuration parameters.

(cfg *Config)

Source from the content-addressed store, hash-verified

40// NewClient returns a new Client using given [Config] configuration
41// parameters.
42func NewClient(cfg *Config) *Client {
43 cl := &Client{Config: *cfg}
44 return cl
45}
46
47// Close terminates any open Sessions and then closes
48// the Client connection.

Callers 1

CoSSHMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected