From 87f0464d13891a88e2e5ebdf2fbeae49816d2199 Mon Sep 17 00:00:00 2001 From: hozan23 Date: Wed, 10 Jul 2024 14:06:40 +0200 Subject: update README.md --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index db4d038..41632ab 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,12 @@ karyon jsonrpc client, written in go. +## Install + +```sh + go get github.com/karyontech/karyon-go +``` + ## Example ```go @@ -16,10 +22,10 @@ config := rpc.RPCClientConfig{ } client, err := rpc.NewRPCClient(config) +defer client.Close() if err != nil { log.Fatal(err) } -defer client.Close() sub, err := client.Subscribe("RPCService.log_subscribe", nil) if err != nil { @@ -39,4 +45,12 @@ if err != nil { } ``` +## License + +This project is licensed under the GPL-3.0 License. See the +[LICENSE](https://github.com/karyontech/karyon-go/blob/master/LICENSE) file for +details. + +## Contributions +Contributions are welcome! Please open an issue or submit a pull request. -- cgit v1.2.3