Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerHTTP ¶
type ServerHTTP struct {
// contains filtered or unexported fields
}
ServerHTTP represents the PbGrpc server components satifsying Receiver interface
func NewServer ¶
func NewServer( config *confighttp.ServerConfig, set *receiver.Settings, nextTraces consumer.Traces, obsreport *receiverhelper.ObsReport, telemetry *telemetry.Telemetry, ) *ServerHTTP
func (*ServerHTTP) HandleRequest ¶
func (s *ServerHTTP) HandleRequest(w http.ResponseWriter, rq *http.Request)
HandleRequest is a handler for http calls
func (*ServerHTTP) Shutdown ¶
func (s *ServerHTTP) Shutdown(ctx context.Context)
Shutdown stops http pb server
Click to show internal directories.
Click to hide internal directories.