mirror of
https://github.com/foomo/gotsrpc.git
synced 2025-10-16 12:35:35 +00:00
14 lines
306 B
Go
14 lines
306 B
Go
package gotsrpc
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
type MonitorFn func(w http.ResponseWriter, r *http.Request, args, rets []interface{}, stats *CallStats)
|
|
|
|
var Monitor MonitorFn = NoopMonitor
|
|
|
|
func NoopMonitor(w http.ResponseWriter, r *http.Request, args, rets []interface{}, stats *CallStats) {
|
|
// doing nothing
|
|
}
|