metrics

package
v0.0.0-...-72c2bb7 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthLoad = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowLoad   = fmt.Errorf("proto: integer overflow")
)

Functions

func RegisterLoadReportServer

func RegisterLoadReportServer(s *grpc.Server, srv LoadReportServer)

Types

type LoadReportClient

type LoadReportClient interface {
	Load(ctx context.Context, in *LoadRequest, opts ...grpc.CallOption) (*LoadResponse, error)
}

LoadReportClient is the client API for LoadReport service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewLoadReportClient

func NewLoadReportClient(cc *grpc.ClientConn) LoadReportClient

type LoadReportServer

type LoadReportServer interface {
	Load(context.Context, *LoadRequest) (*LoadResponse, error)
}

LoadReportServer is the server API for LoadReport service.

type LoadRequest

type LoadRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LoadRequest) Descriptor

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

func (*LoadRequest) Marshal

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

func (*LoadRequest) MarshalTo

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

func (*LoadRequest) ProtoMessage

func (*LoadRequest) ProtoMessage()

func (*LoadRequest) Reset

func (m *LoadRequest) Reset()

func (*LoadRequest) Size

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

func (*LoadRequest) String

func (m *LoadRequest) String() string

func (*LoadRequest) Unmarshal

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

func (*LoadRequest) XXX_DiscardUnknown

func (m *LoadRequest) XXX_DiscardUnknown()

func (*LoadRequest) XXX_Marshal

func (m *LoadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LoadRequest) XXX_Merge

func (dst *LoadRequest) XXX_Merge(src proto.Message)

func (*LoadRequest) XXX_Size

func (m *LoadRequest) XXX_Size() int

func (*LoadRequest) XXX_Unmarshal

func (m *LoadRequest) XXX_Unmarshal(b []byte) error

type LoadResponse

type LoadResponse struct {
	Score                int64    `protobuf:"varint,1,opt,name=score,proto3" json:"score,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LoadResponse) Descriptor

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

func (*LoadResponse) GetScore

func (m *LoadResponse) GetScore() int64

func (*LoadResponse) Marshal

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

func (*LoadResponse) MarshalTo

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

func (*LoadResponse) ProtoMessage

func (*LoadResponse) ProtoMessage()

func (*LoadResponse) Reset

func (m *LoadResponse) Reset()

func (*LoadResponse) Size

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

func (*LoadResponse) String

func (m *LoadResponse) String() string

func (*LoadResponse) Unmarshal

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

func (*LoadResponse) XXX_DiscardUnknown

func (m *LoadResponse) XXX_DiscardUnknown()

func (*LoadResponse) XXX_Marshal

func (m *LoadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LoadResponse) XXX_Merge

func (dst *LoadResponse) XXX_Merge(src proto.Message)

func (*LoadResponse) XXX_Size

func (m *LoadResponse) XXX_Size() int

func (*LoadResponse) XXX_Unmarshal

func (m *LoadResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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