MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / String

Method String

base/stats.go:1207–1209  ·  view source on GitHub ↗

String returns the String representation of duration - the time elapsed since s.Val.

()

Source from the content-addressed store, hash-verified

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

Callers 1

MarshalJSONMethod · 0.95

Calls 1

SinceMethod · 0.45

Tested by

no test coverage detected