experimentcalculator

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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 added in v0.4.0

func (x *BatchCalcRequest) GetEnvironmentId() string

func (*BatchCalcRequest) GetExperiment added in v0.4.0

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.

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

Jump to

Keyboard shortcuts

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