aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAlexander NeonXP Kiryukhin <i@neonxp.ru>2024-04-28 00:20:27 +0300
committerAlexander NeonXP Kiryukhin <i@neonxp.ru>2024-04-28 00:20:27 +0300
commit6bc6ce76db15c873cabec6280963ea60ec022ea0 (patch)
tree4a2bf2f8e627b6113320808a18a9197c273dbc5e /README.md
parentf681f149ab1fb054cb4d4c8c712aa90678140d4c (diff)
Обновление имени пакетаv1.3.1v1.3.0
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index 2b8c394..b0a18ea 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ Go 1.18+ required
1. Create JSON-RPC server with options:
```go
- import "go.neonxp.dev/jsonrpc2/rpc"
+ import "go.neonxp.ru/jsonrpc2/rpc"
...
s := rpc.New(
rpc.WithTransport(&transport.HTTP{
@@ -32,7 +32,7 @@ Go 1.18+ required
2. Add required transport(s):
```go
- import "go.neonxp.dev/jsonrpc2/transport"
+ import "go.neonxp.ru/jsonrpc2/transport"
...
s.Use(
rpc.WithTransport(&transport.TCP{Bind: ":3000"}),
@@ -91,9 +91,9 @@ package main
import (
"context"
- "go.neonxp.dev/jsonrpc2/rpc"
- "go.neonxp.dev/jsonrpc2/rpc/middleware"
- "go.neonxp.dev/jsonrpc2/transport"
+ "go.neonxp.ru/jsonrpc2/rpc"
+ "go.neonxp.ru/jsonrpc2/rpc/middleware"
+ "go.neonxp.ru/jsonrpc2/transport"
)
func main() {