Documentation ¶
Index ¶
- Variables
- func RegisterTCCServiceBusiness1Server(s grpc.ServiceRegistrar, srv TCCServiceBusiness1Server)
- func RegisterTCCServiceBusiness2Server(s grpc.ServiceRegistrar, srv TCCServiceBusiness2Server)
- type Params
- type TCCServiceBusiness1Client
- type TCCServiceBusiness1Server
- type TCCServiceBusiness2Client
- type TCCServiceBusiness2Server
- type UnimplementedTCCServiceBusiness1Server
- type UnimplementedTCCServiceBusiness2Server
- type UnsafeTCCServiceBusiness1Server
- type UnsafeTCCServiceBusiness2Server
Constants ¶
This section is empty.
Variables ¶
var File_sample_tcc_grpc_pb_tcc_grpc_proto protoreflect.FileDescriptor
var TCCServiceBusiness1_ServiceDesc = grpc.ServiceDesc{ ServiceName: "TCCServiceBusiness1", HandlerType: (*TCCServiceBusiness1Server)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Remoting", Handler: _TCCServiceBusiness1_Remoting_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "sample/tcc/grpc/pb/tcc_grpc.proto", }
TCCServiceBusiness1_ServiceDesc is the grpc.ServiceDesc for TCCServiceBusiness1 service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var TCCServiceBusiness2_ServiceDesc = grpc.ServiceDesc{ ServiceName: "TCCServiceBusiness2", HandlerType: (*TCCServiceBusiness2Server)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Remoting", Handler: _TCCServiceBusiness2_Remoting_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "sample/tcc/grpc/pb/tcc_grpc.proto", }
TCCServiceBusiness2_ServiceDesc is the grpc.ServiceDesc for TCCServiceBusiness2 service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTCCServiceBusiness1Server ¶
func RegisterTCCServiceBusiness1Server(s grpc.ServiceRegistrar, srv TCCServiceBusiness1Server)
func RegisterTCCServiceBusiness2Server ¶
func RegisterTCCServiceBusiness2Server(s grpc.ServiceRegistrar, srv TCCServiceBusiness2Server)
Types ¶
type Params ¶
type Params struct { A string `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"` B string `protobuf:"bytes,2,opt,name=b,proto3" json:"b,omitempty"` // contains filtered or unexported fields }
func (*Params) Descriptor
deprecated
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type TCCServiceBusiness1Client ¶
type TCCServiceBusiness1Client interface {
Remoting(ctx context.Context, in *Params, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error)
}
TCCServiceBusiness1Client is the client API for TCCServiceBusiness1 service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTCCServiceBusiness1Client ¶
func NewTCCServiceBusiness1Client(cc grpc.ClientConnInterface) TCCServiceBusiness1Client
type TCCServiceBusiness1Server ¶
type TCCServiceBusiness1Server interface { Remoting(context.Context, *Params) (*wrapperspb.BoolValue, error) // contains filtered or unexported methods }
TCCServiceBusiness1Server is the server API for TCCServiceBusiness1 service. All implementations must embed UnimplementedTCCServiceBusiness1Server for forward compatibility
type TCCServiceBusiness2Client ¶
type TCCServiceBusiness2Client interface {
Remoting(ctx context.Context, in *Params, opts ...grpc.CallOption) (*anypb.Any, error)
}
TCCServiceBusiness2Client is the client API for TCCServiceBusiness2 service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTCCServiceBusiness2Client ¶
func NewTCCServiceBusiness2Client(cc grpc.ClientConnInterface) TCCServiceBusiness2Client
type TCCServiceBusiness2Server ¶
type TCCServiceBusiness2Server interface { Remoting(context.Context, *Params) (*anypb.Any, error) // contains filtered or unexported methods }
TCCServiceBusiness2Server is the server API for TCCServiceBusiness2 service. All implementations must embed UnimplementedTCCServiceBusiness2Server for forward compatibility
type UnimplementedTCCServiceBusiness1Server ¶
type UnimplementedTCCServiceBusiness1Server struct{}
UnimplementedTCCServiceBusiness1Server must be embedded to have forward compatible implementations.
func (UnimplementedTCCServiceBusiness1Server) Remoting ¶
func (UnimplementedTCCServiceBusiness1Server) Remoting(context.Context, *Params) (*wrapperspb.BoolValue, error)
type UnimplementedTCCServiceBusiness2Server ¶
type UnimplementedTCCServiceBusiness2Server struct{}
UnimplementedTCCServiceBusiness2Server must be embedded to have forward compatible implementations.
type UnsafeTCCServiceBusiness1Server ¶
type UnsafeTCCServiceBusiness1Server interface {
// contains filtered or unexported methods
}
UnsafeTCCServiceBusiness1Server may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TCCServiceBusiness1Server will result in compilation errors.
type UnsafeTCCServiceBusiness2Server ¶
type UnsafeTCCServiceBusiness2Server interface {
// contains filtered or unexported methods
}
UnsafeTCCServiceBusiness2Server may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TCCServiceBusiness2Server will result in compilation errors.