platformpb

package
v0.0.0-...-568411c Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

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.

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

Jump to

Keyboard shortcuts

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