MCPcopy Create free account
hub / github.com/coder/coder / MessageCount

Method MessageCount

scaletest/smtpmock/server.go:106–111  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104}
105
106func (s *Server) MessageCount() int {
107 if s.smtpServer == nil {
108 return 0
109 }
110 return len(s.smtpServer.Messages())
111}
112
113func (s *Server) Purge() {
114 if s.smtpServer != nil {

Callers 5

scaletestSMTPMethod · 0.80
TestServer_FilterByEmailFunction · 0.80
TestServer_PurgeFunction · 0.80

Calls

no outgoing calls

Tested by 4

TestServer_FilterByEmailFunction · 0.64
TestServer_PurgeFunction · 0.64