Versions in this module Expand all Collapse all v1 v1.0.0 Jun 24, 2021 Changes in this version + func RegisterMetricsServiceServer(s *grpc.Server, srv MetricsServiceServer) + type EmptyMessage struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*EmptyMessage) Descriptor() ([]byte, []int) + func (*EmptyMessage) ProtoMessage() + func (m *EmptyMessage) Reset() + func (m *EmptyMessage) String() string + func (m *EmptyMessage) XXX_DiscardUnknown() + func (m *EmptyMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *EmptyMessage) XXX_Merge(src proto.Message) + func (m *EmptyMessage) XXX_Size() int + func (m *EmptyMessage) XXX_Unmarshal(b []byte) error + type GaugeRequest struct + Name string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GaugeRequest) Descriptor() ([]byte, []int) + func (*GaugeRequest) ProtoMessage() + func (m *GaugeRequest) GetName() string + func (m *GaugeRequest) Reset() + func (m *GaugeRequest) String() string + func (m *GaugeRequest) XXX_DiscardUnknown() + func (m *GaugeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GaugeRequest) XXX_Merge(src proto.Message) + func (m *GaugeRequest) XXX_Size() int + func (m *GaugeRequest) XXX_Unmarshal(b []byte) error + type GaugeResponse struct + Name string + Value isGaugeResponse_Value + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GaugeResponse) Descriptor() ([]byte, []int) + func (*GaugeResponse) ProtoMessage() + func (*GaugeResponse) XXX_OneofWrappers() []interface{} + func (m *GaugeResponse) GetDoubleValue() float64 + func (m *GaugeResponse) GetLongValue() int64 + func (m *GaugeResponse) GetName() string + func (m *GaugeResponse) GetStringValue() string + func (m *GaugeResponse) GetValue() isGaugeResponse_Value + func (m *GaugeResponse) Reset() + func (m *GaugeResponse) String() string + func (m *GaugeResponse) XXX_DiscardUnknown() + func (m *GaugeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GaugeResponse) XXX_Merge(src proto.Message) + func (m *GaugeResponse) XXX_Size() int + func (m *GaugeResponse) XXX_Unmarshal(b []byte) error + type GaugeResponse_DoubleValue struct + DoubleValue float64 + type GaugeResponse_LongValue struct + LongValue int64 + type GaugeResponse_StringValue struct + StringValue string + type MetricsServiceClient interface + GetAllGauges func(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (MetricsService_GetAllGaugesClient, error) + GetGauge func(ctx context.Context, in *GaugeRequest, opts ...grpc.CallOption) (*GaugeResponse, error) + func NewMetricsServiceClient(cc grpc.ClientConnInterface) MetricsServiceClient + type MetricsServiceServer interface + GetAllGauges func(*EmptyMessage, MetricsService_GetAllGaugesServer) error + GetGauge func(context.Context, *GaugeRequest) (*GaugeResponse, error) + type MetricsService_GetAllGaugesClient interface + Recv func() (*GaugeResponse, error) + type MetricsService_GetAllGaugesServer interface + Send func(*GaugeResponse) error + type UnimplementedMetricsServiceServer struct + func (*UnimplementedMetricsServiceServer) GetAllGauges(req *EmptyMessage, srv MetricsService_GetAllGaugesServer) error + func (*UnimplementedMetricsServiceServer) GetGauge(ctx context.Context, req *GaugeRequest) (*GaugeResponse, error)