messages

package
v0.0.0-...-2509fbb Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: MIT Imports: 10 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DynagoService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "dynago.DynagoService",
	HandlerType: (*DynagoServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Process",
			Handler:    _DynagoService_Process_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "dynago-message.proto",
}

DynagoService_ServiceDesc is the grpc.ServiceDesc for DynagoService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_dynago_message_proto protoreflect.FileDescriptor
View Source
var File_dynago_parameter_proto protoreflect.FileDescriptor

Functions

func RegisterDynagoServiceServer

func RegisterDynagoServiceServer(s grpc.ServiceRegistrar, srv DynagoServiceServer)

Types

type DynagoRequest

type DynagoRequest struct {
	Parameters map[string]*anypb.Any `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DynagoRequest) Descriptor deprecated

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

Deprecated: Use DynagoRequest.ProtoReflect.Descriptor instead.

func (*DynagoRequest) GetParameters

func (x *DynagoRequest) GetParameters() map[string]*anypb.Any

func (*DynagoRequest) ProtoMessage

func (*DynagoRequest) ProtoMessage()

func (*DynagoRequest) ProtoReflect

func (x *DynagoRequest) ProtoReflect() protoreflect.Message

func (*DynagoRequest) Reset

func (x *DynagoRequest) Reset()

func (*DynagoRequest) String

func (x *DynagoRequest) String() string

type DynagoResponse

type DynagoResponse struct {
	Results map[string]*anypb.Any `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DynagoResponse) Descriptor deprecated

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

Deprecated: Use DynagoResponse.ProtoReflect.Descriptor instead.

func (*DynagoResponse) GetResults

func (x *DynagoResponse) GetResults() map[string]*anypb.Any

func (*DynagoResponse) ProtoMessage

func (*DynagoResponse) ProtoMessage()

func (*DynagoResponse) ProtoReflect

func (x *DynagoResponse) ProtoReflect() protoreflect.Message

func (*DynagoResponse) Reset

func (x *DynagoResponse) Reset()

func (*DynagoResponse) String

func (x *DynagoResponse) String() string

type DynagoServiceClient

type DynagoServiceClient interface {
	Process(ctx context.Context, in *DynagoRequest, opts ...grpc.CallOption) (*DynagoResponse, error)
}

DynagoServiceClient is the client API for DynagoService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type DynagoServiceServer

type DynagoServiceServer interface {
	Process(context.Context, *DynagoRequest) (*DynagoResponse, error)
	// contains filtered or unexported methods
}

DynagoServiceServer is the server API for DynagoService service. All implementations must embed UnimplementedDynagoServiceServer for forward compatibility

type UnimplementedDynagoServiceServer

type UnimplementedDynagoServiceServer struct {
}

UnimplementedDynagoServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedDynagoServiceServer) Process

type UnsafeDynagoServiceServer

type UnsafeDynagoServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeDynagoServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DynagoServiceServer will result in compilation errors.

type ValueTypeParameter

type ValueTypeParameter struct {

	// Types that are assignable to ParameterOneof:
	//	*ValueTypeParameter_IntegerValue
	//	*ValueTypeParameter_StringValue
	//	*ValueTypeParameter_DoubleValue
	//	*ValueTypeParameter_BoolValue
	ParameterOneof isValueTypeParameter_ParameterOneof `protobuf_oneof:"parameter_oneof"`
	// contains filtered or unexported fields
}

later repeated message types for list types

func (*ValueTypeParameter) Descriptor deprecated

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

Deprecated: Use ValueTypeParameter.ProtoReflect.Descriptor instead.

func (*ValueTypeParameter) GetBoolValue

func (x *ValueTypeParameter) GetBoolValue() bool

func (*ValueTypeParameter) GetDoubleValue

func (x *ValueTypeParameter) GetDoubleValue() float64

func (*ValueTypeParameter) GetIntegerValue

func (x *ValueTypeParameter) GetIntegerValue() int32

func (*ValueTypeParameter) GetParameterOneof

func (m *ValueTypeParameter) GetParameterOneof() isValueTypeParameter_ParameterOneof

func (*ValueTypeParameter) GetStringValue

func (x *ValueTypeParameter) GetStringValue() string

func (*ValueTypeParameter) ProtoMessage

func (*ValueTypeParameter) ProtoMessage()

func (*ValueTypeParameter) ProtoReflect

func (x *ValueTypeParameter) ProtoReflect() protoreflect.Message

func (*ValueTypeParameter) Reset

func (x *ValueTypeParameter) Reset()

func (*ValueTypeParameter) String

func (x *ValueTypeParameter) String() string

type ValueTypeParameter_BoolValue

type ValueTypeParameter_BoolValue struct {
	BoolValue bool `protobuf:"varint,4,opt,name=boolValue,proto3,oneof"`
}

type ValueTypeParameter_DoubleValue

type ValueTypeParameter_DoubleValue struct {
	DoubleValue float64 `protobuf:"fixed64,3,opt,name=doubleValue,proto3,oneof"`
}

type ValueTypeParameter_IntegerValue

type ValueTypeParameter_IntegerValue struct {
	IntegerValue int32 `protobuf:"varint,1,opt,name=integerValue,proto3,oneof"`
}

type ValueTypeParameter_StringValue

type ValueTypeParameter_StringValue struct {
	StringValue string `protobuf:"bytes,2,opt,name=stringValue,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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