fix endpoint

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2023-01-17 23:40:24 +03:00
parent dece47ae0e
commit 5ba7742619

View File

@ -212,6 +212,7 @@ func (h *httpServer) ServeHTTP(w http.ResponseWriter, r *http.Request) {
service: handler.sopts.Name, service: handler.sopts.Name,
contentType: ct, contentType: ct,
method: fmt.Sprintf("%s.%s", hldr.name, hldr.mtype.method.Name), method: fmt.Sprintf("%s.%s", hldr.name, hldr.mtype.method.Name),
endpoint: fmt.Sprintf("%s.%s", hldr.name, hldr.mtype.method.Name),
payload: argv.Interface(), payload: argv.Interface(),
header: md, header: md,
} }