Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_go_chromium_org_luci_examples_k8s_helloworld_apipb_helloworld_proto protoreflect.FileDescriptor
Functions ¶
func FileDescriptorSet ¶
func FileDescriptorSet() *descriptorpb.FileDescriptorSet
FileDescriptorSet returns a descriptor set for this proto package, which includes all defined services, and all transitive dependencies.
Will not return nil.
Do NOT modify the returned descriptor.
func RegisterGreeterServer ¶
func RegisterGreeterServer(s prpc.Registrar, srv GreeterServer)
Types ¶
type GreeterClient ¶
type GreeterClient interface {
SayHi(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
}
GreeterClient is the client API for Greeter service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewGreeterClient ¶
func NewGreeterClient(cc grpc.ClientConnInterface) GreeterClient
func NewGreeterPRPCClient ¶
func NewGreeterPRPCClient(client *prpc.Client) GreeterClient
type GreeterServer ¶
GreeterServer is the server API for Greeter service.
type UnimplementedGreeterServer ¶
type UnimplementedGreeterServer struct { }
UnimplementedGreeterServer can be embedded to have forward compatible implementations.
Click to show internal directories.
Click to hide internal directories.