Publisher is an interface for a statistics publisher. Publishers are notified of updates to the statistics with the Update method.
| 35 | // Publisher is an interface for a statistics publisher. Publishers are |
| 36 | // notified of updates to the statistics with the Update method. |
| 37 | type Publisher interface { |
| 38 | Update(s *Stats) |
| 39 | } |
| 40 | |
| 41 | // Stats contains the statistics collected from the Seesaw Engine. |
| 42 | type Stats struct { |