diff options
author | hozan23 <hozan23@karyontech.net> | 2024-07-10 14:06:40 +0200 |
---|---|---|
committer | hozan23 <hozan23@karyontech.net> | 2024-07-10 14:06:40 +0200 |
commit | 87f0464d13891a88e2e5ebdf2fbeae49816d2199 (patch) | |
tree | 487c948294227f0cf65982261a32eae4b5bdd19a | |
parent | 6355144b8c3514cccc5c2ab4f7c4fd8e76a1a9fc (diff) |
-rw-r--r-- | README.md | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -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. |