proto

package
v0.9.1-dev.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2021 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_plugin_manager_proto protoreflect.FileDescriptor

Functions

func RegisterPluginManagerServer

func RegisterPluginManagerServer(s *grpc.Server, srv PluginManagerServer)

Types

type GetPluginRequest

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

func (*GetPluginRequest) Descriptor deprecated

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

Deprecated: Use GetPluginRequest.ProtoReflect.Descriptor instead.

func (*GetPluginRequest) GetConnection

func (x *GetPluginRequest) GetConnection() string

func (*GetPluginRequest) ProtoMessage

func (*GetPluginRequest) ProtoMessage()

func (*GetPluginRequest) ProtoReflect

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

func (*GetPluginRequest) Reset

func (x *GetPluginRequest) Reset()

func (*GetPluginRequest) String

func (x *GetPluginRequest) String() string

type GetPluginResponse

type GetPluginResponse struct {
	Protocol        string   `protobuf:"bytes,1,opt,name=Protocol,proto3" json:"Protocol,omitempty"`
	ProtocolVersion int64    `protobuf:"varint,2,opt,name=ProtocolVersion,proto3" json:"ProtocolVersion,omitempty"`
	Addr            *NetAddr `protobuf:"bytes,3,opt,name=Addr,proto3" json:"Addr,omitempty"`
	Pid             int64    `protobuf:"varint,4,opt,name=Pid,proto3" json:"Pid,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPluginResponse) Descriptor deprecated

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

Deprecated: Use GetPluginResponse.ProtoReflect.Descriptor instead.

func (*GetPluginResponse) GetAddr

func (x *GetPluginResponse) GetAddr() *NetAddr

func (*GetPluginResponse) GetPid

func (x *GetPluginResponse) GetPid() int64

func (*GetPluginResponse) GetProtocol

func (x *GetPluginResponse) GetProtocol() string

func (*GetPluginResponse) GetProtocolVersion

func (x *GetPluginResponse) GetProtocolVersion() int64

func (*GetPluginResponse) ProtoMessage

func (*GetPluginResponse) ProtoMessage()

func (*GetPluginResponse) ProtoReflect

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

func (*GetPluginResponse) Reset

func (x *GetPluginResponse) Reset()

func (*GetPluginResponse) String

func (x *GetPluginResponse) String() string

type NetAddr

type NetAddr struct {
	Network string `protobuf:"bytes,1,opt,name=Network,proto3" json:"Network,omitempty"` // name of the network (for example, "tcp", "udp")
	Address string `protobuf:"bytes,2,opt,name=Address,proto3" json:"Address,omitempty"` // string form of address (for example, "192.0.2.1:25", "[2001:db8::1]:80")
	// contains filtered or unexported fields
}

func (*NetAddr) Descriptor deprecated

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

Deprecated: Use NetAddr.ProtoReflect.Descriptor instead.

func (*NetAddr) GetAddress

func (x *NetAddr) GetAddress() string

func (*NetAddr) GetNetwork

func (x *NetAddr) GetNetwork() string

func (*NetAddr) ProtoMessage

func (*NetAddr) ProtoMessage()

func (*NetAddr) ProtoReflect

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

func (*NetAddr) Reset

func (x *NetAddr) Reset()

func (*NetAddr) String

func (x *NetAddr) String() string

type PluginManagerClient

type PluginManagerClient interface {
	GetPlugin(ctx context.Context, in *GetPluginRequest, opts ...grpc.CallOption) (*GetPluginResponse, error)
}

PluginManagerClient is the client API for PluginManager service.

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

type PluginManagerServer

type PluginManagerServer interface {
	GetPlugin(context.Context, *GetPluginRequest) (*GetPluginResponse, error)
}

PluginManagerServer is the server API for PluginManager service.

type UnimplementedPluginManagerServer

type UnimplementedPluginManagerServer struct {
}

UnimplementedPluginManagerServer can be embedded to have forward compatible implementations.

func (*UnimplementedPluginManagerServer) GetPlugin

Jump to

Keyboard shortcuts

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