grpc

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2018 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package grpc is a generated protocol buffer package.

It is generated from these files:

github.com/stratumn/go-indigonode/core/app/monitoring/grpc/monitoring.proto

It has these top-level messages:

SamplingRatio
Ack

Index

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 *grpc1.Server, srv MonitoringServer)

Types

type Ack

type Ack struct {
}

func (*Ack) Descriptor

func (*Ack) Descriptor() ([]byte, []int)

func (*Ack) Marshal

func (m *Ack) Marshal() (dAtA []byte, err error)

func (*Ack) MarshalTo

func (m *Ack) MarshalTo(dAtA []byte) (int, error)

func (*Ack) ProtoMessage

func (*Ack) ProtoMessage()

func (*Ack) Reset

func (m *Ack) Reset()

func (*Ack) Size

func (m *Ack) Size() (n int)

func (*Ack) String

func (m *Ack) String() string

func (*Ack) Unmarshal

func (m *Ack) Unmarshal(dAtA []byte) error

type MonitoringClient

type MonitoringClient interface {
	SetSamplingRatio(ctx context.Context, in *SamplingRatio, opts ...grpc1.CallOption) (*Ack, error)
}

func NewMonitoringClient

func NewMonitoringClient(cc *grpc1.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"`
}

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) MarshalTo

func (m *SamplingRatio) MarshalTo(dAtA []byte) (int, 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL