mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-16 18:43:10 -06:00
Add doc comments for statistics
This commit is contained in:
parent
0c86e8269d
commit
116bdfc511
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue