Documentation ¶
Index ¶
Constants ¶
View Source
const MuxHeader = 6
MuxHeader is the header byte used for the TCP muxer.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents a client for connecting remotely to a copier service.
func (*Client) ShardReader ¶
func (c *Client) ShardReader(id uint64) (io.ReadCloser, error)
ShardReader returns a reader for streaming shard data. Returned ReadCloser must be closed by the caller.
type Service ¶
type Service struct { TSDBStore interface { Shard(id uint64) *tsdb.Shard } Listener net.Listener Logger *log.Logger // contains filtered or unexported fields }
Service manages the listener for the endpoint.
func (*Service) SetLogOutput ¶ added in v0.13.0
SetLogOutput sets the writer to which all logs are written. It must not be called after Open is called.
Click to show internal directories.
Click to hide internal directories.