Documentation ¶
Index ¶
- Variables
- func RegisterGRPCMdtDialoutServer(s grpc.ServiceRegistrar, srv GRPCMdtDialoutServer)
- type GRPCMdtDialoutClient
- type GRPCMdtDialoutServer
- type GRPCMdtDialout_MdtDialoutClient
- type GRPCMdtDialout_MdtDialoutServer
- type MdtDialoutArgs
- func (*MdtDialoutArgs) Descriptor() ([]byte, []int)deprecated
- func (x *MdtDialoutArgs) GetData() []byte
- func (x *MdtDialoutArgs) GetErrors() string
- func (x *MdtDialoutArgs) GetReqId() int64
- func (x *MdtDialoutArgs) GetTotalSize() int32
- func (*MdtDialoutArgs) ProtoMessage()
- func (x *MdtDialoutArgs) ProtoReflect() protoreflect.Message
- func (x *MdtDialoutArgs) Reset()
- func (x *MdtDialoutArgs) String() string
- type UnimplementedGRPCMdtDialoutServer
- type UnsafeGRPCMdtDialoutServer
Constants ¶
This section is empty.
Variables ¶
var File_mdt_dialout_proto protoreflect.FileDescriptor
var GRPCMdtDialout_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mdt_dialout.gRPCMdtDialout", HandlerType: (*GRPCMdtDialoutServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "MdtDialout", Handler: _GRPCMdtDialout_MdtDialout_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "mdt_dialout.proto", }
GRPCMdtDialout_ServiceDesc is the grpc.ServiceDesc for GRPCMdtDialout service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterGRPCMdtDialoutServer ¶
func RegisterGRPCMdtDialoutServer(s grpc.ServiceRegistrar, srv GRPCMdtDialoutServer)
Types ¶
type GRPCMdtDialoutClient ¶
type GRPCMdtDialoutClient interface {
MdtDialout(ctx context.Context, opts ...grpc.CallOption) (GRPCMdtDialout_MdtDialoutClient, error)
}
GRPCMdtDialoutClient is the client API for GRPCMdtDialout 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 NewGRPCMdtDialoutClient ¶
func NewGRPCMdtDialoutClient(cc grpc.ClientConnInterface) GRPCMdtDialoutClient
type GRPCMdtDialoutServer ¶
type GRPCMdtDialoutServer interface { MdtDialout(GRPCMdtDialout_MdtDialoutServer) error // contains filtered or unexported methods }
GRPCMdtDialoutServer is the server API for GRPCMdtDialout service. All implementations must embed UnimplementedGRPCMdtDialoutServer for forward compatibility
type GRPCMdtDialout_MdtDialoutClient ¶
type GRPCMdtDialout_MdtDialoutClient interface { Send(*MdtDialoutArgs) error Recv() (*MdtDialoutArgs, error) grpc.ClientStream }
type GRPCMdtDialout_MdtDialoutServer ¶
type GRPCMdtDialout_MdtDialoutServer interface { Send(*MdtDialoutArgs) error Recv() (*MdtDialoutArgs, error) grpc.ServerStream }
type MdtDialoutArgs ¶
type MdtDialoutArgs struct { ReqId int64 `protobuf:"varint,1,opt,name=ReqId,proto3" json:"ReqId,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Errors string `protobuf:"bytes,3,opt,name=errors,proto3" json:"errors,omitempty"` TotalSize int32 `protobuf:"varint,4,opt,name=totalSize,proto3" json:"totalSize,omitempty"` // Set for messages that are chunked, it contains the original message size. // contains filtered or unexported fields }
func (*MdtDialoutArgs) Descriptor
deprecated
func (*MdtDialoutArgs) Descriptor() ([]byte, []int)
Deprecated: Use MdtDialoutArgs.ProtoReflect.Descriptor instead.
func (*MdtDialoutArgs) GetData ¶
func (x *MdtDialoutArgs) GetData() []byte
func (*MdtDialoutArgs) GetErrors ¶
func (x *MdtDialoutArgs) GetErrors() string
func (*MdtDialoutArgs) GetReqId ¶
func (x *MdtDialoutArgs) GetReqId() int64
func (*MdtDialoutArgs) GetTotalSize ¶
func (x *MdtDialoutArgs) GetTotalSize() int32
func (*MdtDialoutArgs) ProtoMessage ¶
func (*MdtDialoutArgs) ProtoMessage()
func (*MdtDialoutArgs) ProtoReflect ¶
func (x *MdtDialoutArgs) ProtoReflect() protoreflect.Message
func (*MdtDialoutArgs) Reset ¶
func (x *MdtDialoutArgs) Reset()
func (*MdtDialoutArgs) String ¶
func (x *MdtDialoutArgs) String() string
type UnimplementedGRPCMdtDialoutServer ¶
type UnimplementedGRPCMdtDialoutServer struct { }
UnimplementedGRPCMdtDialoutServer must be embedded to have forward compatible implementations.
func (UnimplementedGRPCMdtDialoutServer) MdtDialout ¶
func (UnimplementedGRPCMdtDialoutServer) MdtDialout(GRPCMdtDialout_MdtDialoutServer) error
type UnsafeGRPCMdtDialoutServer ¶ added in v0.1.8
type UnsafeGRPCMdtDialoutServer interface {
// contains filtered or unexported methods
}
UnsafeGRPCMdtDialoutServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GRPCMdtDialoutServer will result in compilation errors.