From 4ab1a5b21e782389e46d6c2f24fc6cc6dcc22200 Mon Sep 17 00:00:00 2001 From: Umputun Date: Wed, 31 Jul 2019 18:10:50 -0500 Subject: [PATCH] fix typo, add status --- README.md | 8 +++++++- client.go | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 22bf045..8fc80bf 100644 --- a/README.md +++ b/README.md @@ -90,4 +90,10 @@ if err = json.Unmarshal(*resp.Result, &message); err != nil { ``` * User should encode and decode json payloads on the application level, see provided [examples](https://github.com/go-pkgz/jrpc/tree/master/_example) -* `jrpc.Server` doesn't support https internally (yet). If used on exposed or non-private networks, should be proxied with something providing https termination (nginx and others). \ No newline at end of file +* `jrpc.Server` doesn't support https internally (yet). If used on exposed or non-private networks, should be proxied with something providing https termination (nginx and others). + +## Status + +The code was extracted from [remark42](https://github.com/umputun/remark) and still under development. Until v1.x released the + API & protocol may change. + \ No newline at end of file diff --git a/client.go b/client.go index 13dcff2..b9a4057 100644 --- a/client.go +++ b/client.go @@ -21,7 +21,7 @@ type Client struct { } // Call remote server with given method and arguments. -// Empty args will be ignored, single arg will be marshaled as-us and multiple args marshalled as []interface{}. +// Empty args will be ignored, single arg will be marshaled as-us and multiple args marshaled as []interface{}. // Returns Response and error. Note: Response has it's own Error field, but that onw controlled by server. // Returned error represent client-level errors, like failed http call, failed marshaling and so on. func (r *Client) Call(method string, args ...interface{}) (*Response, error) {