Documentation
¶
Index ¶
- Variables
- func RegisterMonitoringServer(s *grpc.Server, srv MonitoringServer)
- type Ack
- func (*Ack) Descriptor() ([]byte, []int)
- func (m *Ack) Marshal() (dAtA []byte, err error)
- func (m *Ack) MarshalTo(dAtA []byte) (int, error)
- func (*Ack) ProtoMessage()
- func (m *Ack) Reset()
- func (m *Ack) Size() (n int)
- func (m *Ack) String() string
- func (m *Ack) Unmarshal(dAtA []byte) error
- func (m *Ack) XXX_DiscardUnknown()
- func (m *Ack) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Ack) XXX_Merge(src proto.Message)
- func (m *Ack) XXX_Size() int
- func (m *Ack) XXX_Unmarshal(b []byte) error
- type MonitoringClient
- type MonitoringServer
- type SamplingRatio
- func (*SamplingRatio) Descriptor() ([]byte, []int)
- func (m *SamplingRatio) GetValue() float32
- func (m *SamplingRatio) Marshal() (dAtA []byte, err error)
- func (m *SamplingRatio) MarshalTo(dAtA []byte) (int, error)
- func (*SamplingRatio) ProtoMessage()
- func (m *SamplingRatio) Reset()
- func (m *SamplingRatio) Size() (n int)
- func (m *SamplingRatio) String() string
- func (m *SamplingRatio) Unmarshal(dAtA []byte) error
- func (m *SamplingRatio) XXX_DiscardUnknown()
- func (m *SamplingRatio) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SamplingRatio) XXX_Merge(src proto.Message)
- func (m *SamplingRatio) XXX_Size() int
- func (m *SamplingRatio) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthMonitoring = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMonitoring = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterMonitoringServer ¶
func RegisterMonitoringServer(s *grpc.Server, srv MonitoringServer)
Types ¶
type Ack ¶
type Ack struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Ack) Descriptor ¶
func (*Ack) ProtoMessage ¶
func (*Ack) ProtoMessage()
func (*Ack) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *Ack) XXX_DiscardUnknown()
func (*Ack) XXX_Marshal ¶ added in v0.2.0
func (*Ack) XXX_Unmarshal ¶ added in v0.2.0
type MonitoringClient ¶
type MonitoringClient interface {
SetSamplingRatio(ctx context.Context, in *SamplingRatio, opts ...grpc.CallOption) (*Ack, error)
}
func NewMonitoringClient ¶
func NewMonitoringClient(cc *grpc.ClientConn) MonitoringClient
type MonitoringServer ¶
type MonitoringServer interface {
SetSamplingRatio(context.Context, *SamplingRatio) (*Ack, error)
}
type SamplingRatio ¶
type SamplingRatio struct {
Value float32 `protobuf:"fixed32,1,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SamplingRatio) Descriptor ¶
func (*SamplingRatio) Descriptor() ([]byte, []int)
func (*SamplingRatio) GetValue ¶
func (m *SamplingRatio) GetValue() float32
func (*SamplingRatio) Marshal ¶
func (m *SamplingRatio) Marshal() (dAtA []byte, err error)
func (*SamplingRatio) ProtoMessage ¶
func (*SamplingRatio) ProtoMessage()
func (*SamplingRatio) Reset ¶
func (m *SamplingRatio) Reset()
func (*SamplingRatio) Size ¶
func (m *SamplingRatio) Size() (n int)
func (*SamplingRatio) String ¶
func (m *SamplingRatio) String() string
func (*SamplingRatio) Unmarshal ¶
func (m *SamplingRatio) Unmarshal(dAtA []byte) error
func (*SamplingRatio) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *SamplingRatio) XXX_DiscardUnknown()
func (*SamplingRatio) XXX_Marshal ¶ added in v0.2.0
func (m *SamplingRatio) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SamplingRatio) XXX_Merge ¶ added in v0.2.0
func (dst *SamplingRatio) XXX_Merge(src proto.Message)
func (*SamplingRatio) XXX_Size ¶ added in v0.2.0
func (m *SamplingRatio) XXX_Size() int
func (*SamplingRatio) XXX_Unmarshal ¶ added in v0.2.0
func (m *SamplingRatio) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.