 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
- func RegisterPipeServer(s *grpc.Server, srv PipeServer)
- type Data
- func (*Data) Descriptor() ([]byte, []int)
- func (this *Data) Equal(that interface{}) bool
- func (m *Data) GetData() []byte
- func (this *Data) GoString() string
- func (m *Data) Marshal() (dAtA []byte, err error)
- func (m *Data) MarshalTo(dAtA []byte) (int, error)
- func (m *Data) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Data) ProtoMessage()
- func (m *Data) Reset()
- func (m *Data) Size() (n int)
- func (this *Data) String() string
- func (m *Data) Unmarshal(dAtA []byte) error
- func (m *Data) XXX_DiscardUnknown()
- func (m *Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Data) XXX_Merge(src proto.Message)
- func (m *Data) XXX_Size() int
- func (m *Data) XXX_Unmarshal(b []byte) error
 
- type PipeAttachable
- type PipeClient
- type PipeIO
- type PipeServer
- type Pipe_IOClient
- type Pipe_IOServer
- type UnimplementedPipeServer
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterPipeServer ¶
func RegisterPipeServer(s *grpc.Server, srv PipeServer)
Types ¶
type Data ¶
type Data struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
    func (*Data) Descriptor ¶
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) XXX_DiscardUnknown ¶
func (m *Data) XXX_DiscardUnknown()
func (*Data) XXX_Unmarshal ¶
type PipeAttachable ¶
type PipeAttachable struct {
	UnimplementedPipeServer
	// contains filtered or unexported fields
}
    PipeAttachable implements the PipeServer interface generated by protoc.
func NewPipeAttachable ¶
func (PipeAttachable) IO ¶
func (p PipeAttachable) IO(srv Pipe_IOServer) error
func (PipeAttachable) Register ¶
func (p PipeAttachable) Register(srv *grpc.Server)
type PipeClient ¶
type PipeClient interface {
	IO(ctx context.Context, opts ...grpc.CallOption) (Pipe_IOClient, error)
}
    PipeClient is the client API for Pipe service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPipeClient ¶
func NewPipeClient(cc *grpc.ClientConn) PipeClient
type PipeIO ¶
type PipeIO struct {
	GRPC interface {
		Send(*Data) error
		Recv() (*Data, error)
	}
	// contains filtered or unexported fields
}
    PipeIO transforms a Pipe_IOServer or a Pipe_IOClient into an io.ReadWriter
type PipeServer ¶
type PipeServer interface {
	IO(Pipe_IOServer) error
}
    PipeServer is the server API for Pipe service.
type Pipe_IOClient ¶
type Pipe_IOServer ¶
type UnimplementedPipeServer ¶
type UnimplementedPipeServer struct {
}
    UnimplementedPipeServer can be embedded to have forward compatible implementations.
func (*UnimplementedPipeServer) IO ¶
func (*UnimplementedPipeServer) IO(srv Pipe_IOServer) error
 Click to show internal directories. 
   Click to hide internal directories.