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{}) // RegisterSyncInvoker register the sync invoker, receive event and sync invoke to sender RegisterSyncInvoker(invoker module.SyncInvoker) // Channel would be put a data when the receiver receives an APM data. Channel() <-chan *v1.SniffData // SupportForwarders should provider all forwarder support current receiver SupportForwarders() []forwarder.Forwarder }
Receiver is a plugin interface, that defines new collectors.
func GetReceiver ¶
GetReceiver gets an initialized receiver plugin.
Click to show internal directories.
Click to hide internal directories.