Handle processes a method request and returns the response. The context should be used for timeout/cancellation of database queries.
(ctx context.Context, method string, params ResolvedParams)
| 32 | // Handle processes a method request and returns the response. |
| 33 | // The context should be used for timeout/cancellation of database queries. |
| 34 | Handle(ctx context.Context, method string, params ResolvedParams) *FunctionResponse |
| 35 | |
| 36 | // Cleanup releases any resources held by the handler. |
| 37 | // Called when the collector is being stopped. |
no outgoing calls