Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Receiver ¶
type Receiver interface { plugin.Plugin // RegisterHandler register a handler to the server, such as to handle a gRPC or an HTTP request RegisterHandler(server interface{}) // Channel would be put a data when the receiver receives an APM data. Channel() <-chan *protocol.Event }
Receiver is a plugin interface, that defines new collectors.
func GetReceiver ¶
Get an initialized receiver plugin.
Click to show internal directories.
Click to hide internal directories.