aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-10 23:18:15 +0300
committerAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-10 23:18:15 +0300
commit94edf043563ed65318b376a8895734b438e135ad (patch)
treee0ee48390e1cd1e34c9b6229df82bfa88a013c7d /README.md
parent6bc6ce76db15c873cabec6280963ea60ec022ea0 (diff)
Новый путь
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 b0a18ea..e6c56ba 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.ru/jsonrpc2/rpc"
+ import "neonxp.ru/go/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.ru/jsonrpc2/transport"
+ import "neonxp.ru/go/jsonrpc2/transport"
...
s.Use(
rpc.WithTransport(&transport.TCP{Bind: ":3000"}),
@@ -91,9 +91,9 @@ package main
import (
"context"
- "go.neonxp.ru/jsonrpc2/rpc"
- "go.neonxp.ru/jsonrpc2/rpc/middleware"
- "go.neonxp.ru/jsonrpc2/transport"
+ "neonxp.ru/go/jsonrpc2/rpc"
+ "neonxp.ru/go/jsonrpc2/rpc/middleware"
+ "neonxp.ru/go/jsonrpc2/transport"
)
func main() {