Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterGoodbyeServiceServer ¶
func RegisterGoodbyeServiceServer(s *grpc.Server, srv GoodbyeServiceServer)
func RegisterHelloServiceServer ¶
func RegisterHelloServiceServer(s *grpc.Server, srv HelloServiceServer)
Types ¶
type GoodbyeServiceClient ¶
type GoodbyeServiceClient interface {
SayGoodbye(ctx context.Context, in *wrappers.StringValue, opts ...grpc.CallOption) (*wrappers.StringValue, error)
}
GoodbyeServiceClient is the client API for GoodbyeService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewGoodbyeServiceClient ¶
func NewGoodbyeServiceClient(cc *grpc.ClientConn) GoodbyeServiceClient
type GoodbyeServiceServer ¶
type GoodbyeServiceServer interface {
SayGoodbye(context.Context, *wrappers.StringValue) (*wrappers.StringValue, error)
}
GoodbyeServiceServer is the server API for GoodbyeService service.
type HelloServiceClient ¶
type HelloServiceClient interface {
SayHello(ctx context.Context, in *wrappers.StringValue, opts ...grpc.CallOption) (*wrappers.StringValue, error)
}
HelloServiceClient is the client API for HelloService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewHelloServiceClient ¶
func NewHelloServiceClient(cc *grpc.ClientConn) HelloServiceClient
type HelloServiceServer ¶
type HelloServiceServer interface {
SayHello(context.Context, *wrappers.StringValue) (*wrappers.StringValue, error)
}
HelloServiceServer is the server API for HelloService service.
Click to show internal directories.
Click to hide internal directories.