protogen

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2021 License: MIT Imports: 9 Imported by: 0

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

type PingServer

type PingServer interface {
	// Ping is a simple endpoint to test if a service is running.
	Ping(context.Context, *empty.Empty) (*empty.Empty, error)
}

PingServer is the server API for Ping service.

type UnimplementedPingServer

type UnimplementedPingServer struct {
}

UnimplementedPingServer can be embedded to have forward compatible implementations.

func (*UnimplementedPingServer) Ping

Jump to

Keyboard shortcuts

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