Package testpb
Constants
const Default_TestRequest_RepeatCount int32 = 1
type CacheStats struct {
Items *int64 `protobuf:"varint,1,opt,name=items" json:"items,omitempty"`
Bytes *int64 `protobuf:"varint,2,opt,name=bytes" json:"bytes,omitempty"`
Gets *int64 `protobuf:"varint,3,opt,name=gets" json:"gets,omitempty"`
Hits *int64 `protobuf:"varint,4,opt,name=hits" json:"hits,omitempty"`
Evicts *int64 `protobuf:"varint,5,opt,name=evicts" json:"evicts,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*CacheStats) GetBytes
¶
func (m *CacheStats) GetBytes() int64
func (m *CacheStats) GetEvicts() int64
func (*CacheStats) GetGets
¶
func (m *CacheStats) GetGets() int64
func (*CacheStats) GetHits
¶
func (m *CacheStats) GetHits() int64
func (*CacheStats) GetItems
¶
func (m *CacheStats) GetItems() int64
func (*CacheStats) ProtoMessage()
func (*CacheStats) Reset
¶
func (m *CacheStats) Reset()
func (*CacheStats) String
¶
func (m *CacheStats) String() string
type Empty struct {
XXX_unrecognized []byte `json:"-"`
}
func (*Empty) ProtoMessage()
func (*Empty) Reset
¶
func (m *Empty) Reset()
func (*Empty) String
¶
func (m *Empty) String() string
type StatsResponse struct {
Gets *int64 `protobuf:"varint,1,opt,name=gets" json:"gets,omitempty"`
CacheHits *int64 `protobuf:"varint,12,opt,name=cache_hits" json:"cache_hits,omitempty"`
Fills *int64 `protobuf:"varint,2,opt,name=fills" json:"fills,omitempty"`
TotalAlloc *uint64 `protobuf:"varint,3,opt,name=total_alloc" json:"total_alloc,omitempty"`
MainCache *CacheStats `protobuf:"bytes,4,opt,name=main_cache" json:"main_cache,omitempty"`
HotCache *CacheStats `protobuf:"bytes,5,opt,name=hot_cache" json:"hot_cache,omitempty"`
ServerIn *int64 `protobuf:"varint,6,opt,name=server_in" json:"server_in,omitempty"`
Loads *int64 `protobuf:"varint,8,opt,name=loads" json:"loads,omitempty"`
PeerLoads *int64 `protobuf:"varint,9,opt,name=peer_loads" json:"peer_loads,omitempty"`
PeerErrors *int64 `protobuf:"varint,10,opt,name=peer_errors" json:"peer_errors,omitempty"`
LocalLoads *int64 `protobuf:"varint,11,opt,name=local_loads" json:"local_loads,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *StatsResponse) GetCacheHits() int64
func (*StatsResponse) GetFills
¶
func (m *StatsResponse) GetFills() int64
func (*StatsResponse) GetGets
¶
func (m *StatsResponse) GetGets() int64
func (m *StatsResponse) GetHotCache() *CacheStats
func (*StatsResponse) GetLoads
¶
func (m *StatsResponse) GetLoads() int64
func (m *StatsResponse) GetLocalLoads() int64
func (m *StatsResponse) GetMainCache() *CacheStats
func (m *StatsResponse) GetPeerErrors() int64
func (m *StatsResponse) GetPeerLoads() int64
func (m *StatsResponse) GetServerIn() int64
func (m *StatsResponse) GetTotalAlloc() uint64
func (*StatsResponse) ProtoMessage()
func (*StatsResponse) Reset
¶
func (m *StatsResponse) Reset()
func (*StatsResponse) String
¶
func (m *StatsResponse) String() string
type TestMessage struct {
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
City *string `protobuf:"bytes,2,opt,name=city" json:"city,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*TestMessage) GetCity
¶
func (m *TestMessage) GetCity() string
func (*TestMessage) GetName
¶
func (m *TestMessage) GetName() string
func (*TestMessage) ProtoMessage()
func (*TestMessage) Reset
¶
func (m *TestMessage) Reset()
func (*TestMessage) String
¶
func (m *TestMessage) String() string
type TestRequest struct {
Lower *string `protobuf:"bytes,1,req,name=lower" json:"lower,omitempty"`
RepeatCount *int32 `protobuf:"varint,2,opt,name=repeat_count,def=1" json:"repeat_count,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*TestRequest) GetLower
¶
func (m *TestRequest) GetLower() string
func (m *TestRequest) GetRepeatCount() int32
func (*TestRequest) ProtoMessage()
func (*TestRequest) Reset
¶
func (m *TestRequest) Reset()
func (*TestRequest) String
¶
func (m *TestRequest) String() string
type TestResponse struct {
Value *string `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*TestResponse) GetValue
¶
func (m *TestResponse) GetValue() string
func (*TestResponse) ProtoMessage()
func (*TestResponse) Reset
¶
func (m *TestResponse) Reset()
func (*TestResponse) String
¶
func (m *TestResponse) String() string