Help us shape the future of Go! Take the 2026 Go Developer Survey

plugin

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2019 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterGRPCBrokerServer

func RegisterGRPCBrokerServer(s *grpc.Server, srv GRPCBrokerServer)

func RegisterGRPCControllerServer

func RegisterGRPCControllerServer(s *grpc.Server, srv GRPCControllerServer)

Types

type ConnInfo

type ConnInfo struct {
	ServiceId            uint32   `protobuf:"varint,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	Network              string   `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
	Address              string   `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ConnInfo) Descriptor

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

func (*ConnInfo) GetAddress

func (m *ConnInfo) GetAddress() string

func (*ConnInfo) GetNetwork

func (m *ConnInfo) GetNetwork() string

func (*ConnInfo) GetServiceId

func (m *ConnInfo) GetServiceId() uint32

func (*ConnInfo) ProtoMessage

func (*ConnInfo) ProtoMessage()

func (*ConnInfo) Reset

func (m *ConnInfo) Reset()

func (*ConnInfo) String

func (m *ConnInfo) String() string

func (*ConnInfo) XXX_DiscardUnknown

func (m *ConnInfo) XXX_DiscardUnknown()

func (*ConnInfo) XXX_Marshal

func (m *ConnInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConnInfo) XXX_Merge

func (m *ConnInfo) XXX_Merge(src proto.Message)

func (*ConnInfo) XXX_Size

func (m *ConnInfo) XXX_Size() int

func (*ConnInfo) XXX_Unmarshal

func (m *ConnInfo) XXX_Unmarshal(b []byte) error

type Empty

type Empty struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Empty) Descriptor

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

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) Reset

func (m *Empty) Reset()

func (*Empty) String

func (m *Empty) String() string

func (*Empty) XXX_DiscardUnknown

func (m *Empty) XXX_DiscardUnknown()

func (*Empty) XXX_Marshal

func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Empty) XXX_Merge

func (m *Empty) XXX_Merge(src proto.Message)

func (*Empty) XXX_Size

func (m *Empty) XXX_Size() int

func (*Empty) XXX_Unmarshal

func (m *Empty) XXX_Unmarshal(b []byte) error

type GRPCBrokerClient

type GRPCBrokerClient interface {
	StartStream(ctx context.Context, opts ...grpc.CallOption) (GRPCBroker_StartStreamClient, error)
}

GRPCBrokerClient is the client API for GRPCBroker service.

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

func NewGRPCBrokerClient

func NewGRPCBrokerClient(cc *grpc.ClientConn) GRPCBrokerClient

type GRPCBrokerServer

type GRPCBrokerServer interface {
	StartStream(GRPCBroker_StartStreamServer) error
}

GRPCBrokerServer is the server API for GRPCBroker service.

type GRPCBroker_StartStreamClient

type GRPCBroker_StartStreamClient interface {
	Send(*ConnInfo) error
	Recv() (*ConnInfo, error)
	grpc.ClientStream
}

type GRPCBroker_StartStreamServer

type GRPCBroker_StartStreamServer interface {
	Send(*ConnInfo) error
	Recv() (*ConnInfo, error)
	grpc.ServerStream
}

type GRPCControllerClient

type GRPCControllerClient interface {
	Shutdown(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
}

GRPCControllerClient is the client API for GRPCController service.

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

func NewGRPCControllerClient

func NewGRPCControllerClient(cc *grpc.ClientConn) GRPCControllerClient

type GRPCControllerServer

type GRPCControllerServer interface {
	Shutdown(context.Context, *Empty) (*Empty, error)
}

GRPCControllerServer is the server API for GRPCController service.

Jump to

Keyboard shortcuts

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