String returns the String representation of duration - the time elapsed since s.Val.
()
| 1205 | |
| 1206 | // String returns the String representation of duration - the time elapsed since s.Val. |
| 1207 | func (s *SgwDurStat) String() string { |
| 1208 | return strconv.Itoa(int(time.Since(s.StartTime).Nanoseconds())) |
| 1209 | } |
| 1210 | |
| 1211 | type QueryStat struct { |
| 1212 | QueryCount *SgwIntStat |