Documentation
¶
Index ¶
- type StatInterceptor
- type Stats
- func (s *Stats) AvgLatency() time.Duration
- func (s *Stats) Delivered(req *requestpb.Request)
- func (s *Stats) DeliveredRequests() int
- func (s *Stats) NewRequest(req *requestpb.Request)
- func (s *Stats) Reset()
- func (s *Stats) WriteCSVHeader(w *csv.Writer)
- func (s *Stats) WriteCSVRecord(w *csv.Writer, d time.Duration)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StatInterceptor ¶
type StatInterceptor struct {
*Stats
// contains filtered or unexported fields
}
func NewStatInterceptor ¶
func NewStatInterceptor(s *Stats, txConsumer t.ModuleID) *StatInterceptor
type Stats ¶
type Stats struct {
// contains filtered or unexported fields
}
func (*Stats) AvgLatency ¶
func (*Stats) DeliveredRequests ¶
func (*Stats) NewRequest ¶
func (*Stats) WriteCSVHeader ¶
Click to show internal directories.
Click to hide internal directories.