func (hf HandlerFunc) ServeJSONRPC(w ResponseWriter, r *Request) {
	hf(w, r)
}
ServeJSONRPC responds to JSON-RPC requests with hf(w, r).
package jsonrpc
import (
	"context"
	"encoding/json"
	"fmt"
	"net/http"
	"strings"
)
type Handler interface {
	ServeJSONRPC(w ResponseWriter, r *Request)
}
type HandlerFunc func(ResponseWriter, *Request)