Versions in this module Expand all Collapse all v1 v1.9.8 Jun 28, 2023 Changes in this version + var File_http_responsewriter_responsewriter_proto protoreflect.FileDescriptor + var Writer_ServiceDesc = grpc.ServiceDesc + func RegisterWriterServer(s grpc.ServiceRegistrar, srv WriterServer) + type Header struct + Key string + Values []string + func (*Header) Descriptor() ([]byte, []int) + func (*Header) ProtoMessage() + func (x *Header) GetKey() string + func (x *Header) GetValues() []string + func (x *Header) ProtoReflect() protoreflect.Message + func (x *Header) Reset() + func (x *Header) String() string + type HijackResponse struct + LocalNetwork string + LocalString string + RemoteNetwork string + RemoteString string + ServerAddr string + func (*HijackResponse) Descriptor() ([]byte, []int) + func (*HijackResponse) ProtoMessage() + func (x *HijackResponse) GetLocalNetwork() string + func (x *HijackResponse) GetLocalString() string + func (x *HijackResponse) GetRemoteNetwork() string + func (x *HijackResponse) GetRemoteString() string + func (x *HijackResponse) GetServerAddr() string + func (x *HijackResponse) ProtoReflect() protoreflect.Message + func (x *HijackResponse) Reset() + func (x *HijackResponse) String() string + type UnimplementedWriterServer struct + func (UnimplementedWriterServer) Flush(context.Context, *emptypb.Empty) (*emptypb.Empty, error) + func (UnimplementedWriterServer) Hijack(context.Context, *emptypb.Empty) (*HijackResponse, error) + func (UnimplementedWriterServer) Write(context.Context, *WriteRequest) (*WriteResponse, error) + func (UnimplementedWriterServer) WriteHeader(context.Context, *WriteHeaderRequest) (*emptypb.Empty, error) + type UnsafeWriterServer interface + type WriteHeaderRequest struct + Headers []*Header + StatusCode int32 + func (*WriteHeaderRequest) Descriptor() ([]byte, []int) + func (*WriteHeaderRequest) ProtoMessage() + func (x *WriteHeaderRequest) GetHeaders() []*Header + func (x *WriteHeaderRequest) GetStatusCode() int32 + func (x *WriteHeaderRequest) ProtoReflect() protoreflect.Message + func (x *WriteHeaderRequest) Reset() + func (x *WriteHeaderRequest) String() string + type WriteRequest struct + Headers []*Header + Payload []byte + func (*WriteRequest) Descriptor() ([]byte, []int) + func (*WriteRequest) ProtoMessage() + func (x *WriteRequest) GetHeaders() []*Header + func (x *WriteRequest) GetPayload() []byte + func (x *WriteRequest) ProtoReflect() protoreflect.Message + func (x *WriteRequest) Reset() + func (x *WriteRequest) String() string + type WriteResponse struct + Written int32 + func (*WriteResponse) Descriptor() ([]byte, []int) + func (*WriteResponse) ProtoMessage() + func (x *WriteResponse) GetWritten() int32 + func (x *WriteResponse) ProtoReflect() protoreflect.Message + func (x *WriteResponse) Reset() + func (x *WriteResponse) String() string + type WriterClient interface + Flush func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) + Hijack func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*HijackResponse, error) + Write func(ctx context.Context, in *WriteRequest, opts ...grpc.CallOption) (*WriteResponse, error) + WriteHeader func(ctx context.Context, in *WriteHeaderRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + func NewWriterClient(cc grpc.ClientConnInterface) WriterClient + type WriterServer interface + Flush func(context.Context, *emptypb.Empty) (*emptypb.Empty, error) + Hijack func(context.Context, *emptypb.Empty) (*HijackResponse, error) + Write func(context.Context, *WriteRequest) (*WriteResponse, error) + WriteHeader func(context.Context, *WriteHeaderRequest) (*emptypb.Empty, error) v1.9.8-rc.9 Jun 28, 2023