Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is an io.Writer that talks over RPC.
func NewClient ¶
func NewClient(client gwriterproto.WriterClient) *Client
NewClient returns a writer connected to a remote writer
type Server ¶
type Server struct { gwriterproto.UnimplementedWriterServer // contains filtered or unexported fields }
Server is an http.Handler that is managed over RPC.
func (*Server) Write ¶
func (s *Server) Write(ctx context.Context, req *gwriterproto.WriteRequest) (*gwriterproto.WriteResponse, error)
Click to show internal directories.
Click to hide internal directories.