messages

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 13, 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
View Source
var ImportPluginService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "dynago.ImportPluginService",
	HandlerType: (*ImportPluginServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Import",
			Handler:    _ImportPluginService_Import_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "dynago-message.proto",
}

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

Functions

func RegisterDynagoServiceServer

func RegisterDynagoServiceServer(s grpc.ServiceRegistrar, srv DynagoServiceServer)

func RegisterImportPluginServiceServer added in v0.0.2

func RegisterImportPluginServiceServer(s grpc.ServiceRegistrar, srv ImportPluginServiceServer)

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

type ImportPluginRequest struct {
	Name     string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Contents []byte `protobuf:"bytes,2,opt,name=Contents,proto3" json:"Contents,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportPluginRequest) Descriptor deprecated added in v0.0.2

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

Deprecated: Use ImportPluginRequest.ProtoReflect.Descriptor instead.

func (*ImportPluginRequest) GetContents added in v0.0.2

func (x *ImportPluginRequest) GetContents() []byte

func (*ImportPluginRequest) GetName added in v0.0.2

func (x *ImportPluginRequest) GetName() string

func (*ImportPluginRequest) ProtoMessage added in v0.0.2

func (*ImportPluginRequest) ProtoMessage()

func (*ImportPluginRequest) ProtoReflect added in v0.0.2

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

func (*ImportPluginRequest) Reset added in v0.0.2

func (x *ImportPluginRequest) Reset()

func (*ImportPluginRequest) String added in v0.0.2

func (x *ImportPluginRequest) String() string

type ImportPluginResponse added in v0.0.2

type ImportPluginResponse struct {
	Error string `protobuf:"bytes,1,opt,name=Error,proto3" json:"Error,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportPluginResponse) Descriptor deprecated added in v0.0.2

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

Deprecated: Use ImportPluginResponse.ProtoReflect.Descriptor instead.

func (*ImportPluginResponse) GetError added in v0.0.2

func (x *ImportPluginResponse) GetError() string

func (*ImportPluginResponse) ProtoMessage added in v0.0.2

func (*ImportPluginResponse) ProtoMessage()

func (*ImportPluginResponse) ProtoReflect added in v0.0.2

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

func (*ImportPluginResponse) Reset added in v0.0.2

func (x *ImportPluginResponse) Reset()

func (*ImportPluginResponse) String added in v0.0.2

func (x *ImportPluginResponse) String() string

type ImportPluginServiceClient added in v0.0.2

type ImportPluginServiceClient interface {
	Import(ctx context.Context, in *ImportPluginRequest, opts ...grpc.CallOption) (*ImportPluginResponse, error)
}

ImportPluginServiceClient is the client API for ImportPluginService 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.

func NewImportPluginServiceClient added in v0.0.2

func NewImportPluginServiceClient(cc grpc.ClientConnInterface) ImportPluginServiceClient

type ImportPluginServiceServer added in v0.0.2

type ImportPluginServiceServer interface {
	Import(context.Context, *ImportPluginRequest) (*ImportPluginResponse, error)
	// contains filtered or unexported methods
}

ImportPluginServiceServer is the server API for ImportPluginService service. All implementations must embed UnimplementedImportPluginServiceServer for forward compatibility

type UnimplementedDynagoServiceServer

type UnimplementedDynagoServiceServer struct {
}

UnimplementedDynagoServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedDynagoServiceServer) Process

type UnimplementedImportPluginServiceServer added in v0.0.2

type UnimplementedImportPluginServiceServer struct {
}

UnimplementedImportPluginServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedImportPluginServiceServer) Import added in v0.0.2

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

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

UnsafeImportPluginServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ImportPluginServiceServer 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