MCPcopy Index your code
hub / github.com/coder/coder / NewSession

Method NewSession

coderd/notifications/dispatch/smtptest/server.go:53–55  ·  view source on GitHub ↗

NewSession is called after client greeting (EHLO, HELO).

(c *smtp.Conn)

Source from the content-addressed store, hash-verified

51
52// NewSession is called after client greeting (EHLO, HELO).
53func (b *Backend) NewSession(c *smtp.Conn) (smtp.Session, error) {
54 return &Session{conn: c, backend: b}, nil
55}
56
57// LastMessage returns a copy of the last message received by the
58// backend.

Callers 15

TestDeploymentInsightsFunction · 0.80
TestUserLatencyInsightsFunction · 0.80
bash.goFile · 0.80
StartMethod · 0.80
TestCoderConnectStdioFunction · 0.80
sshMethod · 0.80
runRemoteSSHFunction · 0.80
TestSSHFunction · 0.80
TestSSH_CoderConnectFunction · 0.80
TestAgent_Stats_SSHFunction · 0.80

Calls

no outgoing calls

Tested by 15

TestDeploymentInsightsFunction · 0.64
TestUserLatencyInsightsFunction · 0.64
StartMethod · 0.64
TestCoderConnectStdioFunction · 0.64
TestSSHFunction · 0.64
TestSSH_CoderConnectFunction · 0.64
TestAgent_Stats_SSHFunction · 0.64
TestAgent_Stats_MagicFunction · 0.64