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

Method Rcpt

coderd/notifications/dispatch/smtptest/server.go:152–158  ·  view source on GitHub ↗
(to string, _ *smtp.RcptOptions)

Source from the content-addressed store, hash-verified

150}
151
152func (s *Session) Rcpt(to string, _ *smtp.RcptOptions) error {
153 s.backend.mu.Lock()
154 defer s.backend.mu.Unlock()
155
156 s.backend.lastMsg.To = append(s.backend.lastMsg.To, to)
157 return nil
158}
159
160func (s *Session) Data(r io.Reader) error {
161 s.backend.mu.Lock()

Callers 1

dispatchMethod · 0.80

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected