Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
106
func
(s *Server) MessageCount() int {
107
if
s.smtpServer == nil {
108
return
0
109
}
110
return
len(s.smtpServer.Messages())
111
}
112
113
func
(s *Server) Purge() {
114
if
s.smtpServer != nil {
Callers
5
scaletestSMTP
Method · 0.80
TestServer_SendAndReceiveEmail
Function · 0.80
TestServer_FilterByEmail
Function · 0.80
TestServer_NotificationTemplateID
Function · 0.80
TestServer_Purge
Function · 0.80
Calls
no outgoing calls
Tested by
4
TestServer_SendAndReceiveEmail
Function · 0.64
TestServer_FilterByEmail
Function · 0.64
TestServer_NotificationTemplateID
Function · 0.64
TestServer_Purge
Function · 0.64