Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_sudo_mpc_virtual_service_platform_service_coordinator_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCoordinatorServer ¶
func RegisterCoordinatorServer(s *grpc.Server, srv CoordinatorServer)
Types ¶
type CoordinatorClient ¶
type CoordinatorClient interface { // 检查与Furnace是否连通 // // 测试与Furnace的连通情况,返回Furnace的基本信息,如角色、party id等。 PingFurnace(ctx context.Context, in *party.PingFurnaceRequest, opts ...grpc.CallOption) (*party.PingPartyResponse, error) }
CoordinatorClient is the client API for Coordinator service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCoordinatorClient ¶
func NewCoordinatorClient(cc grpc.ClientConnInterface) CoordinatorClient
type CoordinatorServer ¶
type CoordinatorServer interface { // 检查与Furnace是否连通 // // 测试与Furnace的连通情况,返回Furnace的基本信息,如角色、party id等。 PingFurnace(context.Context, *party.PingFurnaceRequest) (*party.PingPartyResponse, error) }
CoordinatorServer is the server API for Coordinator service.
type UnimplementedCoordinatorServer ¶
type UnimplementedCoordinatorServer struct { }
UnimplementedCoordinatorServer can be embedded to have forward compatible implementations.
func (*UnimplementedCoordinatorServer) PingFurnace ¶
func (*UnimplementedCoordinatorServer) PingFurnace(context.Context, *party.PingFurnaceRequest) (*party.PingPartyResponse, error)
Click to show internal directories.
Click to hide internal directories.