Add doc comments for statistics

This commit is contained in:
Devon Hudson 2022-11-29 17:54:48 -07:00
parent 0c86e8269d
commit 116bdfc511
No known key found for this signature in database
GPG key ID: CD06B18E77F6A628

View file

@ -255,6 +255,8 @@ func (s *ServerStatistics) SuccessCount() uint32 {
return s.successCounter.Load() return s.successCounter.Load()
} }
// KnownMailservers returns the list of mailservers associated with this
// server.
func (s *ServerStatistics) KnownMailservers() []gomatrixserverlib.ServerName { func (s *ServerStatistics) KnownMailservers() []gomatrixserverlib.ServerName {
return s.knownMailservers return s.knownMailservers
} }