luci: Index | Files

package apipb

import ""


Package Files

gen.go helloworld.pb.go pb.discovery.go

func FileDescriptorSet Uses

func FileDescriptorSet() *descriptor.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 Uses

func RegisterGreeterServer(s prpc.Registrar, srv GreeterServer)

type GreeterClient Uses

type GreeterClient interface {
    SayHi(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)

GreeterClient is the client API for Greeter service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to

func NewGreeterClient Uses

func NewGreeterClient(cc grpc.ClientConnInterface) GreeterClient

func NewGreeterPRPCClient Uses

func NewGreeterPRPCClient(client *prpc.Client) GreeterClient

type GreeterServer Uses

type GreeterServer interface {
    SayHi(context.Context, *empty.Empty) (*empty.Empty, error)

GreeterServer is the server API for Greeter service.

type UnimplementedGreeterServer Uses

type UnimplementedGreeterServer struct {

UnimplementedGreeterServer can be embedded to have forward compatible implementations.

func (*UnimplementedGreeterServer) SayHi Uses

func (*UnimplementedGreeterServer) SayHi(ctx context.Context, req *empty.Empty) (*empty.Empty, error)

Package apipb imports 11 packages (graph) and is imported by 3 packages. Updated 2020-11-26. Refresh now. Tools for package owners.