Versions in this module Expand all Collapse all v2 v2.9.3 Mar 12, 2021 Changes in this version + type Stats struct + func New(done <-chan bool, windowSize int, services func() []*registry.Service) (*Stats, error) + func (s *Stats) Read(ctx context.Context, req *stats.ReadRequest, rsp *stats.ReadResponse) error + func (s *Stats) Start(done <-chan bool) + func (s *Stats) Stream(ctx context.Context, req *stats.StreamRequest, rsp stats.Stats_StreamStream) error + func (s *Stats) Write(ctx context.Context, req *stats.WriteRequest, rsp *stats.WriteResponse) error