Documentation ¶
Index ¶
- Variables
- func RegisterExperimentCalculatorServiceServer(s *grpc.Server, srv ExperimentCalculatorServiceServer)
- type BatchCalcRequest
- func (*BatchCalcRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchCalcRequest) GetEnvironmentId() string
- func (x *BatchCalcRequest) GetExperiment() *experiment.Experiment
- func (*BatchCalcRequest) ProtoMessage()
- func (x *BatchCalcRequest) ProtoReflect() protoreflect.Message
- func (x *BatchCalcRequest) Reset()
- func (x *BatchCalcRequest) String() string
- type BatchCalcResponse
- type ExperimentCalculatorServiceClient
- type ExperimentCalculatorServiceServer
- type UnimplementedExperimentCalculatorServiceServer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proto_experimentcalculator_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterExperimentCalculatorServiceServer ¶
func RegisterExperimentCalculatorServiceServer(s *grpc.Server, srv ExperimentCalculatorServiceServer)
Types ¶
type BatchCalcRequest ¶
type BatchCalcRequest struct { EnvironmentId string `protobuf:"bytes,1,opt,name=environment_id,json=environmentId,proto3" json:"environment_id"` Experiment *experiment.Experiment `protobuf:"bytes,2,opt,name=experiment,proto3" json:"experiment"` // contains filtered or unexported fields }
func (*BatchCalcRequest) Descriptor
deprecated
func (*BatchCalcRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchCalcRequest.ProtoReflect.Descriptor instead.
func (*BatchCalcRequest) GetEnvironmentId ¶
func (x *BatchCalcRequest) GetEnvironmentId() string
func (*BatchCalcRequest) GetExperiment ¶
func (x *BatchCalcRequest) GetExperiment() *experiment.Experiment
func (*BatchCalcRequest) ProtoMessage ¶
func (*BatchCalcRequest) ProtoMessage()
func (*BatchCalcRequest) ProtoReflect ¶
func (x *BatchCalcRequest) ProtoReflect() protoreflect.Message
func (*BatchCalcRequest) Reset ¶
func (x *BatchCalcRequest) Reset()
func (*BatchCalcRequest) String ¶
func (x *BatchCalcRequest) String() string
type BatchCalcResponse ¶
type BatchCalcResponse struct {
// contains filtered or unexported fields
}
func (*BatchCalcResponse) Descriptor
deprecated
func (*BatchCalcResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchCalcResponse.ProtoReflect.Descriptor instead.
func (*BatchCalcResponse) ProtoMessage ¶
func (*BatchCalcResponse) ProtoMessage()
func (*BatchCalcResponse) ProtoReflect ¶
func (x *BatchCalcResponse) ProtoReflect() protoreflect.Message
func (*BatchCalcResponse) Reset ¶
func (x *BatchCalcResponse) Reset()
func (*BatchCalcResponse) String ¶
func (x *BatchCalcResponse) String() string
type ExperimentCalculatorServiceClient ¶
type ExperimentCalculatorServiceClient interface {
CalcExperiment(ctx context.Context, in *BatchCalcRequest, opts ...grpc.CallOption) (*BatchCalcResponse, error)
}
ExperimentCalculatorServiceClient is the client API for ExperimentCalculatorService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewExperimentCalculatorServiceClient ¶
func NewExperimentCalculatorServiceClient(cc grpc.ClientConnInterface) ExperimentCalculatorServiceClient
type ExperimentCalculatorServiceServer ¶
type ExperimentCalculatorServiceServer interface {
CalcExperiment(context.Context, *BatchCalcRequest) (*BatchCalcResponse, error)
}
ExperimentCalculatorServiceServer is the server API for ExperimentCalculatorService service.
type UnimplementedExperimentCalculatorServiceServer ¶
type UnimplementedExperimentCalculatorServiceServer struct { }
UnimplementedExperimentCalculatorServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedExperimentCalculatorServiceServer) CalcExperiment ¶
func (*UnimplementedExperimentCalculatorServiceServer) CalcExperiment(context.Context, *BatchCalcRequest) (*BatchCalcResponse, error)
Click to show internal directories.
Click to hide internal directories.