added some comments on the server side

This commit is contained in:
2024-03-18 10:19:39 +01:00
parent b45107c94b
commit 3f836d0fa6
11 changed files with 28 additions and 98 deletions

View File

@@ -12,6 +12,10 @@ type Handler struct {
service *Service
}
/*
REST version of the JSON-RPC interface
*/
func (h *Handler) Exec() http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
defer r.Body.Close()