Documentation ¶
Overview ¶
For internal use. Aliases to generated code are available in pkservices.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_grpeakec_proto_pkping_ping_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterPingServer ¶
func RegisterPingServer(s *grpc.Server, srv PingServer)
Types ¶
type PingClient ¶
type PingClient interface { // Ping is a simple endpoint to test if a service is running. Ping(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) }
PingClient is the client API for Ping service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPingClient ¶
func NewPingClient(cc grpc.ClientConnInterface) PingClient
Click to show internal directories.
Click to hide internal directories.