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 writerpb.WriterClient) *Client
NewClient returns a writer connected to a remote writer
type Server ¶
type Server struct { writerpb.UnsafeWriterServer // 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 *writerpb.WriteRequest) (*writerpb.WriteResponse, error)
Click to show internal directories.
Click to hide internal directories.