MCPcopy Create free account
hub / github.com/golang/groupcache / StatsResponse

Struct StatsResponse

testpb/test.pb.go:130–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130type StatsResponse struct {
131 Gets *int64 `protobuf:"varint,1,opt,name=gets" json:"gets,omitempty"`
132 CacheHits *int64 `protobuf:"varint,12,opt,name=cache_hits" json:"cache_hits,omitempty"`
133 Fills *int64 `protobuf:"varint,2,opt,name=fills" json:"fills,omitempty"`
134 TotalAlloc *uint64 `protobuf:"varint,3,opt,name=total_alloc" json:"total_alloc,omitempty"`
135 MainCache *CacheStats `protobuf:"bytes,4,opt,name=main_cache" json:"main_cache,omitempty"`
136 HotCache *CacheStats `protobuf:"bytes,5,opt,name=hot_cache" json:"hot_cache,omitempty"`
137 ServerIn *int64 `protobuf:"varint,6,opt,name=server_in" json:"server_in,omitempty"`
138 Loads *int64 `protobuf:"varint,8,opt,name=loads" json:"loads,omitempty"`
139 PeerLoads *int64 `protobuf:"varint,9,opt,name=peer_loads" json:"peer_loads,omitempty"`
140 PeerErrors *int64 `protobuf:"varint,10,opt,name=peer_errors" json:"peer_errors,omitempty"`
141 LocalLoads *int64 `protobuf:"varint,11,opt,name=local_loads" json:"local_loads,omitempty"`
142 XXX_unrecognized []byte `json:"-"`
143}
144
145func (m *StatsResponse) Reset() { *m = StatsResponse{} }
146func (m *StatsResponse) String() string { return proto.CompactTextString(m) }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected