Documentation ¶
Index ¶
- func NewStreamingEchoServerWrapper(upstm component_pb.ModuleService_StreamCallServer) pb.EchoService_StreamingEchoServer
- type EchoService
- func (self *EchoService) Echo(ctx context.Context, req *pb.EchoRequest) (*pb.EchoResponse, error)
- func (self *EchoService) HANDLE_GRPC_Echo(ctx context.Context, in *any.Any) (*any.Any, error)
- func (self *EchoService) HANDLE_GRPC_StreamingEcho(upstm component_pb.ModuleService_StreamCallServer) error
- func (self *EchoService) InitModuleService(m *component.Module) error
- func (self *EchoService) StreamingEcho(stm pb.EchoService_StreamingEchoServer) error
- type StreamingEchoServerWrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStreamingEchoServerWrapper ¶
func NewStreamingEchoServerWrapper(upstm component_pb.ModuleService_StreamCallServer) pb.EchoService_StreamingEchoServer
Types ¶
type EchoService ¶
type EchoService struct { *component_ext_firmware_service.ComponentExtFirmwareService // contains filtered or unexported fields }
func (*EchoService) Echo ¶
func (self *EchoService) Echo(ctx context.Context, req *pb.EchoRequest) (*pb.EchoResponse, error)
func (*EchoService) HANDLE_GRPC_Echo ¶
func (*EchoService) HANDLE_GRPC_StreamingEcho ¶
func (self *EchoService) HANDLE_GRPC_StreamingEcho(upstm component_pb.ModuleService_StreamCallServer) error
func (*EchoService) InitModuleService ¶
func (self *EchoService) InitModuleService(m *component.Module) error
func (*EchoService) StreamingEcho ¶
func (self *EchoService) StreamingEcho(stm pb.EchoService_StreamingEchoServer) error
type StreamingEchoServerWrapper ¶
type StreamingEchoServerWrapper struct {
component_pb.ModuleService_StreamCallServer
}
func (*StreamingEchoServerWrapper) Recv ¶
func (self *StreamingEchoServerWrapper) Recv() (*pb.StreamingEchoRequest, error)
func (*StreamingEchoServerWrapper) Send ¶
func (self *StreamingEchoServerWrapper) Send(res *pb.StreamingEchoResponse) error
Click to show internal directories.
Click to hide internal directories.