Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrAlreadyStarted indicates an error on starting an already-started // receiver/processor/exporter. ErrAlreadyStarted = errors.New("already started") // ErrAlreadyStopped indicates an error on stoping an already-stopped // receiver/processor/exporter. ErrAlreadyStopped = errors.New("already stopped") // ErrNilNextConsumer indicates an error on nil next consumer. ErrNilNextConsumer = errors.New("nil nextConsumer") )
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Concurrency int // contains filtered or unexported fields }
func (*Client) Export ¶
func (c *Client) Export(batch core.ExportRequest)
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) HTTPHandlerFunc ¶
func (sr *Server) HTTPHandlerFunc(rw http.ResponseWriter, req *http.Request)
HTTPHandlerFunction returns an http.HandlerFunc that handles SAPM requests
Click to show internal directories.
Click to hide internal directories.