Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterWrappedServiceServer ¶
func RegisterWrappedServiceServer(s *grpc.Server, srv WrappedServiceServer)
Types ¶
type UnimplementedWrappedServiceServer ¶
type UnimplementedWrappedServiceServer struct { }
UnimplementedWrappedServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedWrappedServiceServer) GetMessage ¶
func (*UnimplementedWrappedServiceServer) GetMessage(ctx context.Context, req *wrappers.StringValue) (*wrappers.StringValue, error)
type WrappedService ¶
type WrappedService struct{}
func (*WrappedService) GetMessage ¶
func (s *WrappedService) GetMessage(ctx context.Context, req *wrappers.StringValue) (*wrappers.StringValue, error)
type WrappedServiceClient ¶
type WrappedServiceClient interface {
GetMessage(ctx context.Context, in *wrappers.StringValue, opts ...grpc.CallOption) (*wrappers.StringValue, error)
}
WrappedServiceClient is the client API for WrappedService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewWrappedServiceClient ¶
func NewWrappedServiceClient(cc *grpc.ClientConn) WrappedServiceClient
type WrappedServiceServer ¶
type WrappedServiceServer interface {
GetMessage(context.Context, *wrappers.StringValue) (*wrappers.StringValue, error)
}
WrappedServiceServer is the server API for WrappedService service.
Click to show internal directories.
Click to hide internal directories.